mirror of https://github.com/FabricMC/yarn.git
saturationRestored -> saturationModifier (#257)
* saturationRestored -> saturationModifier Saturation restored is calculated by (hungerRestored * saturationModifier * 2), so saturationRestored is an incorrect name for the field * Fix typo in saturation method names (extra at)
This commit is contained in:
parent
b093e2f65b
commit
c992cbd49c
|
@ -5,16 +5,16 @@ CLASS avh net/minecraft/item/FishItem
|
||||||
FIELD c TROPICAL_FISH Lavh$a;
|
FIELD c TROPICAL_FISH Lavh$a;
|
||||||
FIELD d PUFFERFISH Lavh$a;
|
FIELD d PUFFERFISH Lavh$a;
|
||||||
FIELD e hungerRestored I
|
FIELD e hungerRestored I
|
||||||
FIELD f saturationRestored F
|
FIELD f saturationModifier F
|
||||||
FIELD g hungerRestoredCooked I
|
FIELD g hungerRestoredCooked I
|
||||||
FIELD h saturationRestoredCooked F
|
FIELD h saturationModifierCooked F
|
||||||
FIELD i cookedVariant Z
|
FIELD i cookedVariant Z
|
||||||
METHOD a getHungerRestored ()I
|
METHOD a getHungerRestored ()I
|
||||||
METHOD a fromStack (Lavu;)Lavh$a;
|
METHOD a fromStack (Lavu;)Lavh$a;
|
||||||
ARG 0 stack
|
ARG 0 stack
|
||||||
METHOD b getSaturationRestored ()F
|
METHOD b getSaturationModifier ()F
|
||||||
METHOD c getHungerRestoredCooked ()I
|
METHOD c getHungerRestoredCooked ()I
|
||||||
METHOD d getSaturationRestoredCooked ()F
|
METHOD d getSaturationModifierCooked ()F
|
||||||
METHOD e hasCookedVariant ()Z
|
METHOD e hasCookedVariant ()Z
|
||||||
FIELD a cooked Z
|
FIELD a cooked Z
|
||||||
FIELD b type Lavh$a;
|
FIELD b type Lavh$a;
|
||||||
|
@ -25,4 +25,4 @@ CLASS avh net/minecraft/item/FishItem
|
||||||
ARG 1 stack
|
ARG 1 stack
|
||||||
ARG 2 world
|
ARG 2 world
|
||||||
METHOD e getHungerRestored (Lavu;)I
|
METHOD e getHungerRestored (Lavu;)I
|
||||||
METHOD f getSaturatationRestored (Lavu;)F
|
METHOD f getSaturationModifier (Lavu;)F
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
CLASS avk net/minecraft/item/FoodItem
|
CLASS avk net/minecraft/item/FoodItem
|
||||||
FIELD a hungerRestored I
|
FIELD a hungerRestored I
|
||||||
FIELD b saturationRestored F
|
FIELD b saturationModifier F
|
||||||
FIELD c wolfFood Z
|
FIELD c wolfFood Z
|
||||||
FIELD d alwaysConsumable Z
|
FIELD d alwaysConsumable Z
|
||||||
FIELD k statusEffect Lagd;
|
FIELD k statusEffect Lagd;
|
||||||
|
@ -20,4 +20,4 @@ CLASS avk net/minecraft/item/FoodItem
|
||||||
METHOD c getUseAction (Lavu;)Laxg;
|
METHOD c getUseAction (Lavu;)Laxg;
|
||||||
METHOD d isWolfFood ()Z
|
METHOD d isWolfFood ()Z
|
||||||
METHOD e getHungerRestored (Lavu;)I
|
METHOD e getHungerRestored (Lavu;)I
|
||||||
METHOD f getSaturatationRestored (Lavu;)F
|
METHOD f getSaturationModifier (Lavu;)F
|
||||||
|
|
Loading…
Reference in New Issue