Interface ThrowableProjectile

All Superinterfaces:
Audience, CommandSender, Entity, HoverEventSource<HoverEvent.ShowEntity>, Metadatable, Nameable, Permissible, PersistentDataHolder, Projectile, ServerOperator
All Known Subinterfaces:
Egg, EnderPearl, Snowball, ThrownExpBottle, Trident

public interface ThrowableProjectile extends Projectile
  • Method Details

    • getItem

      Gets the ItemStack the thrown projectile will display.
      The thrown item display ItemStack
    • setItem

      void setItem(@NotNull @NotNull ItemStack item)
      Sets the display ItemStack for the thrown projectile.
      item - ItemStack set to be displayed