Interface ThrowableProjectile

All Superinterfaces:
CommandSender, Entity, Metadatable, Nameable, Permissible, PersistentDataHolder, Projectile, ServerOperator
All Known Subinterfaces:
Egg, EnderPearl, LingeringPotion, Snowball, SplashPotion, ThrownExpBottle, ThrownPotion, Trident

public interface ThrowableProjectile extends Projectile
  • Method Details

    • getItem

      @NotNull ItemStack getItem()
      Gets the ItemStack the thrown projectile will display.
      The thrown item display ItemStack
    • setItem

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