Class ItemSnowball


public class ItemSnowball extends ItemProjectile
  • Constructor Details

    • ItemSnowball

      public ItemSnowball()
  • Method Details

    • use

      public org.bukkit.entity.Projectile use(GlowPlayer player, org.bukkit.inventory.ItemStack holding)
      Description copied from class: ItemProjectile
      Throws this projectile.
      Specified by:
      use in class ItemProjectile
      Parameters:
      player - the player throwing the projectile
      holding - the projectile as an item
      Returns:
      the projectile as an entity