Class Fireworks
java.lang.Object
org.geysermc.mcprotocollib.protocol.data.game.item.component.Fireworks
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintinthashCode()@NonNull StringtoString()@NonNull FireworkswithExplosions(List<Fireworks.FireworkExplosion> explosions) @NonNull FireworkswithFlightDuration(int flightDuration)
-
Constructor Details
-
Fireworks
-
-
Method Details
-
getFlightDuration
public int getFlightDuration() -
getExplosions
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
withFlightDuration
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withExplosions
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-