yarn/mappings/net/minecraft/item/ItemFood.mapping

40 lines
948 B
Plaintext

CLASS agz net/minecraft/item/ItemFood
FIELD b hungerRestored I
FIELD c saturationRestored F
FIELD d wolfFood Z
FIELD e alwaysConsumable Z
FIELD f statusEffect Ltv;
FIELD n statusEffectChance F
METHOD <init> (IFZ)V
ARG 0 hungerRestored
ARG 1 saturationRestored
ARG 2 wolfFood
METHOD <init> (IZ)V
ARG 0 hungerRestored
ARG 1 wolfFood
METHOD a onConsumed (Lahf;Lali;Lacu;)V
ARG 0 stack
ARG 1 world
ARG 2 player
METHOD a onItemFinishedUsing (Lahf;Lali;Luk;)Lahf;
ARG 0 stack
ARG 1 world
ARG 2 user
METHOD a onRightClick (Lali;Lacu;Lsw;)Lsz;
ARG 0 world
ARG 1 player
ARG 2 hand
METHOD a setStatusEffect (Ltv;F)Lagz;
ARG 0 effect
ARG 1 chance
METHOD e getMaxUseTime (Lahf;)I
ARG 0 stack
METHOD f getUseAction (Lahf;)Lair;
ARG 0 stack
METHOD g isWolfFood ()Z
METHOD h setAlwaysConsumable ()Lagz;
METHOD h getHungerRestored (Lahf;)I
ARG 0 stack
METHOD i getSaturatationRestored (Lahf;)F
ARG 0 stack