History - net.minecraft.world.food.FoodProperties

1.21.3

Names

cpr

csz

Fields

int: c, nutrition, comp_2491, nutrition, f_38723_

int: c, nutrition, comp_2491, nutrition

boolean: e, canAlwaysEat, comp_2493, canAlwaysEat, f_38726_

boolean: e, canAlwaysEat, comp_2493, canAlwaysEat

List<FoodProperties$PossibleEffect>: h, effects, comp_2495, effects, f_38728_

float: d, saturation, comp_2492, saturation, f_315723_

float: d, saturation, comp_2492, saturation

float: f, eatSeconds, comp_2494, eatSeconds, f_314902_

float: i, DEFAULT_EAT_SECONDS, field_49994, DEFAULT_EAT_SECONDS, f_314525_

com.mojang.serialization.Codec<FoodProperties>: a, DIRECT_CODEC, field_49992, CODEC, f_316600_

com.mojang.serialization.Codec<FoodProperties>: a, DIRECT_CODEC, field_49992, CODEC

StreamCodec<RegistryFriendlyByteBuf, FoodProperties>: b, DIRECT_STREAM_CODEC, field_49993, PACKET_CODEC, f_317144_

StreamCodec<RegistryFriendlyByteBuf, FoodProperties>: b, DIRECT_STREAM_CODEC, field_49993, PACKET_CODEC

Optional<ItemStack>: g, usingConvertsTo, comp_2794, usingConvertsTo, f_337181_

Constructors

(int, float, boolean, float, Optional<ItemStack>, List<FoodProperties$PossibleEffect>)

(int, float, boolean)

Methods

boolean (): d, canAlwaysEat, comp_2493, canAlwaysEat, f_38726_

boolean (): c, canAlwaysEat, comp_2493, canAlwaysEat

int (): a, eatDurationTicks, method_58399, getEatTicks, m_319390_

int (): b, nutrition, comp_2491, nutrition, f_38723_

int (): a, nutrition, comp_2491, nutrition

float (): c, saturation, comp_2492, saturation, f_315723_

float (): b, saturation, comp_2492, saturation

float (): e, eatSeconds, comp_2494, eatSeconds, f_314902_

List<FoodProperties$PossibleEffect> (): g, effects, comp_2495, effects, f_38728_

Optional<ItemStack> (): f, usingConvertsTo, comp_2794, usingConvertsTo, f_337181_

void (Level, LivingEntity, ItemStack, Consumable): a, onConsume, method_62831, onConsume

1.21.1

Names

Fields

Constructors

Methods

1.21

Names

cpt

cpr

Fields

List<FoodProperties$PossibleEffect>: g, effects, comp_2495, effects, f_38728_

List<FoodProperties$PossibleEffect>: h, effects, comp_2495, effects, f_38728_

float: h, DEFAULT_EAT_SECONDS, field_49994, DEFAULT_EAT_SECONDS, f_314525_

float: i, DEFAULT_EAT_SECONDS, field_49994, DEFAULT_EAT_SECONDS, f_314525_

Optional<ItemStack>: g, usingConvertsTo, comp_2794, usingConvertsTo, f_337181_

Constructors

(int, float, boolean, float, List<FoodProperties$PossibleEffect>)

(int, float, boolean, float, Optional<ItemStack>, List<FoodProperties$PossibleEffect>)

Methods

List<FoodProperties$PossibleEffect> (): f, effects, comp_2495, effects, f_38728_

List<FoodProperties$PossibleEffect> (): g, effects, comp_2495, effects, f_38728_

Optional<ItemStack> (): f, usingConvertsTo, comp_2794, usingConvertsTo, f_337181_

1.20.6

Names

chy

cpt

net.minecraft.item.FoodComponent

net.minecraft.component.type.FoodComponent

Fields

int: a, nutrition, field_18614, hunger, f_38723_

int: c, nutrition, comp_2491, nutrition, f_38723_

float: b, saturationModifier, field_18615, saturationModifier, f_38724_

boolean: c, isMeat, field_18616, meat, f_38725_

boolean: d, canAlwaysEat, field_18617, alwaysEdible, f_38726_

boolean: e, canAlwaysEat, comp_2493, canAlwaysEat, f_38726_

boolean: e, fastFood, field_18618, snack, f_38727_

List<com.mojang.datafixers.util.Pair<MobEffectInstance, Float>>: f, effects, field_18619, statusEffects, f_38728_

List<FoodProperties$PossibleEffect>: g, effects, comp_2495, effects, f_38728_

float: d, saturation, comp_2492, saturation, f_315723_

float: f, eatSeconds, comp_2494, eatSeconds, f_314902_

float: h, DEFAULT_EAT_SECONDS, field_49994, DEFAULT_EAT_SECONDS, f_314525_

com.mojang.serialization.Codec<FoodProperties>: a, DIRECT_CODEC, field_49992, CODEC, f_316600_

StreamCodec<RegistryFriendlyByteBuf, FoodProperties>: b, DIRECT_STREAM_CODEC, field_49993, PACKET_CODEC, f_317144_

Constructors

(int, float, boolean, boolean, boolean, List<com.mojang.datafixers.util.Pair<MobEffectInstance, Float>>)

(int, float, boolean, float, List<FoodProperties$PossibleEffect>)

Methods

int (): a, getNutrition, method_19230, getHunger, m_38744_

float (): b, getSaturationModifier, method_19231, getSaturationModifier, m_38745_

boolean (): c, isMeat, method_19232, isMeat, m_38746_

boolean (): d, canAlwaysEat, method_19233, isAlwaysEdible, m_38747_

boolean (): d, canAlwaysEat, comp_2493, canAlwaysEat, f_38726_

boolean (): e, isFastFood, method_19234, isSnack, m_38748_

List<com.mojang.datafixers.util.Pair<MobEffectInstance, Float>> (): f, getEffects, method_19235, getStatusEffects, m_38749_

int (): a, eatDurationTicks, method_58399, getEatTicks, m_319390_

int (): b, nutrition, comp_2491, nutrition, f_38723_

float (): c, saturation, comp_2492, saturation, f_315723_

float (): e, eatSeconds, comp_2494, eatSeconds, f_314902_

List<FoodProperties$PossibleEffect> (): f, effects, comp_2495, effects, f_38728_

1.20.4

Names

cei

chy

Fields

Constructors

Methods

1.20.2

Names

cbc

cei

Fields

Constructors

Methods

1.20.1

Names

cba

cbc

Fields

Constructors

Methods

1.19.4

Names

bzd

cba

Fields

Constructors

Methods

1.19.3

Names

bwj

bzd

Fields

Constructors

Methods

1.19.2

Names

Fields

Constructors

Methods

1.19.1

Names

bvm

bwj

Fields

Constructors

Methods

1.19

Names

bqm

bvm

Fields

Constructors

Methods

1.18.2

Names

bpu

bqm

Fields

Constructors

Methods

1.18.1

Names

Fields

Constructors

Methods

1.18

Names

bmh

bpu

Fields

Constructors

Methods

int (): a, getNutrition, method_19230, getHunger, m_38744_, getNutrition

int (): a, getNutrition, method_19230, getHunger, m_38744_

float (): b, getSaturationModifier, method_19231, getSaturationModifier, m_38745_, getSaturationModifier

float (): b, getSaturationModifier, method_19231, getSaturationModifier, m_38745_

1.17.1

Names

bmg

bmh

Fields

Constructors

Methods

1.17

Names

bhz

bmg

net.minecraft.item.Food

net.minecraft.src.C_1220_

net.minecraft.server.v1_16_R3.FoodInfo

net.minecraft.world.food.FoodInfo

Fields

int: a, nutrition, field_18614, hunger, field_221470_a

int: a, nutrition, field_18614, hunger, f_38723_

float: b, saturationModifier, field_18615, saturationModifier, field_221471_b

float: b, saturationModifier, field_18615, saturationModifier, f_38724_

boolean: c, isMeat, field_18616, meat, field_221472_c

boolean: c, isMeat, field_18616, meat, f_38725_

boolean: d, canAlwaysEat, field_18617, alwaysEdible, field_221473_d

boolean: d, canAlwaysEat, field_18617, alwaysEdible, f_38726_

boolean: e, fastFood, field_18618, snack, field_221474_e

boolean: e, fastFood, field_18618, snack, f_38727_

List<com.mojang.datafixers.util.Pair<MobEffectInstance, Float>>: f, effects, field_18619, statusEffects, field_221475_f

List<com.mojang.datafixers.util.Pair<MobEffectInstance, Float>>: f, effects, field_18619, statusEffects, f_38728_

Constructors

Methods

int (): a, getNutrition, method_19230, getHunger, func_221466_a, getNutrition

int (): a, getNutrition, method_19230, getHunger, m_38744_, getNutrition

float (): b, getSaturationModifier, method_19231, getSaturationModifier, func_221469_b, getSaturationModifier

float (): b, getSaturationModifier, method_19231, getSaturationModifier, m_38745_, getSaturationModifier

boolean (): c, isMeat, method_19232, isMeat, func_221467_c

boolean (): c, isMeat, method_19232, isMeat, m_38746_

boolean (): d, canAlwaysEat, method_19233, isAlwaysEdible, func_221468_d

boolean (): d, canAlwaysEat, method_19233, isAlwaysEdible, m_38747_

boolean (): e, isFastFood, method_19234, isSnack, func_221465_e

boolean (): e, isFastFood, method_19234, isSnack, m_38748_

List<com.mojang.datafixers.util.Pair<MobEffectInstance, Float>> (): f, getEffects, method_19235, getStatusEffects, func_221464_f

List<com.mojang.datafixers.util.Pair<MobEffectInstance, Float>> (): f, getEffects, method_19235, getStatusEffects, m_38749_

1.16.5

Names

Fields

Constructors

Methods

1.16.4

Names

bhw

bhz

net.minecraft.server.v1_16_R2.FoodInfo

net.minecraft.server.v1_16_R3.FoodInfo

Fields

Constructors

Methods

1.16.3

Names

Fields

Constructors

Methods

1.16.2

Names

bgf

bhw

net.minecraft.server.v1_16_R1.FoodInfo

net.minecraft.server.v1_16_R2.FoodInfo

Fields

Constructors

Methods

1.16.1

Names

bak

bgf

net.minecraft.server.v1_15_R1.FoodInfo

net.minecraft.server.v1_16_R1.FoodInfo

Fields

Constructors

Methods

1.15.2

Names

bah

bak

Fields

Constructors

Methods

1.15.1

Names

Fields

Constructors

Methods

1.15

Names

ayh

bah

net.minecraft.server.v1_14_R1.FoodInfo

net.minecraft.server.v1_15_R1.FoodInfo

Fields

Constructors

Methods

1.14.4

Names

ayc

ayh

net.minecraft.world.food.FoodProperties

Fields

int: a, field_18614, hunger, field_221470_a

int: a, nutrition, field_18614, hunger, field_221470_a

float: b, field_18615, saturationModifier, field_221471_b

float: b, saturationModifier, field_18615, saturationModifier, field_221471_b

boolean: c, field_18616, meat, field_221472_c

boolean: c, isMeat, field_18616, meat, field_221472_c

boolean: d, field_18617, alwaysEdible, field_221473_d

boolean: d, canAlwaysEat, field_18617, alwaysEdible, field_221473_d

boolean: e, field_18618, snack, field_221474_e

boolean: e, fastFood, field_18618, snack, field_221474_e

List<org.apache.commons.lang3.tuple.Pair<MobEffect, Float>>: f, field_18619, statusEffects, field_221475_f

List<org.apache.commons.lang3.tuple.Pair<MobEffectInstance, Float>>: f, effects, field_18619, statusEffects, field_221475_f

Constructors

Methods

int (): a, method_19230, getHunger, func_221466_a, getNutrition

int (): a, getNutrition, method_19230, getHunger, func_221466_a, getNutrition

float (): b, method_19231, getSaturationModifier, func_221469_b, getSaturationModifier

float (): b, getSaturationModifier, method_19231, getSaturationModifier, func_221469_b, getSaturationModifier

boolean (): c, method_19232, isMeat, func_221467_c

boolean (): c, isMeat, method_19232, isMeat, func_221467_c

boolean (): d, method_19233, isAlwaysEdible, func_221468_d

boolean (): d, canAlwaysEat, method_19233, isAlwaysEdible, func_221468_d

boolean (): e, method_19234, isSnack, func_221465_e

boolean (): e, isFastFood, method_19234, isSnack, func_221465_e

List<org.apache.commons.lang3.tuple.Pair<MobEffect, Float>> (): f, method_19235, getStatusEffects, func_221464_f

List<org.apache.commons.lang3.tuple.Pair<MobEffectInstance, Float>> (): f, getEffects, method_19235, getStatusEffects, func_221464_f

1.14.3

Names

axz

ayc

net.minecraft.item.FoodComponent

Fields

int: a, field_18614, field_221470_a

int: a, field_18614, hunger, field_221470_a

float: b, field_18615, field_221471_b

float: b, field_18615, saturationModifier, field_221471_b

boolean: c, field_18616, field_221472_c

boolean: c, field_18616, meat, field_221472_c

boolean: d, field_18617, field_221473_d

boolean: d, field_18617, alwaysEdible, field_221473_d

boolean: e, field_18618, field_221474_e

boolean: e, field_18618, snack, field_221474_e

List<org.apache.commons.lang3.tuple.Pair<MobEffect, Float>>: f, field_18619, field_221475_f

List<org.apache.commons.lang3.tuple.Pair<MobEffect, Float>>: f, field_18619, statusEffects, field_221475_f

Constructors

Methods

int (): a, method_19230, func_221466_a, getNutrition

int (): a, method_19230, getHunger, func_221466_a, getNutrition

float (): b, method_19231, func_221469_b, getSaturationModifier

float (): b, method_19231, getSaturationModifier, func_221469_b, getSaturationModifier

boolean (): c, method_19232, func_221467_c

boolean (): c, method_19232, isMeat, func_221467_c

boolean (): d, method_19233, func_221468_d

boolean (): d, method_19233, isAlwaysEdible, func_221468_d

boolean (): e, method_19234, func_221465_e

boolean (): e, method_19234, isSnack, func_221465_e

List<org.apache.commons.lang3.tuple.Pair<MobEffect, Float>> (): f, method_19235, func_221464_f

List<org.apache.commons.lang3.tuple.Pair<MobEffect, Float>> (): f, method_19235, getStatusEffects, func_221464_f

1.14.2

Names

Fields

Constructors

Methods

1.14.1

Names

axy

axz

Fields

Constructors

Methods

1.14

Names

axy

net.minecraft.class_4174

net.minecraft.item.Food

net.minecraft.server.v1_14_R1.FoodInfo

Fields

int: a, field_18614, field_221470_a

float: b, field_18615, field_221471_b

boolean: c, field_18616, field_221472_c

boolean: d, field_18617, field_221473_d

boolean: e, field_18618, field_221474_e

List<org.apache.commons.lang3.tuple.Pair<MobEffect, Float>>: f, field_18619, field_221475_f

Constructors

(int, float, boolean, boolean, boolean, List<org.apache.commons.lang3.tuple.Pair<MobEffect, Float>>)

Methods

int (): a, method_19230, func_221466_a, getNutrition

float (): b, method_19231, func_221469_b, getSaturationModifier

boolean (): c, method_19232, func_221467_c

boolean (): d, method_19233, func_221468_d

boolean (): e, method_19234, func_221465_e

List<org.apache.commons.lang3.tuple.Pair<MobEffect, Float>> (): f, method_19235, func_221464_f