Package net.glowstone.block.itemtype
Class ItemSnowball
java.lang.Object
net.glowstone.block.itemtype.ItemType
net.glowstone.block.itemtype.ItemProjectile
net.glowstone.block.itemtype.ItemSnowball
-
Nested Class Summary
Nested classes/interfaces inherited from class net.glowstone.block.itemtype.ItemType
ItemType.Context -
Field Summary
Fields inherited from class net.glowstone.block.itemtype.ItemProjectile
entityType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.entity.Projectileuse(GlowPlayer player, org.bukkit.inventory.ItemStack holding) Throws this projectile.Methods inherited from class net.glowstone.block.itemtype.ItemProjectile
getContext, rightClickAir, rightClickBlockMethods inherited from class net.glowstone.block.itemtype.ItemType
getMaterial, getMaterials, getMaxStackSize, getPlaceAs, setMaterial, setMaxStackSize, setPlaceAs, setPlaceAs, toString
-
Constructor Details
-
ItemSnowball
public ItemSnowball()
-
-
Method Details
-
use
Description copied from class:ItemProjectileThrows this projectile.- Specified by:
usein classItemProjectile- Parameters:
player- the player throwing the projectileholding- the projectile as an item- Returns:
- the projectile as an entity
-