Class FireworkRocketMeta
java.lang.Object
net.minestom.server.entity.metadata.EntityMeta
net.minestom.server.entity.metadata.projectile.FireworkRocketMeta
- All Implemented Interfaces:
ProjectileMeta
-
Field Summary
Fields inherited from class net.minestom.server.entity.metadata.EntityMeta
metadata
-
Constructor Summary
ConstructorDescriptionFireworkRocketMeta
(@NotNull Entity entity, @NotNull MetadataHolder metadata) -
Method Summary
Modifier and TypeMethodDescription@NotNull ItemStack
@Nullable Entity
@Nullable Integer
boolean
void
setFireworkInfo
(@NotNull ItemStack value) void
setShooter
(@Nullable Entity value) void
setShooterEntityId
(@Nullable Integer value) void
setShotAtAngle
(boolean value) Methods inherited from class net.minestom.server.entity.metadata.EntityMeta
consumeEntity, getAirTicks, getCustomName, getPose, getTickFrozen, isCustomNameVisible, isFlyingWithElytra, isHasGlowingEffect, isHasNoGravity, isInvisible, isOnFire, isSilent, isSneaking, isSprinting, isSwimming, setAirTicks, setCustomName, setCustomNameVisible, setFlyingWithElytra, setHasGlowingEffect, setHasNoGravity, setInvisible, setNotifyAboutChanges, setOnFire, setPose, setSilent, setSneaking, setSprinting, setSwimming, setTickFrozen
-
Constructor Details
-
FireworkRocketMeta
public FireworkRocketMeta(@NotNull @NotNull Entity entity, @NotNull @NotNull MetadataHolder metadata)
-
-
Method Details
-
getFireworkInfo
-
setFireworkInfo
-
getShooterEntityId
-
setShooterEntityId
-
getShooter
- Specified by:
getShooter
in interfaceProjectileMeta
-
setShooter
- Specified by:
setShooter
in interfaceProjectileMeta
-
isShotAtAngle
public boolean isShotAtAngle() -
setShotAtAngle
public void setShotAtAngle(boolean value)
-