History - net.minecraft.item.FoodItem

1.7.10

Names

acx

net.minecraft.class_1065

net.minecraft.item.FoodItem

net.minecraft.item.ItemFood

Fields

int: a, field_4198, eatingTime, itemUseDuration

int: b, field_4199, hungerPoints, healAmount

float: c, field_4202, saturation, saturationModifier

boolean: d, field_4200, canBeCooked, isWolfsFavoriteMeat

boolean: m, field_4201, alwaysEdible, alwaysEdible

int: n, field_4203, effect, potionId

int: o, field_4204, duration, potionDuration

int: p, field_4205, multiplier, potionAmplifier

float: q, field_4206, effectChance, potionEffectProbability

Constructors

(int, float, boolean)

(int, boolean)

Methods

ItemStack (ItemStack, World, PlayerEntity): b, method_3367, finishUsing, onItemUseFinish

void (ItemStack, World, PlayerEntity): c, method_3336, addEatEffects, onFoodEaten

int (ItemStack): d_, method_3350, getUseDuration, getMaxItemUseDuration

UseAction (ItemStack): d, method_3366, getUseAction, getItemUseAction

ItemStack (ItemStack, World, PlayerEntity): a, method_3358, startUsing, onItemRightClick

int (ItemStack): g, method_6360, getHungerPoints, getHealAmount

float (ItemStack): h, method_6361, getSaturation, getSaturationModifier

boolean (): i, method_3339, canBeCooked, isWolfsFavoriteMeat

FoodItem (int, int, int, float): a, method_3335, setStatusEffect, setPotionEffect

FoodItem (): j, method_3340, setAlwaysEdible, setAlwaysEdible