Package net.minecraft.entity.player
Class HungerConstants
java.lang.Object
net.minecraft.entity.player.HungerConstants
Some constants on hunger values.
- See Also:
- Mappings:
Namespace Name official bvmintermediary net/minecraft/class_6075named net/minecraft/entity/player/HungerConstants
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe exhaustion from healing each hitpoint (6), used for both fast and slow healing mechanisms.static final floatA value 4.0f that when the exhaustion reaches, the exhaustion minuses itself by to reduce the saturation or food level.static final intWhen the food tick is a multiple of 10, the hunger manager may perform fast healing logic.static final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final floatstatic final intThe maximum food level (20) allowed in a hunger manager.static final floatThe initial saturation level (5.0f) for a newly created hunger manager.static final intThe minimum food level (18) required for the slow-healing mechanism.static final intWhen the food tick is a multiple of 80, the hunger manager may perform slow healing or starving logic.static final intThe maximum food level (0) permitted for the starving mechanism to run. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
FULL_FOOD_LEVEL
public static final int FULL_FOOD_LEVELThe maximum food level (20) allowed in a hunger manager.- See Also:
- Mappings:
Namespace Name Mixin selector official aLbvm;a:Iintermediary field_30704Lnet/minecraft/class_6075;field_30704:Inamed FULL_FOOD_LEVELLnet/minecraft/entity/player/HungerConstants;FULL_FOOD_LEVEL:I
-
field_30705
public static final float field_30705- See Also:
- Mappings:
Namespace Name Mixin selector official bLbvm;b:Fintermediary field_30705Lnet/minecraft/class_6075;field_30705:Fnamed field_30705Lnet/minecraft/entity/player/HungerConstants;field_30705:F
-
INITIAL_SATURATION_LEVEL
public static final float INITIAL_SATURATION_LEVELThe initial saturation level (5.0f) for a newly created hunger manager.- See Also:
- Mappings:
Namespace Name Mixin selector official cLbvm;c:Fintermediary field_30706Lnet/minecraft/class_6075;field_30706:Fnamed INITIAL_SATURATION_LEVELLnet/minecraft/entity/player/HungerConstants;INITIAL_SATURATION_LEVEL:F
-
field_30707
public static final float field_30707- See Also:
- Mappings:
Namespace Name Mixin selector official dLbvm;d:Fintermediary field_30707Lnet/minecraft/class_6075;field_30707:Fnamed field_30707Lnet/minecraft/entity/player/HungerConstants;field_30707:F
-
EXHAUSTION_UNIT
public static final float EXHAUSTION_UNITA value 4.0f that when the exhaustion reaches, the exhaustion minuses itself by to reduce the saturation or food level.- See Also:
- Mappings:
Namespace Name Mixin selector official eLbvm;e:Fintermediary field_30708Lnet/minecraft/class_6075;field_30708:Fnamed EXHAUSTION_UNITLnet/minecraft/entity/player/HungerConstants;EXHAUSTION_UNIT:F
-
SLOW_HEALING_STARVING_INTERVAL
public static final int SLOW_HEALING_STARVING_INTERVALWhen the food tick is a multiple of 80, the hunger manager may perform slow healing or starving logic.- See Also:
- Mappings:
Namespace Name Mixin selector official fLbvm;f:Iintermediary field_30709Lnet/minecraft/class_6075;field_30709:Inamed SLOW_HEALING_STARVING_INTERVALLnet/minecraft/entity/player/HungerConstants;SLOW_HEALING_STARVING_INTERVAL:I
-
FAST_HEALING_INTERVAL
public static final int FAST_HEALING_INTERVALWhen the food tick is a multiple of 10, the hunger manager may perform fast healing logic.- See Also:
- Mappings:
Namespace Name Mixin selector official gLbvm;g:Iintermediary field_30710Lnet/minecraft/class_6075;field_30710:Inamed FAST_HEALING_INTERVALLnet/minecraft/entity/player/HungerConstants;FAST_HEALING_INTERVAL:I
-
SLOW_HEALING_FOOD_LEVEL
public static final int SLOW_HEALING_FOOD_LEVELThe minimum food level (18) required for the slow-healing mechanism.- See Also:
- Mappings:
Namespace Name Mixin selector official hLbvm;h:Iintermediary field_30711Lnet/minecraft/class_6075;field_30711:Inamed SLOW_HEALING_FOOD_LEVELLnet/minecraft/entity/player/HungerConstants;SLOW_HEALING_FOOD_LEVEL:I
-
EXHAUSTION_PER_HITPOINT
public static final int EXHAUSTION_PER_HITPOINTThe exhaustion from healing each hitpoint (6), used for both fast and slow healing mechanisms.- See Also:
- Mappings:
Namespace Name Mixin selector official iLbvm;i:Iintermediary field_30712Lnet/minecraft/class_6075;field_30712:Inamed EXHAUSTION_PER_HITPOINTLnet/minecraft/entity/player/HungerConstants;EXHAUSTION_PER_HITPOINT:I
-
STARVING_FOOD_LEVEL
public static final int STARVING_FOOD_LEVELThe maximum food level (0) permitted for the starving mechanism to run.- See Also:
- Mappings:
Namespace Name Mixin selector official jLbvm;j:Iintermediary field_30713Lnet/minecraft/class_6075;field_30713:Inamed STARVING_FOOD_LEVELLnet/minecraft/entity/player/HungerConstants;STARVING_FOOD_LEVEL:I
-
field_30714
public static final float field_30714- See Also:
- Mappings:
Namespace Name Mixin selector official kLbvm;k:Fintermediary field_30714Lnet/minecraft/class_6075;field_30714:Fnamed field_30714Lnet/minecraft/entity/player/HungerConstants;field_30714:F
-
field_30715
public static final float field_30715- See Also:
- Mappings:
Namespace Name Mixin selector official lLbvm;l:Fintermediary field_30715Lnet/minecraft/class_6075;field_30715:Fnamed field_30715Lnet/minecraft/entity/player/HungerConstants;field_30715:F
-
field_30716
public static final float field_30716- See Also:
- Mappings:
Namespace Name Mixin selector official mLbvm;m:Fintermediary field_30716Lnet/minecraft/class_6075;field_30716:Fnamed field_30716Lnet/minecraft/entity/player/HungerConstants;field_30716:F
-
field_30717
public static final float field_30717- See Also:
- Mappings:
Namespace Name Mixin selector official nLbvm;n:Fintermediary field_30717Lnet/minecraft/class_6075;field_30717:Fnamed field_30717Lnet/minecraft/entity/player/HungerConstants;field_30717:F
-
field_30718
public static final float field_30718- See Also:
- Mappings:
Namespace Name Mixin selector official oLbvm;o:Fintermediary field_30718Lnet/minecraft/class_6075;field_30718:Fnamed field_30718Lnet/minecraft/entity/player/HungerConstants;field_30718:F
-
field_30719
public static final float field_30719- See Also:
- Mappings:
Namespace Name Mixin selector official pLbvm;p:Fintermediary field_30719Lnet/minecraft/class_6075;field_30719:Fnamed field_30719Lnet/minecraft/entity/player/HungerConstants;field_30719:F
-
field_30720
public static final float field_30720- See Also:
- Mappings:
Namespace Name Mixin selector official qLbvm;q:Fintermediary field_30720Lnet/minecraft/class_6075;field_30720:Fnamed field_30720Lnet/minecraft/entity/player/HungerConstants;field_30720:F
-
field_30721
public static final float field_30721- See Also:
- Mappings:
Namespace Name Mixin selector official rLbvm;r:Fintermediary field_30721Lnet/minecraft/class_6075;field_30721:Fnamed field_30721Lnet/minecraft/entity/player/HungerConstants;field_30721:F
-
field_30722
public static final float field_30722- See Also:
- Mappings:
Namespace Name Mixin selector official sLbvm;s:Fintermediary field_30722Lnet/minecraft/class_6075;field_30722:Fnamed field_30722Lnet/minecraft/entity/player/HungerConstants;field_30722:F
-
field_30723
public static final float field_30723- See Also:
- Mappings:
Namespace Name Mixin selector official tLbvm;t:Fintermediary field_30723Lnet/minecraft/class_6075;field_30723:Fnamed field_30723Lnet/minecraft/entity/player/HungerConstants;field_30723:F
-
field_30724
public static final float field_30724- See Also:
- Mappings:
Namespace Name Mixin selector official uLbvm;u:Fintermediary field_30724Lnet/minecraft/class_6075;field_30724:Fnamed field_30724Lnet/minecraft/entity/player/HungerConstants;field_30724:F
-
field_30725
public static final float field_30725- See Also:
- Mappings:
Namespace Name Mixin selector official vLbvm;v:Fintermediary field_30725Lnet/minecraft/class_6075;field_30725:Fnamed field_30725Lnet/minecraft/entity/player/HungerConstants;field_30725:F
-
field_30726
public static final float field_30726- See Also:
- Mappings:
Namespace Name Mixin selector official wLbvm;w:Fintermediary field_30726Lnet/minecraft/class_6075;field_30726:Fnamed field_30726Lnet/minecraft/entity/player/HungerConstants;field_30726:F
-
field_30727
public static final float field_30727- See Also:
- Mappings:
Namespace Name Mixin selector official xLbvm;x:Fintermediary field_30727Lnet/minecraft/class_6075;field_30727:Fnamed field_30727Lnet/minecraft/entity/player/HungerConstants;field_30727:F
-
field_30728
public static final float field_30728- See Also:
- Mappings:
Namespace Name Mixin selector official yLbvm;y:Fintermediary field_30728Lnet/minecraft/class_6075;field_30728:Fnamed field_30728Lnet/minecraft/entity/player/HungerConstants;field_30728:F
-
field_30729
public static final float field_30729- See Also:
- Mappings:
Namespace Name Mixin selector official zLbvm;z:Fintermediary field_30729Lnet/minecraft/class_6075;field_30729:Fnamed field_30729Lnet/minecraft/entity/player/HungerConstants;field_30729:F
-
-
Constructor Details
-
HungerConstants
public HungerConstants()
-