Class FireworkRocketMeta
java.lang.Object
net.minestom.server.entity.metadata.EntityMeta
net.minestom.server.entity.metadata.projectile.FireworkRocketMeta
- All Implemented Interfaces:
ProjectileMeta
-
Field Summary
FieldsFields inherited from class net.minestom.server.entity.metadata.EntityMeta
metadata -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull ItemStack@Nullable EntitybooleanvoidsetFireworkInfo(@NotNull ItemStack value) voidsetShooter(@Nullable Entity value) voidsetShotAtAngle(boolean value) Methods inherited from class net.minestom.server.entity.metadata.EntityMeta
consumeEntity, getAirTicks, getCustomName, getMask, getMaskBit, getPose, getTickFrozen, isCustomNameVisible, isFlyingWithElytra, isHasGlowingEffect, isHasNoGravity, isInvisible, isOnFire, isSilent, isSneaking, isSprinting, isSwimming, setAirTicks, setCustomName, setCustomNameVisible, setFlyingWithElytra, setHasGlowingEffect, setHasNoGravity, setInvisible, setMask, setMaskBit, setNotifyAboutChanges, setOnFire, setPose, setSilent, setSneaking, setSprinting, setSwimming, setTickFrozen
-
Field Details
-
OFFSET
public static final byte OFFSET- See Also:
-
MAX_OFFSET
public static final byte MAX_OFFSET- See Also:
-
-
Constructor Details
-
FireworkRocketMeta
-
-
Method Details
-
getFireworkInfo
-
setFireworkInfo
-
getShooter
- Specified by:
getShooterin interfaceProjectileMeta
-
setShooter
- Specified by:
setShooterin interfaceProjectileMeta
-
isShotAtAngle
public boolean isShotAtAngle() -
setShotAtAngle
public void setShotAtAngle(boolean value)
-