Package net.minecraft

Enum Class class_8108

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

public enum class_8108 extends Enum<class_8108> implements StringIdentifiable
Mappings:
Namespace Name
official bed
intermediary net/minecraft/class_8108
named net/minecraft/class_8108
  • Enum Constant Details

    • NEVER

      public static final class_8108 NEVER
      Mappings:
      Namespace Name Mixin selector
      official a Lbed;a:Lbed;
      intermediary field_42285 Lnet/minecraft/class_8108;field_42285:Lnet/minecraft/class_8108;
      named NEVER Lnet/minecraft/class_8108;NEVER:Lnet/minecraft/class_8108;
    • WHEN_CAUSED_BY_LIVING_NON_PLAYER

      public static final class_8108 WHEN_CAUSED_BY_LIVING_NON_PLAYER
      Mappings:
      Namespace Name Mixin selector
      official b Lbed;b:Lbed;
      intermediary field_42286 Lnet/minecraft/class_8108;field_42286:Lnet/minecraft/class_8108;
      named WHEN_CAUSED_BY_LIVING_NON_PLAYER Lnet/minecraft/class_8108;WHEN_CAUSED_BY_LIVING_NON_PLAYER:Lnet/minecraft/class_8108;
    • ALWAYS

      public static final class_8108 ALWAYS
      Mappings:
      Namespace Name Mixin selector
      official c Lbed;c:Lbed;
      intermediary field_42287 Lnet/minecraft/class_8108;field_42287:Lnet/minecraft/class_8108;
      named ALWAYS Lnet/minecraft/class_8108;ALWAYS:Lnet/minecraft/class_8108;
  • Field Details

    • field_42288

      public static final StringIdentifiable.Codec<class_8108> field_42288
      Mappings:
      Namespace Name Mixin selector
      official d Lbed;d:Lcom/mojang/serialization/Codec;
      intermediary field_42288 Lnet/minecraft/class_8108;field_42288:Lcom/mojang/serialization/Codec;
      named field_42288 Lnet/minecraft/class_8108;field_42288:Lcom/mojang/serialization/Codec;
    • field_42289

      private final String field_42289
      Mappings:
      Namespace Name Mixin selector
      official e Lbed;e:Ljava/lang/String;
      intermediary field_42289 Lnet/minecraft/class_8108;field_42289:Ljava/lang/String;
      named field_42289 Lnet/minecraft/class_8108;field_42289:Ljava/lang/String;
  • Constructor Details

    • class_8108

      private class_8108(String string)
  • Method Details

    • values

      public static class_8108[] 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 class_8108 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
    • asString

      public String asString()
      Returns the unique string representation of the enum, used for serialization.
      Specified by:
      asString in interface StringIdentifiable
      Returns:
      the unique string representation of the enum, used for serialization
      Mappings:
      Namespace Name Mixin selector
      official c Laps;c()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;