Enum Class LevelType

java.lang.Object
java.lang.Enum<LevelType>
net.minecraft.server.world.LevelType
All Implemented Interfaces:
Serializable, Comparable<LevelType>, Constable

public enum LevelType extends Enum<LevelType>
Mappings:
Namespace Name
intermediary net/minecraft/class_3194
official ahy
named net/minecraft/server/world/LevelType
  • Enum Constant Details

    • INACCESSIBLE

      public static final LevelType INACCESSIBLE
      Mappings:
      Namespace Name Mixin selector
      intermediary field_19334 Lnet/minecraft/class_3194;field_19334:Lnet/minecraft/class_3194;
      official a Lahy;a:Lahy;
      named INACCESSIBLE Lnet/minecraft/server/world/LevelType;INACCESSIBLE:Lnet/minecraft/server/world/LevelType;
    • FULL

      public static final LevelType FULL
      Mappings:
      Namespace Name Mixin selector
      intermediary field_44855 Lnet/minecraft/class_3194;field_44855:Lnet/minecraft/class_3194;
      official b Lahy;b:Lahy;
      named FULL Lnet/minecraft/server/world/LevelType;FULL:Lnet/minecraft/server/world/LevelType;
    • BLOCK_TICKING

      public static final LevelType BLOCK_TICKING
      Mappings:
      Namespace Name Mixin selector
      intermediary field_44856 Lnet/minecraft/class_3194;field_44856:Lnet/minecraft/class_3194;
      official c Lahy;c:Lahy;
      named BLOCK_TICKING Lnet/minecraft/server/world/LevelType;BLOCK_TICKING:Lnet/minecraft/server/world/LevelType;
    • ENTITY_TICKING

      public static final LevelType ENTITY_TICKING
      Mappings:
      Namespace Name Mixin selector
      intermediary field_13877 Lnet/minecraft/class_3194;field_13877:Lnet/minecraft/class_3194;
      official d Lahy;d:Lahy;
      named ENTITY_TICKING Lnet/minecraft/server/world/LevelType;ENTITY_TICKING:Lnet/minecraft/server/world/LevelType;
  • Constructor Details

    • LevelType

      private LevelType()
  • Method Details

    • values

      public static LevelType[] 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 LevelType 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
    • isAfter

      public boolean isAfter(LevelType levelType)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_14014 Lnet/minecraft/class_3194;method_14014(Lnet/minecraft/class_3194;)Z
      official a Lahy;a(Lahy;)Z
      named isAfter Lnet/minecraft/server/world/LevelType;isAfter(Lnet/minecraft/server/world/LevelType;)Z