Package net.minecraft.scoreboard
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 eef$aintermediary net/minecraft/class_274$class_275named net/minecraft/scoreboard/ScoreboardCriterion$RenderType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable
StringIdentifiable.Codec<E extends Enum<E> & StringIdentifiable> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringIdentifiable.Codec<ScoreboardCriterion.RenderType>private final StringFields inherited from interface net.minecraft.util.StringIdentifiable
field_38377 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.getName()Returns the enum constant of this class with the specified name.static ScoreboardCriterion.RenderType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INTEGER
- Mappings:
Namespace Name Mixin selector official aLeef$a;a:Leef$a;intermediary field_1472Lnet/minecraft/class_274$class_275;field_1472:Lnet/minecraft/class_274$class_275;named INTEGERLnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;INTEGER:Lnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;
-
HEARTS
- Mappings:
Namespace Name Mixin selector official bLeef$a;b:Leef$a;intermediary field_1471Lnet/minecraft/class_274$class_275;field_1471:Lnet/minecraft/class_274$class_275;named HEARTSLnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;HEARTS:Lnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official cLeef$a;c:Laqa$a;intermediary field_41683Lnet/minecraft/class_274$class_275;field_41683:Lnet/minecraft/class_3542$class_7292;named CODECLnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;CODEC:Lnet/minecraft/util/StringIdentifiable$Codec;
-
name
- Mappings:
Namespace Name Mixin selector official dLeef$a;d:Ljava/lang/String;intermediary field_1469Lnet/minecraft/class_274$class_275;field_1469:Ljava/lang/String;named nameLnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;name:Ljava/lang/String;
-
-
Constructor Details
-
RenderType
- Mappings:
Namespace Name Mixin selector official <init>Leef$a;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_274$class_275;<init>(Ljava/lang/String;ILjava/lang/String;)Vnamed <init>Lnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;<init>(Ljava/lang/String;ILjava/lang/String;)V
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getName
- Mappings:
Namespace Name Mixin selector official aLeef$a;a()Ljava/lang/String;intermediary method_1228Lnet/minecraft/class_274$class_275;method_1228()Ljava/lang/String;named getNameLnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;getName()Ljava/lang/String;
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asStringin interfaceStringIdentifiable- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector official cLaqa;c()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-
getType
- Mappings:
Namespace Name Mixin selector official aLeef$a;a(Ljava/lang/String;)Leef$a;intermediary method_1229Lnet/minecraft/class_274$class_275;method_1229(Ljava/lang/String;)Lnet/minecraft/class_274$class_275;named getTypeLnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;getType(Ljava/lang/String;)Lnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;
-