Package net.glowstone.block.itemtype
Class ItemFishingRod
java.lang.Object
net.glowstone.block.itemtype.ItemType
net.glowstone.block.itemtype.ItemFishingRod
-
Nested Class Summary
Nested classes/interfaces inherited from class net.glowstone.block.itemtype.ItemType
ItemType.Context
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
rightClickAir
(GlowPlayer player, org.bukkit.inventory.ItemStack holding) Called when a player right-clicks in midair while holding this item.Methods inherited from class net.glowstone.block.itemtype.ItemType
getContext, getMaterial, getMaterials, getMaxStackSize, getPlaceAs, rightClickBlock, setMaterial, setMaxStackSize, setPlaceAs, setPlaceAs, toString
-
Constructor Details
-
ItemFishingRod
public ItemFishingRod()
-
-
Method Details
-
rightClickAir
Description copied from class:ItemType
Called when a player right-clicks in midair while holding this item. Also called by default if rightClickBlock is not overridden.- Overrides:
rightClickAir
in classItemType
- Parameters:
player
- The playerholding
- The ItemStack the player was holding
-