接口 ThrowableProjectile

所有超级接口:
CommandSender, Entity, Metadatable, Nameable, Permissible, PersistentDataHolder, Projectile, ServerOperator
所有已知子接口:
Egg, EnderPearl, LingeringPotion, Snowball, SplashPotion, ThrownExpBottle, ThrownPotion, Trident

public interface ThrowableProjectile extends Projectile
  • 方法详细资料

    • 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