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
-
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.entity.Projectile
use
(GlowPlayer player, org.bukkit.inventory.ItemStack holding) Throws this projectile.Methods inherited from class net.glowstone.block.itemtype.ItemProjectile
getContext, rightClickAir, rightClickBlock
Methods 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:ItemProjectile
Throws this projectile.- Specified by:
use
in classItemProjectile
- Parameters:
player
- the player throwing the projectileholding
- the projectile as an item- Returns:
- the projectile as an entity
-