Enum Class CanSleepEnum

java.lang.Object
java.lang.Enum<CanSleepEnum>
net.minecraft.util.CanSleepEnum
All Implemented Interfaces:
Serializable, Comparable<CanSleepEnum>, Constable

public enum CanSleepEnum extends Enum<CanSleepEnum>
Mappings:
Namespace Name
official ahf
intermediary net/minecraft/class_989
named net/minecraft/util/CanSleepEnum
  • Enum Constant Details

    • OK

      public static final CanSleepEnum OK
      Mappings:
      Namespace Name Mixin selector
      official a Lahf;a:Lahf;
      intermediary field_4014 Lnet/minecraft/class_989;field_4014:Lnet/minecraft/class_989;
      named OK Lnet/minecraft/util/CanSleepEnum;OK:Lnet/minecraft/util/CanSleepEnum;
    • NOT_POSSIBLE_HERE

      public static final CanSleepEnum NOT_POSSIBLE_HERE
      Mappings:
      Namespace Name Mixin selector
      official b Lahf;b:Lahf;
      intermediary field_4015 Lnet/minecraft/class_989;field_4015:Lnet/minecraft/class_989;
      named NOT_POSSIBLE_HERE Lnet/minecraft/util/CanSleepEnum;NOT_POSSIBLE_HERE:Lnet/minecraft/util/CanSleepEnum;
    • NOT_POSSIBLE_NOW

      public static final CanSleepEnum NOT_POSSIBLE_NOW
      Mappings:
      Namespace Name Mixin selector
      official c Lahf;c:Lahf;
      intermediary field_4016 Lnet/minecraft/class_989;field_4016:Lnet/minecraft/class_989;
      named NOT_POSSIBLE_NOW Lnet/minecraft/util/CanSleepEnum;NOT_POSSIBLE_NOW:Lnet/minecraft/util/CanSleepEnum;
    • TOO_FAR_AWAY

      public static final CanSleepEnum TOO_FAR_AWAY
      Mappings:
      Namespace Name Mixin selector
      official d Lahf;d:Lahf;
      intermediary field_4017 Lnet/minecraft/class_989;field_4017:Lnet/minecraft/class_989;
      named TOO_FAR_AWAY Lnet/minecraft/util/CanSleepEnum;TOO_FAR_AWAY:Lnet/minecraft/util/CanSleepEnum;
    • OTHER_PROBLEM

      public static final CanSleepEnum OTHER_PROBLEM
      Mappings:
      Namespace Name Mixin selector
      official e Lahf;e:Lahf;
      intermediary field_4018 Lnet/minecraft/class_989;field_4018:Lnet/minecraft/class_989;
      named OTHER_PROBLEM Lnet/minecraft/util/CanSleepEnum;OTHER_PROBLEM:Lnet/minecraft/util/CanSleepEnum;
    • NOT_SAFE

      public static final CanSleepEnum NOT_SAFE
      Mappings:
      Namespace Name Mixin selector
      official f Lahf;f:Lahf;
      intermediary field_4019 Lnet/minecraft/class_989;field_4019:Lnet/minecraft/class_989;
      named NOT_SAFE Lnet/minecraft/util/CanSleepEnum;NOT_SAFE:Lnet/minecraft/util/CanSleepEnum;
  • Constructor Details

    • CanSleepEnum

      private CanSleepEnum()
  • Method Details

    • values

      public static CanSleepEnum[] 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 CanSleepEnum 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