Package net.minecraft.world
Enum Class GameRules.Category
- All Implemented Interfaces:
Serializable,Comparable<GameRules.Category>,Constable
- Enclosing class:
GameRules
- Mappings:
Namespace Name named net/minecraft/world/GameRules$Categoryintermediary net/minecraft/class_1928$class_5198official dhd$b
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GameRules.CategoryReturns the enum constant of this class with the specified name.static GameRules.Category[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PLAYER
- Mappings:
Namespace Name Mixin selector named PLAYERLnet/minecraft/world/GameRules$Category;PLAYER:Lnet/minecraft/world/GameRules$Category;intermediary field_24094Lnet/minecraft/class_1928$class_5198;field_24094:Lnet/minecraft/class_1928$class_5198;official aLdhd$b;a:Ldhd$b;
-
MOBS
- Mappings:
Namespace Name Mixin selector named MOBSLnet/minecraft/world/GameRules$Category;MOBS:Lnet/minecraft/world/GameRules$Category;intermediary field_24095Lnet/minecraft/class_1928$class_5198;field_24095:Lnet/minecraft/class_1928$class_5198;official bLdhd$b;b:Ldhd$b;
-
SPAWNING
- Mappings:
Namespace Name Mixin selector named SPAWNINGLnet/minecraft/world/GameRules$Category;SPAWNING:Lnet/minecraft/world/GameRules$Category;intermediary field_24096Lnet/minecraft/class_1928$class_5198;field_24096:Lnet/minecraft/class_1928$class_5198;official cLdhd$b;c:Ldhd$b;
-
DROPS
- Mappings:
Namespace Name Mixin selector named DROPSLnet/minecraft/world/GameRules$Category;DROPS:Lnet/minecraft/world/GameRules$Category;intermediary field_24097Lnet/minecraft/class_1928$class_5198;field_24097:Lnet/minecraft/class_1928$class_5198;official dLdhd$b;d:Ldhd$b;
-
UPDATES
- Mappings:
Namespace Name Mixin selector named UPDATESLnet/minecraft/world/GameRules$Category;UPDATES:Lnet/minecraft/world/GameRules$Category;intermediary field_24098Lnet/minecraft/class_1928$class_5198;field_24098:Lnet/minecraft/class_1928$class_5198;official eLdhd$b;e:Ldhd$b;
-
CHAT
- Mappings:
Namespace Name Mixin selector named CHATLnet/minecraft/world/GameRules$Category;CHAT:Lnet/minecraft/world/GameRules$Category;intermediary field_24099Lnet/minecraft/class_1928$class_5198;field_24099:Lnet/minecraft/class_1928$class_5198;official fLdhd$b;f:Ldhd$b;
-
MISC
- Mappings:
Namespace Name Mixin selector named MISCLnet/minecraft/world/GameRules$Category;MISC:Lnet/minecraft/world/GameRules$Category;intermediary field_24100Lnet/minecraft/class_1928$class_5198;field_24100:Lnet/minecraft/class_1928$class_5198;official gLdhd$b;g:Ldhd$b;
-
-
Field Details
-
category
- Mappings:
Namespace Name Mixin selector named categoryLnet/minecraft/world/GameRules$Category;category:Ljava/lang/String;intermediary field_24101Lnet/minecraft/class_1928$class_5198;field_24101:Ljava/lang/String;official hLdhd$b;h:Ljava/lang/String;
-
-
Constructor Details
-
Category
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/world/GameRules$Category;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_1928$class_5198;<init>(Ljava/lang/String;ILjava/lang/String;)Vofficial <init>Ldhd$b;<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
-
getCategory
- Mappings:
Namespace Name Mixin selector named getCategoryLnet/minecraft/world/GameRules$Category;getCategory()Ljava/lang/String;intermediary method_27328Lnet/minecraft/class_1928$class_5198;method_27328()Ljava/lang/String;official aLdhd$b;a()Ljava/lang/String;
-