Package net.minecraft.world
Enum GameRules.Category
- All Implemented Interfaces:
Serializable
,Comparable<GameRules.Category>
,java.lang.constant.Constable
- Enclosing class:
- GameRules
public static enum GameRules.Category extends Enum<GameRules.Category>
- Mappings:
Namespace Name official btr$b
intermediary net/minecraft/class_1928$class_5198
named net/minecraft/world/GameRules$Category
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description String
getCategory()
static GameRules.Category
valueOf(String name)
Returns the enum constant of this type with the specified name.static GameRules.Category[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PLAYER
- Mappings:
Namespace Name Mixin selector official a
Lbtr$b;a:Lbtr$b;
intermediary field_24094
Lnet/minecraft/class_1928$class_5198;field_24094:Lnet/minecraft/class_1928$class_5198;
named PLAYER
Lnet/minecraft/world/GameRules$Category;PLAYER:Lnet/minecraft/world/GameRules$Category;
-
MOBS
- Mappings:
Namespace Name Mixin selector official b
Lbtr$b;b:Lbtr$b;
intermediary field_24095
Lnet/minecraft/class_1928$class_5198;field_24095:Lnet/minecraft/class_1928$class_5198;
named MOBS
Lnet/minecraft/world/GameRules$Category;MOBS:Lnet/minecraft/world/GameRules$Category;
-
SPAWNING
- Mappings:
Namespace Name Mixin selector official c
Lbtr$b;c:Lbtr$b;
intermediary field_24096
Lnet/minecraft/class_1928$class_5198;field_24096:Lnet/minecraft/class_1928$class_5198;
named SPAWNING
Lnet/minecraft/world/GameRules$Category;SPAWNING:Lnet/minecraft/world/GameRules$Category;
-
DROPS
- Mappings:
Namespace Name Mixin selector official d
Lbtr$b;d:Lbtr$b;
intermediary field_24097
Lnet/minecraft/class_1928$class_5198;field_24097:Lnet/minecraft/class_1928$class_5198;
named DROPS
Lnet/minecraft/world/GameRules$Category;DROPS:Lnet/minecraft/world/GameRules$Category;
-
UPDATES
- Mappings:
Namespace Name Mixin selector official e
Lbtr$b;e:Lbtr$b;
intermediary field_24098
Lnet/minecraft/class_1928$class_5198;field_24098:Lnet/minecraft/class_1928$class_5198;
named UPDATES
Lnet/minecraft/world/GameRules$Category;UPDATES:Lnet/minecraft/world/GameRules$Category;
-
CHAT
- Mappings:
Namespace Name Mixin selector official f
Lbtr$b;f:Lbtr$b;
intermediary field_24099
Lnet/minecraft/class_1928$class_5198;field_24099:Lnet/minecraft/class_1928$class_5198;
named CHAT
Lnet/minecraft/world/GameRules$Category;CHAT:Lnet/minecraft/world/GameRules$Category;
-
MISC
- Mappings:
Namespace Name Mixin selector official g
Lbtr$b;g:Lbtr$b;
intermediary field_24100
Lnet/minecraft/class_1928$class_5198;field_24100:Lnet/minecraft/class_1928$class_5198;
named MISC
Lnet/minecraft/world/GameRules$Category;MISC:Lnet/minecraft/world/GameRules$Category;
-
-
Field Details
-
category
- Mappings:
Namespace Name Mixin selector official h
Lbtr$b;h:Ljava/lang/String;
intermediary field_24101
Lnet/minecraft/class_1928$class_5198;field_24101:Ljava/lang/String;
named category
Lnet/minecraft/world/GameRules$Category;category:Ljava/lang/String;
-
-
Constructor Details
-
Category
- Mappings:
Namespace Name Mixin selector official <init>
Lbtr$b;<init>(Ljava/lang/String;ILjava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_1928$class_5198;<init>(Ljava/lang/String;ILjava/lang/String;)V
named <init>
Lnet/minecraft/world/GameRules$Category;<init>(Ljava/lang/String;ILjava/lang/String;)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
getCategory
- Mappings:
Namespace Name Mixin selector official a
Lbtr$b;a()Ljava/lang/String;
intermediary method_27328
Lnet/minecraft/class_1928$class_5198;method_27328()Ljava/lang/String;
named getCategory
Lnet/minecraft/world/GameRules$Category;getCategory()Ljava/lang/String;
-