Class HungerConstants

java.lang.Object
net.minecraft.entity.player.HungerConstants

public class HungerConstants extends Object
Some constants on hunger values.
See Also:
HungerManager
Mappings:
Namespace Name
official bme
intermediary net/minecraft/class_6075
named net/minecraft/entity/player/HungerConstants
  • Field Details

    • FULL_FOOD_LEVEL

      public static final int FULL_FOOD_LEVEL
      The maximum food level (20) allowed in a hunger manager.
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official a Lbme;a:I
      intermediary field_30704 Lnet/minecraft/class_6075;field_30704:I
      named FULL_FOOD_LEVEL Lnet/minecraft/entity/player/HungerConstants;FULL_FOOD_LEVEL:I
    • field_30705

      public static final float field_30705
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official b Lbme;b:F
      intermediary field_30705 Lnet/minecraft/class_6075;field_30705:F
      named field_30705 Lnet/minecraft/entity/player/HungerConstants;field_30705:F
    • INITIAL_SATURATION_LEVEL

      public static final float INITIAL_SATURATION_LEVEL
      The initial saturation level (5.0f) for a newly created hunger manager.
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official c Lbme;c:F
      intermediary field_30706 Lnet/minecraft/class_6075;field_30706:F
      named INITIAL_SATURATION_LEVEL Lnet/minecraft/entity/player/HungerConstants;INITIAL_SATURATION_LEVEL:F
    • field_30707

      public static final float field_30707
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official d Lbme;d:F
      intermediary field_30707 Lnet/minecraft/class_6075;field_30707:F
      named field_30707 Lnet/minecraft/entity/player/HungerConstants;field_30707:F
    • EXHAUSION_UNIT

      public static final float EXHAUSION_UNIT
      A value 4.0f that when the exhausion reaches, the exhausion minuses itself by to reduce the saturation or food level.
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official e Lbme;e:F
      intermediary field_30708 Lnet/minecraft/class_6075;field_30708:F
      named EXHAUSION_UNIT Lnet/minecraft/entity/player/HungerConstants;EXHAUSION_UNIT:F
    • SLOW_HEALING_STARVING_INTERVAL

      public static final int SLOW_HEALING_STARVING_INTERVAL
      When the food tick is a multiple of 80, the hunger manager may perform slow healing or starving logic.
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official f Lbme;f:I
      intermediary field_30709 Lnet/minecraft/class_6075;field_30709:I
      named SLOW_HEALING_STARVING_INTERVAL Lnet/minecraft/entity/player/HungerConstants;SLOW_HEALING_STARVING_INTERVAL:I
    • FAST_HEALING_INTERVAL

      public static final int FAST_HEALING_INTERVAL
      When the food tick is a multiple of 10, the hunger manager may perform fast healing logic.
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official g Lbme;g:I
      intermediary field_30710 Lnet/minecraft/class_6075;field_30710:I
      named FAST_HEALING_INTERVAL Lnet/minecraft/entity/player/HungerConstants;FAST_HEALING_INTERVAL:I
    • SLOW_HEALING_FOOD_LEVEL

      public static final int SLOW_HEALING_FOOD_LEVEL
      The minimum food level (18) required for the slow-healing mechanism.
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official h Lbme;h:I
      intermediary field_30711 Lnet/minecraft/class_6075;field_30711:I
      named SLOW_HEALING_FOOD_LEVEL Lnet/minecraft/entity/player/HungerConstants;SLOW_HEALING_FOOD_LEVEL:I
    • EXHAUSION_PER_HITPOINT

      public static final int EXHAUSION_PER_HITPOINT
      The exhausion from healing each hitpoint (6), used for both fast and slow healing mechanisms.
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official i Lbme;i:I
      intermediary field_30712 Lnet/minecraft/class_6075;field_30712:I
      named EXHAUSION_PER_HITPOINT Lnet/minecraft/entity/player/HungerConstants;EXHAUSION_PER_HITPOINT:I
    • STARVING_FOOD_LEVEL

      public static final int STARVING_FOOD_LEVEL
      The maximum food level (0) permitted for the starving mechanism to run.
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official j Lbme;j:I
      intermediary field_30713 Lnet/minecraft/class_6075;field_30713:I
      named STARVING_FOOD_LEVEL Lnet/minecraft/entity/player/HungerConstants;STARVING_FOOD_LEVEL:I
    • field_30714

      public static final float field_30714
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official k Lbme;k:F
      intermediary field_30714 Lnet/minecraft/class_6075;field_30714:F
      named field_30714 Lnet/minecraft/entity/player/HungerConstants;field_30714:F
    • field_30715

      public static final float field_30715
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official l Lbme;l:F
      intermediary field_30715 Lnet/minecraft/class_6075;field_30715:F
      named field_30715 Lnet/minecraft/entity/player/HungerConstants;field_30715:F
    • field_30716

      public static final float field_30716
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official m Lbme;m:F
      intermediary field_30716 Lnet/minecraft/class_6075;field_30716:F
      named field_30716 Lnet/minecraft/entity/player/HungerConstants;field_30716:F
    • field_30717

      public static final float field_30717
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official n Lbme;n:F
      intermediary field_30717 Lnet/minecraft/class_6075;field_30717:F
      named field_30717 Lnet/minecraft/entity/player/HungerConstants;field_30717:F
    • field_30718

      public static final float field_30718
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official o Lbme;o:F
      intermediary field_30718 Lnet/minecraft/class_6075;field_30718:F
      named field_30718 Lnet/minecraft/entity/player/HungerConstants;field_30718:F
    • field_30719

      public static final float field_30719
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official p Lbme;p:F
      intermediary field_30719 Lnet/minecraft/class_6075;field_30719:F
      named field_30719 Lnet/minecraft/entity/player/HungerConstants;field_30719:F
    • field_30720

      public static final float field_30720
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official q Lbme;q:F
      intermediary field_30720 Lnet/minecraft/class_6075;field_30720:F
      named field_30720 Lnet/minecraft/entity/player/HungerConstants;field_30720:F
    • field_30721

      public static final float field_30721
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official r Lbme;r:F
      intermediary field_30721 Lnet/minecraft/class_6075;field_30721:F
      named field_30721 Lnet/minecraft/entity/player/HungerConstants;field_30721:F
    • field_30722

      public static final float field_30722
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official s Lbme;s:F
      intermediary field_30722 Lnet/minecraft/class_6075;field_30722:F
      named field_30722 Lnet/minecraft/entity/player/HungerConstants;field_30722:F
    • field_30723

      public static final float field_30723
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official t Lbme;t:F
      intermediary field_30723 Lnet/minecraft/class_6075;field_30723:F
      named field_30723 Lnet/minecraft/entity/player/HungerConstants;field_30723:F
    • field_30724

      public static final float field_30724
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official u Lbme;u:F
      intermediary field_30724 Lnet/minecraft/class_6075;field_30724:F
      named field_30724 Lnet/minecraft/entity/player/HungerConstants;field_30724:F
    • field_30725

      public static final float field_30725
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official v Lbme;v:F
      intermediary field_30725 Lnet/minecraft/class_6075;field_30725:F
      named field_30725 Lnet/minecraft/entity/player/HungerConstants;field_30725:F
    • field_30726

      public static final float field_30726
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official w Lbme;w:F
      intermediary field_30726 Lnet/minecraft/class_6075;field_30726:F
      named field_30726 Lnet/minecraft/entity/player/HungerConstants;field_30726:F
    • field_30727

      public static final float field_30727
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official x Lbme;x:F
      intermediary field_30727 Lnet/minecraft/class_6075;field_30727:F
      named field_30727 Lnet/minecraft/entity/player/HungerConstants;field_30727:F
    • field_30728

      public static final float field_30728
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official y Lbme;y:F
      intermediary field_30728 Lnet/minecraft/class_6075;field_30728:F
      named field_30728 Lnet/minecraft/entity/player/HungerConstants;field_30728:F
    • field_30729

      public static final float field_30729
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official z Lbme;z:F
      intermediary field_30729 Lnet/minecraft/class_6075;field_30729:F
      named field_30729 Lnet/minecraft/entity/player/HungerConstants;field_30729:F
  • Constructor Details

    • HungerConstants

      public HungerConstants()