Package net.minecraft.item
Class FoodItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.FoodItem
- Direct Known Subclasses:
MushroomStewItem,StackableFoodItem
- Mappings:
Namespace Name intermediary net/minecraft/class_554glue class_617server pxclient ywnamed net/minecraft/item/FoodItem
-
Field Summary
FieldsFields inherited from class net.minecraft.item.Item
APPLE, ARROW, BED, BOAT, BONE, BOOK, BOW, BOWL, BREAD, BRICK, BUCKET, CAKE, CHAIN_BOOTS, CHAIN_CHESTPLATE, CHAIN_HELMET, CHAIN_LEGGINGS, CHEST_MINECART, CLAY, CLOCK, COAL, COMPASS, COOKED_FISH, COOKED_PORKCHOP, COOKIE, DIAMOND, DIAMOND_AXE, DIAMOND_BOOTS, DIAMOND_CHESTPLATE, DIAMOND_HELMET, DIAMOND_HOE, DIAMOND_LEGGINGS, DIAMOND_PICKAXE, DIAMOND_SHOVEL, DIAMOND_SWORD, DYE, EGG, FEATHER, FISHING_ROD, FLINT, FLINT_AND_STEEL, fuel, FURNACE_MINECART, GLOWSTONE_DUST, GOLD_INGOT, GOLDEN_APPLE, GOLDEN_AXE, GOLDEN_BOOTS, GOLDEN_CHESTPLATE, GOLDEN_HELMET, GOLDEN_HOE, GOLDEN_LEGGINGS, GOLDEN_PICKAXE, GOLDEN_SHOVEL, GOLDEN_SWORD, GUNPOWDER, handheld, id, IRON_AXE, IRON_BOOTS, IRON_CHESTPLATE, IRON_DOOR, IRON_HELMET, IRON_HOE, IRON_INGOT, IRON_LEGGINGS, IRON_PICKAXE, IRON_SHOVEL, IRON_SWORD, ITEMS, LAVA_BUCKET, LEATHER, LEATHER_BOOTS, LEATHER_CHESTPLATE, LEATHER_HELMET, LEATHER_LEGGINGS, MAP, maxCount, MILK_BUCKET, MINECART, MUSHROOM_STEW, PAINTING, PAPER, random, RAW_FISH, RAW_PORKCHOP, RECORD_CAT, RECORD_THIRTEEN, REDSTONE, REPEATER, SADDLE, SEEDS, SHEARS, SIGN, SLIMEBALL, SNOWBALL, STICK, STONE_HATCHET, STONE_HOE, STONE_PICKAXE, STONE_SHOVEL, STONE_SWORD, STRING, SUGAR, SUGAR_CANE, texturePosition, WATER_BUCKET, WHEAT, WOODEN_AXE, WOODEN_DOOR, WOODEN_HOE, WOODEN_PICKAXE, WOODEN_SHOVEL, WOODEN_SWORD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanuse(ItemStack stack, World world, PlayerEntity user) Methods inherited from class net.minecraft.item.Item
getCraftingReturnItem, getDamageOnEntity, getIsHandheld, getMaxCount, getMaxDamage, getMiningSpeedMultiplier, getTranslatedName, getTranslationKey, getTranslationKey, hasCraftingReturnItem, inventoryTick, isSuitableFor, method_439, method_440, method_441, method_445, method_449, method_458, method_462, method_465, method_470, onCraft, postHit, postMine, setCraftingReturnItem, setFuel, setHandheld, setMaxCount, setMaxDamage, setTexturePosition, setTranslationKey, useOnBlock, useOnEntity
-
Field Details
-
field_2325
private int field_2325- Mappings:
Namespace Name Mixin selector intermediary field_2325Lnet/minecraft/class_554;field_2325:Iglue field_2517Lclass_617;field_2517:Iserver aLpx;a:Iclient aLyw;a:Inamed field_2325Lnet/minecraft/item/FoodItem;field_2325:I
-
field_2326
private boolean field_2326- Mappings:
Namespace Name Mixin selector intermediary field_2326Lnet/minecraft/class_554;field_2326:Zglue field_2518Lclass_617;field_2518:Zserver bkLpx;bk:Zclient bkLyw;bk:Znamed field_2326Lnet/minecraft/item/FoodItem;field_2326:Z
-
-
Constructor Details
-
FoodItem
public FoodItem(int id, int int2, boolean bool) - Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_554;<init>(IIZ)Vglue <init>Lclass_617;<init>(IIZ)Vserver <init>Lpx;<init>(IIZ)Vclient <init>Lyw;<init>(IIZ)Vnamed <init>Lnet/minecraft/item/FoodItem;<init>(IIZ)V
-
-
Method Details
-
use
- Overrides:
usein classItem- Mappings:
Namespace Name Mixin selector intermediary method_451Lnet/minecraft/class_124;method_451(Lnet/minecraft/class_31;Lnet/minecraft/class_18;Lnet/minecraft/class_54;)Lnet/minecraft/class_31;glue method_68Lclass_166;method_68(Lclass_224;Lclass_129;Lclass_172;)Lclass_224;server aLej;a(Lfy;Ldj;Lem;)Lfy;client aLgm;a(Liz;Lfd;Lgs;)Liz;named useLnet/minecraft/item/Item;use(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/item/ItemStack;
-
method_1835
public int method_1835()- Mappings:
Namespace Name Mixin selector intermediary method_1835Lnet/minecraft/class_554;method_1835()Iglue method_2075Lclass_617;method_2075()Iserver kLpx;k()Iclient lLyw;l()Inamed method_1835Lnet/minecraft/item/FoodItem;method_1835()I
-
method_1836
public boolean method_1836()- Mappings:
Namespace Name Mixin selector intermediary method_1836Lnet/minecraft/class_554;method_1836()Zglue method_2076Lclass_617;method_2076()Zserver lLpx;l()Zclient mLyw;m()Znamed method_1836Lnet/minecraft/item/FoodItem;method_1836()Z
-