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 bzb
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 Lbzb;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 Lbzb;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 Lbzb;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 Lbzb;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 Lbzb;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 Lbzb;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 Lbzb;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 Lbzb;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 Lbzb;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 Lbzb;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 Lbzb;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 Lbzb;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 Lbzb;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 Lbzb;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 Lbzb;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 Lbzb;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 Lbzb;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 Lbzb;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 Lbzb;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 Lbzb;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 Lbzb;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:
      Mappings:
      Namespace Name Mixin selector
      official v Lbzb;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:
      Mappings:
      Namespace Name Mixin selector
      official w Lbzb;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:
      Mappings:
      Namespace Name Mixin selector
      official x Lbzb;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:
      Mappings:
      Namespace Name Mixin selector
      official y Lbzb;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:
      Mappings:
      Namespace Name Mixin selector
      official z Lbzb;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()