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
official ebf$a
intermediary net/minecraft/class_274$class_275
named net/minecraft/scoreboard/ScoreboardCriterion$RenderType
  • Enum Constant Details

    • INTEGER

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

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

    • CODEC

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

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

    • RenderType

      private RenderType(String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lebf$a;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_274$class_275;<init>(Ljava/lang/String;ILjava/lang/String;)V
      named <init> Lnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;<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
      official a Lebf$a;a()Ljava/lang/String;
      intermediary method_1228 Lnet/minecraft/class_274$class_275;method_1228()Ljava/lang/String;
      named getName Lnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;getName()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
      official c Laor;c()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
    • getType

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