Class Fireworks.FireworkExplosion

java.lang.Object
org.geysermc.mcprotocollib.protocol.data.game.item.component.Fireworks.FireworkExplosion
Enclosing class:
Fireworks

public static class Fireworks.FireworkExplosion extends Object
  • Constructor Details

    • FireworkExplosion

      public FireworkExplosion(int shapeId, int[] colors, int[] fadeColors, boolean hasTrail, boolean hasTwinkle)
  • Method Details

    • getShapeId

      public int getShapeId()
    • getColors

      public int[] getColors()
    • getFadeColors

      public int[] getFadeColors()
    • isHasTrail

      public boolean isHasTrail()
    • isHasTwinkle

      public boolean isHasTwinkle()
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(@Nullable Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public @NonNull String toString()
      Overrides:
      toString in class Object