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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrightClickAir(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:ItemTypeCalled when a player right-clicks in midair while holding this item. Also called by default if rightClickBlock is not overridden.- Overrides:
rightClickAirin classItemType- Parameters:
player- The playerholding- The ItemStack the player was holding
-