Package net.glowstone.block.itemtype
Class ItemFishRaw
java.lang.Object
net.glowstone.block.itemtype.ItemType
net.glowstone.block.itemtype.ItemTimedUsage
net.glowstone.block.itemtype.ItemFood
net.glowstone.block.itemtype.ItemFishRaw
-
Nested Class Summary
Nested classes/interfaces inherited from class net.glowstone.block.itemtype.ItemType
ItemType.Context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaneat(GlowPlayer player, org.bukkit.inventory.ItemStack item) Player attempts to eat this food.protected intgetFoodLevel(org.bukkit.inventory.ItemStack stack) protected floatgetSaturation(org.bukkit.inventory.ItemStack stack) Methods inherited from class net.glowstone.block.itemtype.ItemTimedUsage
getContext, rightClickAir, rightClickBlockMethods inherited from class net.glowstone.block.itemtype.ItemType
getMaterial, getMaterials, getMaxStackSize, getPlaceAs, setMaterial, setMaxStackSize, setPlaceAs, setPlaceAs, toString
-
Constructor Details
-
ItemFishRaw
public ItemFishRaw()
-
-
Method Details
-
getSaturation
protected float getSaturation(org.bukkit.inventory.ItemStack stack) - Overrides:
getSaturationin classItemFood
-
getFoodLevel
protected int getFoodLevel(org.bukkit.inventory.ItemStack stack) - Overrides:
getFoodLevelin classItemFood
-
eat
Description copied from class:ItemFoodPlayer attempts to eat this food.
-