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 ena$a
intermediary net/minecraft/class_274$class_275
named 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.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final StringIdentifiable.EnumCodec<ScoreboardCriterion.RenderType>
private final String
Fields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD
-
Constructor Summary
-
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 a
Lena$a;a:Lena$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
- Mappings:
Namespace Name Mixin selector official b
Lena$a;b:Lena$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
Lena$a;c:Lavk$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$EnumCodec;
-
name
- Mappings:
Namespace Name Mixin selector official d
Lena$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
- Mappings:
Namespace Name Mixin selector official <init>
Lena$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
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 a
Lena$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
Returns the unique string representation of the enum, used for serialization.- Specified by:
asString
in interfaceStringIdentifiable
- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector official c
Lavk;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
- Mappings:
Namespace Name Mixin selector official a
Lena$a;a(Ljava/lang/String;)Lena$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;
-