Package net.minecraft.item
Class StewItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.FoodItem
net.minecraft.item.StewItem
public class StewItem extends FoodItem
- Mappings:
Namespace Name official yuintermediary net/minecraft/class_2024named net/minecraft/item/StewItem
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.item.Item
Item.ToolMaterialType -
Field Summary
Fields inherited from class net.minecraft.item.FoodItem
eatingTimeFields inherited from class net.minecraft.item.Item
ATTACK_DAMAGE_MODIFIER_UUID, damageable, handheld, maxCount, RANDOM, REGISTRY -
Constructor Summary
Constructors Constructor Description StewItem(int hungerPoints) -
Method Summary
Modifier and Type Method Description ItemStackonFinishUse(ItemStack stack, World world, PlayerEntity player)Methods inherited from class net.minecraft.item.FoodItem
alwaysEdible, eat, getHungerPoints, getMaxUseTime, getSaturation, getUseAction, isCokkable, onStartUse, setStatusEffectMethods inherited from class net.minecraft.item.Item
appendItemStacks, appendTooltip, byRawId, canRepair, canUseOnEntity, fromBlock, getAttributeModifierMap, getDisplayColor, getDisplayName, getEnchantability, getFromId, getItemGroup, getItemstackTranslatedName, getMaxCount, getMaxDamage, getMeta, getMiningSpeedMultiplier, getRarity, getRawId, getRecipeRemainder, getStatusEffectString, getTranslationKey, getTranslationKey, hasEnchantmentGlint, hasStatusEffectString, hasSubTypes, inventoryTick, isDamageable, isEffectiveOn, isEnchantable, isFood, isHandheld, isNetworkSynced, isUnbreakable, onBlockBroken, onCraft, onEntityHit, onHit, onUseStopped, postProcessTag, registerBlockItem, setHandheld, setItemGroup, setMaxCount, setMaxDamage, setRecipeRemainder, setStatusEffectString, setTranslationKey, setUnbreakable, setup, shouldRotate, shouldSyncTagToClient, use
-
Constructor Details
-
StewItem
public StewItem(int hungerPoints)- Mappings:
Namespace Name Mixin selector official <init>Lyu;<init>(I)Vintermediary <init>Lnet/minecraft/class_2024;<init>(I)Vnamed <init>Lnet/minecraft/item/StewItem;<init>(I)V
-
-
Method Details
-
onFinishUse
- Overrides:
onFinishUsein classFoodItem- Mappings:
Namespace Name Mixin selector official bLzw;b(Lzx;Ladm;Lwn;)Lzx;intermediary method_8273Lnet/minecraft/class_2054;method_8273(Lnet/minecraft/class_2056;Lnet/minecraft/class_99;Lnet/minecraft/class_1963;)Lnet/minecraft/class_2056;named onFinishUseLnet/minecraft/item/Item;onFinishUse(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/item/ItemStack;
-