java.lang.Object
com.github.retrooper.packetevents.protocol.component.builtin.item.FireworkExplosion

public class FireworkExplosion extends Object
  • Constructor Details

  • Method Details

    • read

      public static FireworkExplosion read(PacketWrapper<?> wrapper)
    • write

      public static void write(PacketWrapper<?> wrapper, FireworkExplosion explosion)
    • getShape

      public FireworkExplosion.Shape getShape()
    • setShape

      public void setShape(FireworkExplosion.Shape shape)
    • addColor

      public void addColor(int color)
    • getColors

      public List<Integer> getColors()
    • setColors

      public void setColors(List<Integer> colors)
    • addFadeColor

      public void addFadeColor(int color)
    • getFadeColors

      public List<Integer> getFadeColors()
    • setFadeColors

      public void setFadeColors(List<Integer> fadeColors)
    • isHasTrail

      public boolean isHasTrail()
    • setHasTrail

      public void setHasTrail(boolean hasTrail)
    • isHasTwinkle

      public boolean isHasTwinkle()
    • setHasTwinkle

      public void setHasTwinkle(boolean hasTwinkle)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object