Enum Class InGameHud.HeartType

java.lang.Object
java.lang.Enum<InGameHud.HeartType>
net.minecraft.client.gui.hud.InGameHud.HeartType
All Implemented Interfaces:
Serializable, Comparable<InGameHud.HeartType>, Constable
Enclosing class:
InGameHud

@Environment(CLIENT) private static enum InGameHud.HeartType extends Enum<InGameHud.HeartType>
Mappings:
Namespace Name
named net/minecraft/client/gui/hud/InGameHud$HeartType
intermediary net/minecraft/class_329$class_6411
official fhy$b
  • Enum Constant Details

    • CONTAINER

      public static final InGameHud.HeartType CONTAINER
      Mappings:
      Namespace Name Mixin selector
      named CONTAINER Lnet/minecraft/client/gui/hud/InGameHud$HeartType;CONTAINER:Lnet/minecraft/client/gui/hud/InGameHud$HeartType;
      intermediary field_33944 Lnet/minecraft/class_329$class_6411;field_33944:Lnet/minecraft/class_329$class_6411;
      official a Lfhy$b;a:Lfhy$b;
    • NORMAL

      public static final InGameHud.HeartType NORMAL
      Mappings:
      Namespace Name Mixin selector
      named NORMAL Lnet/minecraft/client/gui/hud/InGameHud$HeartType;NORMAL:Lnet/minecraft/client/gui/hud/InGameHud$HeartType;
      intermediary field_33945 Lnet/minecraft/class_329$class_6411;field_33945:Lnet/minecraft/class_329$class_6411;
      official b Lfhy$b;b:Lfhy$b;
    • POISONED

      public static final InGameHud.HeartType POISONED
      Mappings:
      Namespace Name Mixin selector
      named POISONED Lnet/minecraft/client/gui/hud/InGameHud$HeartType;POISONED:Lnet/minecraft/client/gui/hud/InGameHud$HeartType;
      intermediary field_33946 Lnet/minecraft/class_329$class_6411;field_33946:Lnet/minecraft/class_329$class_6411;
      official c Lfhy$b;c:Lfhy$b;
    • WITHERED

      public static final InGameHud.HeartType WITHERED
      Mappings:
      Namespace Name Mixin selector
      named WITHERED Lnet/minecraft/client/gui/hud/InGameHud$HeartType;WITHERED:Lnet/minecraft/client/gui/hud/InGameHud$HeartType;
      intermediary field_33947 Lnet/minecraft/class_329$class_6411;field_33947:Lnet/minecraft/class_329$class_6411;
      official d Lfhy$b;d:Lfhy$b;
    • ABSORBING

      public static final InGameHud.HeartType ABSORBING
      Mappings:
      Namespace Name Mixin selector
      named ABSORBING Lnet/minecraft/client/gui/hud/InGameHud$HeartType;ABSORBING:Lnet/minecraft/client/gui/hud/InGameHud$HeartType;
      intermediary field_33948 Lnet/minecraft/class_329$class_6411;field_33948:Lnet/minecraft/class_329$class_6411;
      official e Lfhy$b;e:Lfhy$b;
    • FROZEN

      public static final InGameHud.HeartType FROZEN
      Mappings:
      Namespace Name Mixin selector
      named FROZEN Lnet/minecraft/client/gui/hud/InGameHud$HeartType;FROZEN:Lnet/minecraft/client/gui/hud/InGameHud$HeartType;
      intermediary field_33949 Lnet/minecraft/class_329$class_6411;field_33949:Lnet/minecraft/class_329$class_6411;
      official f Lfhy$b;f:Lfhy$b;
  • Field Details

    • fullTexture

      private final Identifier fullTexture
      Mappings:
      Namespace Name Mixin selector
      named fullTexture Lnet/minecraft/client/gui/hud/InGameHud$HeartType;fullTexture:Lnet/minecraft/util/Identifier;
      intermediary field_45329 Lnet/minecraft/class_329$class_6411;field_45329:Lnet/minecraft/class_2960;
      official g Lfhy$b;g:Lakr;
    • fullBlinkingTexture

      private final Identifier fullBlinkingTexture
      Mappings:
      Namespace Name Mixin selector
      named fullBlinkingTexture Lnet/minecraft/client/gui/hud/InGameHud$HeartType;fullBlinkingTexture:Lnet/minecraft/util/Identifier;
      intermediary field_45330 Lnet/minecraft/class_329$class_6411;field_45330:Lnet/minecraft/class_2960;
      official h Lfhy$b;h:Lakr;
    • halfTexture

      private final Identifier halfTexture
      Mappings:
      Namespace Name Mixin selector
      named halfTexture Lnet/minecraft/client/gui/hud/InGameHud$HeartType;halfTexture:Lnet/minecraft/util/Identifier;
      intermediary field_45331 Lnet/minecraft/class_329$class_6411;field_45331:Lnet/minecraft/class_2960;
      official i Lfhy$b;i:Lakr;
    • halfBlinkingTexture

      private final Identifier halfBlinkingTexture
      Mappings:
      Namespace Name Mixin selector
      named halfBlinkingTexture Lnet/minecraft/client/gui/hud/InGameHud$HeartType;halfBlinkingTexture:Lnet/minecraft/util/Identifier;
      intermediary field_45332 Lnet/minecraft/class_329$class_6411;field_45332:Lnet/minecraft/class_2960;
      official j Lfhy$b;j:Lakr;
    • hardcoreFullTexture

      private final Identifier hardcoreFullTexture
      Mappings:
      Namespace Name Mixin selector
      named hardcoreFullTexture Lnet/minecraft/client/gui/hud/InGameHud$HeartType;hardcoreFullTexture:Lnet/minecraft/util/Identifier;
      intermediary field_45333 Lnet/minecraft/class_329$class_6411;field_45333:Lnet/minecraft/class_2960;
      official k Lfhy$b;k:Lakr;
    • hardcoreFullBlinkingTexture

      private final Identifier hardcoreFullBlinkingTexture
      Mappings:
      Namespace Name Mixin selector
      named hardcoreFullBlinkingTexture Lnet/minecraft/client/gui/hud/InGameHud$HeartType;hardcoreFullBlinkingTexture:Lnet/minecraft/util/Identifier;
      intermediary field_45334 Lnet/minecraft/class_329$class_6411;field_45334:Lnet/minecraft/class_2960;
      official l Lfhy$b;l:Lakr;
    • hardcoreHalfTexture

      private final Identifier hardcoreHalfTexture
      Mappings:
      Namespace Name Mixin selector
      named hardcoreHalfTexture Lnet/minecraft/client/gui/hud/InGameHud$HeartType;hardcoreHalfTexture:Lnet/minecraft/util/Identifier;
      intermediary field_45335 Lnet/minecraft/class_329$class_6411;field_45335:Lnet/minecraft/class_2960;
      official m Lfhy$b;m:Lakr;
    • hardcoreHalfBlinkingTexture

      private final Identifier hardcoreHalfBlinkingTexture
      Mappings:
      Namespace Name Mixin selector
      named hardcoreHalfBlinkingTexture Lnet/minecraft/client/gui/hud/InGameHud$HeartType;hardcoreHalfBlinkingTexture:Lnet/minecraft/util/Identifier;
      intermediary field_45336 Lnet/minecraft/class_329$class_6411;field_45336:Lnet/minecraft/class_2960;
      official n Lfhy$b;n:Lakr;
  • Constructor Details

    • HeartType

      private HeartType(Identifier fullTexture, Identifier fullBlinkingTexture, Identifier halfTexture, Identifier halfBlinkingTexture, Identifier hardcoreFullTexture, Identifier hardcoreFullBlinkingTexture, Identifier hardcoreHalfTexture, Identifier hardcoreHalfBlinkingTexture)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/hud/InGameHud$HeartType;<init>(Ljava/lang/String;ILnet/minecraft/util/Identifier;Lnet/minecraft/util/Identifier;Lnet/minecraft/util/Identifier;Lnet/minecraft/util/Identifier;Lnet/minecraft/util/Identifier;Lnet/minecraft/util/Identifier;Lnet/minecraft/util/Identifier;Lnet/minecraft/util/Identifier;)V
      intermediary <init> Lnet/minecraft/class_329$class_6411;<init>(Ljava/lang/String;ILnet/minecraft/class_2960;Lnet/minecraft/class_2960;Lnet/minecraft/class_2960;Lnet/minecraft/class_2960;Lnet/minecraft/class_2960;Lnet/minecraft/class_2960;Lnet/minecraft/class_2960;Lnet/minecraft/class_2960;)V
      official <init> Lfhy$b;<init>(Ljava/lang/String;ILakr;Lakr;Lakr;Lakr;Lakr;Lakr;Lakr;Lakr;)V
  • Method Details

    • values

      public static InGameHud.HeartType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static InGameHud.HeartType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getTexture

      public Identifier getTexture(boolean hardcore, boolean half, boolean blinking)
      Mappings:
      Namespace Name Mixin selector
      named getTexture Lnet/minecraft/client/gui/hud/InGameHud$HeartType;getTexture(ZZZ)Lnet/minecraft/util/Identifier;
      intermediary method_52705 Lnet/minecraft/class_329$class_6411;method_52705(ZZZ)Lnet/minecraft/class_2960;
      official a Lfhy$b;a(ZZZ)Lakr;
    • fromPlayerState

      static InGameHud.HeartType fromPlayerState(PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      named fromPlayerState Lnet/minecraft/client/gui/hud/InGameHud$HeartType;fromPlayerState(Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/client/gui/hud/InGameHud$HeartType;
      intermediary method_37301 Lnet/minecraft/class_329$class_6411;method_37301(Lnet/minecraft/class_1657;)Lnet/minecraft/class_329$class_6411;
      official a Lfhy$b;a(Lcmx;)Lfhy$b;