Class FireworkRocketMeta

java.lang.Object
net.minestom.server.entity.metadata.EntityMeta
net.minestom.server.entity.metadata.projectile.FireworkRocketMeta
All Implemented Interfaces:
ProjectileMeta

public class FireworkRocketMeta extends EntityMeta implements ProjectileMeta
  • Constructor Details

    • FireworkRocketMeta

      public FireworkRocketMeta(@NotNull @NotNull Entity entity, @NotNull @NotNull MetadataHolder metadata)
  • Method Details

    • getFireworkInfo

      @NotNull public @NotNull ItemStack getFireworkInfo()
    • setFireworkInfo

      public void setFireworkInfo(@NotNull @NotNull ItemStack value)
    • getShooterEntityId

      @Nullable public @Nullable Integer getShooterEntityId()
    • setShooterEntityId

      @Internal public void setShooterEntityId(@Nullable @Nullable Integer value)
    • getShooter

      @Nullable public @Nullable Entity getShooter()
      Specified by:
      getShooter in interface ProjectileMeta
    • setShooter

      public void setShooter(@Nullable @Nullable Entity value)
      Specified by:
      setShooter in interface ProjectileMeta
    • isShotAtAngle

      public boolean isShotAtAngle()
    • setShotAtAngle

      public void setShotAtAngle(boolean value)