Enum Class WorldListWidget.WorldListType

java.lang.Object
java.lang.Enum<WorldListWidget.WorldListType>
net.minecraft.client.gui.screen.world.WorldListWidget.WorldListType
All Implemented Interfaces:
Serializable, Comparable<WorldListWidget.WorldListType>, Constable
Enclosing class:
WorldListWidget

@Environment(CLIENT) public static enum WorldListWidget.WorldListType extends Enum<WorldListWidget.WorldListType>
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/world/WorldListWidget$WorldListType
intermediary net/minecraft/class_528$class_11781
official gwr$c
  • Enum Constant Details

    • SINGLEPLAYER

      public static final WorldListWidget.WorldListType SINGLEPLAYER
      Mappings:
      Namespace Name Mixin selector
      named SINGLEPLAYER Lnet/minecraft/client/gui/screen/world/WorldListWidget$WorldListType;SINGLEPLAYER:Lnet/minecraft/client/gui/screen/world/WorldListWidget$WorldListType;
      intermediary field_62201 Lnet/minecraft/class_528$class_11781;field_62201:Lnet/minecraft/class_528$class_11781;
      official a Lgwr$c;a:Lgwr$c;
    • UPLOAD_WORLD

      public static final WorldListWidget.WorldListType UPLOAD_WORLD
      Mappings:
      Namespace Name Mixin selector
      named UPLOAD_WORLD Lnet/minecraft/client/gui/screen/world/WorldListWidget$WorldListType;UPLOAD_WORLD:Lnet/minecraft/client/gui/screen/world/WorldListWidget$WorldListType;
      intermediary field_62202 Lnet/minecraft/class_528$class_11781;field_62202:Lnet/minecraft/class_528$class_11781;
      official b Lgwr$c;b:Lgwr$c;
  • Constructor Details

    • WorldListType

      private WorldListType()
  • Method Details

    • values

      public static WorldListWidget.WorldListType[] 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 WorldListWidget.WorldListType 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