Enum Class Oxidizable.OxidationLevel

java.lang.Object
java.lang.Enum<Oxidizable.OxidationLevel>
net.minecraft.block.Oxidizable.OxidationLevel
All Implemented Interfaces:
Serializable, Comparable<Oxidizable.OxidationLevel>, Constable, StringIdentifiable
Enclosing interface:
Oxidizable

public static enum Oxidizable.OxidationLevel extends Enum<Oxidizable.OxidationLevel> implements StringIdentifiable
Mappings:
Namespace Name
named net/minecraft/block/Oxidizable$OxidationLevel
intermediary net/minecraft/class_5955$class_5811
official dpe$a
  • Enum Constant Details

    • UNAFFECTED

      public static final Oxidizable.OxidationLevel UNAFFECTED
      Mappings:
      Namespace Name Mixin selector
      named UNAFFECTED Lnet/minecraft/block/Oxidizable$OxidationLevel;UNAFFECTED:Lnet/minecraft/block/Oxidizable$OxidationLevel;
      intermediary field_28704 Lnet/minecraft/class_5955$class_5811;field_28704:Lnet/minecraft/class_5955$class_5811;
      official a Ldpe$a;a:Ldpe$a;
    • EXPOSED

      public static final Oxidizable.OxidationLevel EXPOSED
      Mappings:
      Namespace Name Mixin selector
      named EXPOSED Lnet/minecraft/block/Oxidizable$OxidationLevel;EXPOSED:Lnet/minecraft/block/Oxidizable$OxidationLevel;
      intermediary field_28705 Lnet/minecraft/class_5955$class_5811;field_28705:Lnet/minecraft/class_5955$class_5811;
      official b Ldpe$a;b:Ldpe$a;
    • WEATHERED

      public static final Oxidizable.OxidationLevel WEATHERED
      Mappings:
      Namespace Name Mixin selector
      named WEATHERED Lnet/minecraft/block/Oxidizable$OxidationLevel;WEATHERED:Lnet/minecraft/block/Oxidizable$OxidationLevel;
      intermediary field_28706 Lnet/minecraft/class_5955$class_5811;field_28706:Lnet/minecraft/class_5955$class_5811;
      official c Ldpe$a;c:Ldpe$a;
    • OXIDIZED

      public static final Oxidizable.OxidationLevel OXIDIZED
      Mappings:
      Namespace Name Mixin selector
      named OXIDIZED Lnet/minecraft/block/Oxidizable$OxidationLevel;OXIDIZED:Lnet/minecraft/block/Oxidizable$OxidationLevel;
      intermediary field_28707 Lnet/minecraft/class_5955$class_5811;field_28707:Lnet/minecraft/class_5955$class_5811;
      official d Ldpe$a;d:Ldpe$a;
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<Oxidizable.OxidationLevel> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/block/Oxidizable$OxidationLevel;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_46493 Lnet/minecraft/class_5955$class_5811;field_46493:Lcom/mojang/serialization/Codec;
      official e Ldpe$a;e:Lcom/mojang/serialization/Codec;
    • id

      private final String id
      Mappings:
      Namespace Name Mixin selector
      named id Lnet/minecraft/block/Oxidizable$OxidationLevel;id:Ljava/lang/String;
      intermediary field_46494 Lnet/minecraft/class_5955$class_5811;field_46494:Ljava/lang/String;
      official f Ldpe$a;f:Ljava/lang/String;
  • Constructor Details

    • OxidationLevel

      private OxidationLevel(String id)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/block/Oxidizable$OxidationLevel;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_5955$class_5811;<init>(Ljava/lang/String;ILjava/lang/String;)V
      official <init> Ldpe$a;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static Oxidizable.OxidationLevel[] 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 Oxidizable.OxidationLevel 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
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      official c Lazk;c()Ljava/lang/String;