Enum Class ScoreboardCriterion.RenderType

java.lang.Object
java.lang.Enum<ScoreboardCriterion.RenderType>
net.minecraft.scoreboard.ScoreboardCriterion.RenderType
All Implemented Interfaces:
Serializable, Comparable<ScoreboardCriterion.RenderType>, Constable, StringIdentifiable
Enclosing class:
ScoreboardCriterion

public static enum ScoreboardCriterion.RenderType extends Enum<ScoreboardCriterion.RenderType> implements StringIdentifiable
Mappings:
Namespace Name
named net/minecraft/scoreboard/ScoreboardCriterion$RenderType
intermediary net/minecraft/class_274$class_275
official exa$a
  • Enum Constant Details

    • INTEGER

      public static final ScoreboardCriterion.RenderType INTEGER
      Mappings:
      Namespace Name Mixin selector
      named INTEGER Lnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;INTEGER:Lnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;
      intermediary field_1472 Lnet/minecraft/class_274$class_275;field_1472:Lnet/minecraft/class_274$class_275;
      official a Lexa$a;a:Lexa$a;
    • HEARTS

      public static final ScoreboardCriterion.RenderType HEARTS
      Mappings:
      Namespace Name Mixin selector
      named HEARTS Lnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;HEARTS:Lnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;
      intermediary field_1471 Lnet/minecraft/class_274$class_275;field_1471:Lnet/minecraft/class_274$class_275;
      official b Lexa$a;b:Lexa$a;
  • Field Details

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;CODEC:Lnet/minecraft/util/StringIdentifiable$EnumCodec;
      intermediary field_41683 Lnet/minecraft/class_274$class_275;field_41683:Lnet/minecraft/class_3542$class_7292;
      official c Lexa$a;c:Lazu$a;
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;name:Ljava/lang/String;
      intermediary field_1469 Lnet/minecraft/class_274$class_275;field_1469:Ljava/lang/String;
      official d Lexa$a;d:Ljava/lang/String;
  • Constructor Details

    • RenderType

      private RenderType(String name)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_274$class_275;<init>(Ljava/lang/String;ILjava/lang/String;)V
      official <init> Lexa$a;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static ScoreboardCriterion.RenderType[] 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 ScoreboardCriterion.RenderType 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
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      named getName Lnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;getName()Ljava/lang/String;
      intermediary method_1228 Lnet/minecraft/class_274$class_275;method_1228()Ljava/lang/String;
      official a Lexa$a;a()Ljava/lang/String;
    • asString

      public String asString()
      Returns the unique string representation of the enum, used for serialization.
      Specified by:
      asString in interface StringIdentifiable
      Returns:
      the unique string representation of the enum, used for serialization
      Mappings:
      Namespace Name Mixin selector
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      official c Lazu;c()Ljava/lang/String;
    • getType

      public static ScoreboardCriterion.RenderType getType(String name)
      Mappings:
      Namespace Name Mixin selector
      named getType Lnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;getType(Ljava/lang/String;)Lnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;
      intermediary method_1229 Lnet/minecraft/class_274$class_275;method_1229(Ljava/lang/String;)Lnet/minecraft/class_274$class_275;
      official a Lexa$a;a(Ljava/lang/String;)Lexa$a;