Package net.minecraft.item
Class FishItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.FoodItem
net.minecraft.item.FishItem
- All Implemented Interfaces:
Itemable
- Mappings:
Namespace Name official assintermediary net/minecraft/class_1732named net/minecraft/item/FishItem
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.item.Item
Item.Settings -
Field Summary
FieldsFields inherited from class net.minecraft.item.Item
ATTACK_DAMAGE_MODIFIER_UUID, ATTACK_SPEED_MODIFIER, BLOCK_ITEMS, itemGroup, RANDOM -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voideat(ItemStack stack, World world, PlayerEntity player) intgetHungerPoints(ItemStack stack) floatgetSaturation(ItemStack stack) Methods inherited from class net.minecraft.item.FoodItem
alwaysEdible, getMaxUseTime, getUseAction, isCokkable, method_11371, method_13649, method_16065, method_3367Methods inherited from class net.minecraft.item.Item
addProperty, appendToItemGroup, appendTooltips, beforeBlockBreak, byRawId, canAddTo, canRepair, computeTranslationKey, fromBlock, getBlockBreakingSpeed, getDefaultStack, getEnchantability, getItem, getItemGroup, getMaxCount, getMaxDamage, getProperty, getRarity, getRawId, getRecipeRemainder, getTranslationKey, getTranslationKey, hasEnchantmentGlint, hasProperties, inventoryTick, isDamageable, isEnchantable, isFood, isNetworkSynced, method_16075, method_16080, method_3346, method_3353, method_3356, method_3359, method_3383, method_6326, onCraft, onEntityHit, onHit, postProcessNbt, registerBlockItem, setup, shouldSyncNbtToClient, useOnBlock
-
Field Details
-
cooked
private final boolean cooked- Mappings:
Namespace Name Mixin selector official aLass;a:Zintermediary field_6957Lnet/minecraft/class_1732;field_6957:Znamed cookedLnet/minecraft/item/FishItem;cooked:Z
-
field_17179
- Mappings:
Namespace Name Mixin selector official bLass;b:Lass$a;intermediary field_17179Lnet/minecraft/class_1732;field_17179:Lnet/minecraft/class_1732$class_1733;named field_17179Lnet/minecraft/item/FishItem;field_17179:Lnet/minecraft/item/FishItem$FishType;
-
-
Constructor Details
-
FishItem
-
-
Method Details
-
getHungerPoints
- Overrides:
getHungerPointsin classFoodItem- Mappings:
Namespace Name Mixin selector official eLasv;e(Late;)Iintermediary method_6360Lnet/minecraft/class_1065;method_6360(Lnet/minecraft/class_1071;)Inamed getHungerPointsLnet/minecraft/item/FoodItem;getHungerPoints(Lnet/minecraft/item/ItemStack;)I
-
getSaturation
- Overrides:
getSaturationin classFoodItem- Mappings:
Namespace Name Mixin selector official fLasv;f(Late;)Fintermediary method_6361Lnet/minecraft/class_1065;method_6361(Lnet/minecraft/class_1071;)Fnamed getSaturationLnet/minecraft/item/FoodItem;getSaturation(Lnet/minecraft/item/ItemStack;)F
-
eat
- Overrides:
eatin classFoodItem- Mappings:
Namespace Name Mixin selector official aLasv;a(Late;Laxy;Laog;)Vintermediary method_3336Lnet/minecraft/class_1065;method_3336(Lnet/minecraft/class_1071;Lnet/minecraft/class_1150;Lnet/minecraft/class_988;)Vnamed eatLnet/minecraft/item/FoodItem;eat(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;)V
-