Enum Class GameRules.Category

java.lang.Object
java.lang.Enum<GameRules.Category>
net.minecraft.world.GameRules.Category
All Implemented Interfaces:
Serializable, Comparable<GameRules.Category>, Constable
Enclosing class:
GameRules

public static enum GameRules.Category extends Enum<GameRules.Category>
Mappings:
Namespace Name
named net/minecraft/world/GameRules$Category
intermediary net/minecraft/class_1928$class_5198
official dhd$b
  • Enum Constant Details

    • PLAYER

      public static final GameRules.Category PLAYER
      Mappings:
      Namespace Name Mixin selector
      named PLAYER Lnet/minecraft/world/GameRules$Category;PLAYER:Lnet/minecraft/world/GameRules$Category;
      intermediary field_24094 Lnet/minecraft/class_1928$class_5198;field_24094:Lnet/minecraft/class_1928$class_5198;
      official a Ldhd$b;a:Ldhd$b;
    • MOBS

      public static final GameRules.Category MOBS
      Mappings:
      Namespace Name Mixin selector
      named MOBS Lnet/minecraft/world/GameRules$Category;MOBS:Lnet/minecraft/world/GameRules$Category;
      intermediary field_24095 Lnet/minecraft/class_1928$class_5198;field_24095:Lnet/minecraft/class_1928$class_5198;
      official b Ldhd$b;b:Ldhd$b;
    • SPAWNING

      public static final GameRules.Category SPAWNING
      Mappings:
      Namespace Name Mixin selector
      named SPAWNING Lnet/minecraft/world/GameRules$Category;SPAWNING:Lnet/minecraft/world/GameRules$Category;
      intermediary field_24096 Lnet/minecraft/class_1928$class_5198;field_24096:Lnet/minecraft/class_1928$class_5198;
      official c Ldhd$b;c:Ldhd$b;
    • DROPS

      public static final GameRules.Category DROPS
      Mappings:
      Namespace Name Mixin selector
      named DROPS Lnet/minecraft/world/GameRules$Category;DROPS:Lnet/minecraft/world/GameRules$Category;
      intermediary field_24097 Lnet/minecraft/class_1928$class_5198;field_24097:Lnet/minecraft/class_1928$class_5198;
      official d Ldhd$b;d:Ldhd$b;
    • UPDATES

      public static final GameRules.Category UPDATES
      Mappings:
      Namespace Name Mixin selector
      named UPDATES Lnet/minecraft/world/GameRules$Category;UPDATES:Lnet/minecraft/world/GameRules$Category;
      intermediary field_24098 Lnet/minecraft/class_1928$class_5198;field_24098:Lnet/minecraft/class_1928$class_5198;
      official e Ldhd$b;e:Ldhd$b;
    • CHAT

      public static final GameRules.Category CHAT
      Mappings:
      Namespace Name Mixin selector
      named CHAT Lnet/minecraft/world/GameRules$Category;CHAT:Lnet/minecraft/world/GameRules$Category;
      intermediary field_24099 Lnet/minecraft/class_1928$class_5198;field_24099:Lnet/minecraft/class_1928$class_5198;
      official f Ldhd$b;f:Ldhd$b;
    • MISC

      public static final GameRules.Category MISC
      Mappings:
      Namespace Name Mixin selector
      named MISC Lnet/minecraft/world/GameRules$Category;MISC:Lnet/minecraft/world/GameRules$Category;
      intermediary field_24100 Lnet/minecraft/class_1928$class_5198;field_24100:Lnet/minecraft/class_1928$class_5198;
      official g Ldhd$b;g:Ldhd$b;
  • Field Details

    • category

      private final String category
      Mappings:
      Namespace Name Mixin selector
      named category Lnet/minecraft/world/GameRules$Category;category:Ljava/lang/String;
      intermediary field_24101 Lnet/minecraft/class_1928$class_5198;field_24101:Ljava/lang/String;
      official h Ldhd$b;h:Ljava/lang/String;
  • Constructor Details

    • Category

      private Category(String category)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/GameRules$Category;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_1928$class_5198;<init>(Ljava/lang/String;ILjava/lang/String;)V
      official <init> Ldhd$b;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static GameRules.Category[] 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 GameRules.Category 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
    • getCategory

      public String getCategory()
      Mappings:
      Namespace Name Mixin selector
      named getCategory Lnet/minecraft/world/GameRules$Category;getCategory()Ljava/lang/String;
      intermediary method_27328 Lnet/minecraft/class_1928$class_5198;method_27328()Ljava/lang/String;
      official a Ldhd$b;a()Ljava/lang/String;