Class HungerConstants

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

public class HungerConstants extends Object
Some constants on hunger values.
See Also:
Mappings:
Namespace Name
official cau
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:
      Mappings:
      Namespace Name Mixin selector
      official a Lcau;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:
      Mappings:
      Namespace Name Mixin selector
      official b Lcau;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:
      Mappings:
      Namespace Name Mixin selector
      official c Lcau;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:
      Mappings:
      Namespace Name Mixin selector
      official d Lcau;d:F
      intermediary field_30707 Lnet/minecraft/class_6075;field_30707:F
      named field_30707 Lnet/minecraft/entity/player/HungerConstants;field_30707:F
    • EXHAUSTION_UNIT

      public static final float EXHAUSTION_UNIT
      A 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 e Lcau;e:F
      intermediary field_30708 Lnet/minecraft/class_6075;field_30708:F
      named EXHAUSTION_UNIT Lnet/minecraft/entity/player/HungerConstants;EXHAUSTION_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:
      Mappings:
      Namespace Name Mixin selector
      official f Lcau;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:
      Mappings:
      Namespace Name Mixin selector
      official g Lcau;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:
      Mappings:
      Namespace Name Mixin selector
      official h Lcau;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
    • EXHAUSTION_PER_HITPOINT

      public static final int EXHAUSTION_PER_HITPOINT
      The exhaustion from healing each hitpoint (6), used for both fast and slow healing mechanisms.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official i Lcau;i:I
      intermediary field_30712 Lnet/minecraft/class_6075;field_30712:I
      named EXHAUSTION_PER_HITPOINT Lnet/minecraft/entity/player/HungerConstants;EXHAUSTION_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:
      Mappings:
      Namespace Name Mixin selector
      official j Lcau;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:
      Mappings:
      Namespace Name Mixin selector
      official k Lcau;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:
      Mappings:
      Namespace Name Mixin selector
      official l Lcau;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:
      Mappings:
      Namespace Name Mixin selector
      official m Lcau;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:
      Mappings:
      Namespace Name Mixin selector
      official n Lcau;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:
      Mappings:
      Namespace Name Mixin selector
      official o Lcau;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:
      Mappings:
      Namespace Name Mixin selector
      official p Lcau;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:
      Mappings:
      Namespace Name Mixin selector
      official q Lcau;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:
      Mappings:
      Namespace Name Mixin selector
      official r Lcau;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:
      Mappings:
      Namespace Name Mixin selector
      official s Lcau;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:
      Mappings:
      Namespace Name Mixin selector
      official t Lcau;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:
      Mappings:
      Namespace Name Mixin selector
      official u Lcau;u:F
      intermediary field_30724 Lnet/minecraft/class_6075;field_30724:F
      named field_30724 Lnet/minecraft/entity/player/HungerConstants;field_30724:F
    • field_30726

      public static final float field_30726
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official v Lcau;v: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:
      Mappings:
      Namespace Name Mixin selector
      official w Lcau;w: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:
      Mappings:
      Namespace Name Mixin selector
      official x Lcau;x: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:
      Mappings:
      Namespace Name Mixin selector
      official y Lcau;y: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()