public class ItemSnowball extends ItemProjectile
ItemType.Context
entityType
Constructor and Description |
---|
ItemSnowball() |
Modifier and Type | Method and Description |
---|---|
org.bukkit.entity.Projectile |
use(GlowPlayer player,
org.bukkit.inventory.ItemStack holding)
Throws this projectile.
|
getContext, rightClickAir, rightClickBlock
getId, getMaterial, getMaxStackSize, getPlaceAs, setId, setMaterial, setMaxStackSize, setPlaceAs, setPlaceAs, toString
public org.bukkit.entity.Projectile use(GlowPlayer player, org.bukkit.inventory.ItemStack holding)
ItemProjectile
use
in class ItemProjectile
player
- the player throwing the projectileholding
- the projectile as an itemCopyright © 2021. All rights reserved.