Enum Class MaterialRules.SteepMaterialCondition

java.lang.Object
java.lang.Enum<MaterialRules.SteepMaterialCondition>
net.minecraft.world.gen.surfacebuilder.MaterialRules.SteepMaterialCondition
All Implemented Interfaces:
Serializable, Comparable<MaterialRules.SteepMaterialCondition>, Constable, Function<MaterialRules.MaterialRuleContext,MaterialRules.BooleanSupplier>, MaterialRules.MaterialCondition
Enclosing class:
MaterialRules

private static enum MaterialRules.SteepMaterialCondition extends Enum<MaterialRules.SteepMaterialCondition> implements MaterialRules.MaterialCondition
Mappings:
Namespace Name
official dbi$s
intermediary net/minecraft/class_6686$class_6712
named net/minecraft/world/gen/surfacebuilder/MaterialRules$SteepMaterialCondition
  • Enum Constant Details

    • INSTANCE

      public static final MaterialRules.SteepMaterialCondition INSTANCE
      Mappings:
      Namespace Name Mixin selector
      official a Ldbi$s;a:Ldbi$s;
      intermediary field_35254 Lnet/minecraft/class_6686$class_6712;field_35254:Lnet/minecraft/class_6686$class_6712;
      named INSTANCE Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$SteepMaterialCondition;INSTANCE:Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$SteepMaterialCondition;
  • Field Details

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      official c Ldbi$s;c:Lamc;
      intermediary field_35255 Lnet/minecraft/class_6686$class_6712;field_35255:Lnet/minecraft/class_7243;
      named CODEC Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$SteepMaterialCondition;CODEC:Lnet/minecraft/util/dynamic/CodecHolder;
  • Constructor Details

    • SteepMaterialCondition

      private SteepMaterialCondition()
  • Method Details

    • values

      public static MaterialRules.SteepMaterialCondition[] 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 MaterialRules.SteepMaterialCondition 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
    • codec

      public CodecHolder<? extends MaterialRules.MaterialCondition> codec()
      Specified by:
      codec in interface MaterialRules.MaterialCondition
      Mappings:
      Namespace Name Mixin selector
      official a Ldbi$f;a()Lamc;
      intermediary method_39064 Lnet/minecraft/class_6686$class_6693;method_39064()Lnet/minecraft/class_7243;
      named codec Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialCondition;codec()Lnet/minecraft/util/dynamic/CodecHolder;
    • apply

      Specified by:
      apply in interface Function<MaterialRules.MaterialRuleContext,MaterialRules.BooleanSupplier>
      Mappings:
      Namespace Name Mixin selector
      official a Ldbi$s;a(Ldbi$g;)Ldbi$e;
      intermediary method_39087 Lnet/minecraft/class_6686$class_6712;method_39087(Lnet/minecraft/class_6686$class_6694;)Lnet/minecraft/class_6686$class_6692;
      named apply Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$SteepMaterialCondition;apply(Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;)Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$BooleanSupplier;