Class FireworkRocketMeta

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

public class FireworkRocketMeta extends EntityMeta implements ProjectileMeta
  • Field Details

  • Constructor Details

    • FireworkRocketMeta

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

    • getFireworkInfo

      @NotNull public @NotNull ItemStack getFireworkInfo()
    • setFireworkInfo

      public void setFireworkInfo(@NotNull @NotNull ItemStack 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)