Enum Class MaterialRules.HoleMaterialCondition
java.lang.Object
java.lang.Enum<MaterialRules.HoleMaterialCondition>
net.minecraft.world.gen.surfacebuilder.MaterialRules.HoleMaterialCondition
- All Implemented Interfaces:
Serializable
,Comparable<MaterialRules.HoleMaterialCondition>
,Constable
,Function<MaterialRules.MaterialRuleContext,
,MaterialRules.BooleanSupplier> MaterialRules.MaterialCondition
- Enclosing class:
MaterialRules
private static enum MaterialRules.HoleMaterialCondition
extends Enum<MaterialRules.HoleMaterialCondition>
implements MaterialRules.MaterialCondition
- Mappings:
Namespace Name official dal$h
intermediary net/minecraft/class_6686$class_6701
named net/minecraft/world/gen/surfacebuilder/MaterialRules$HoleMaterialCondition
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescription(package private) static final CodecHolder<MaterialRules.HoleMaterialCondition>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapply
(MaterialRules.MaterialRuleContext materialRuleContext) CodecHolder<? extends MaterialRules.MaterialCondition>
codec()
Returns the enum constant of this class with the specified name.static MaterialRules.HoleMaterialCondition[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
- Mappings:
Namespace Name Mixin selector official a
Ldal$h;a:Ldal$h;
intermediary field_35243
Lnet/minecraft/class_6686$class_6701;field_35243:Lnet/minecraft/class_6686$class_6701;
named INSTANCE
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$HoleMaterialCondition;INSTANCE:Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$HoleMaterialCondition;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official c
Ldal$h;c:Lalj;
intermediary field_35244
Lnet/minecraft/class_6686$class_6701;field_35244:Lnet/minecraft/class_7243;
named CODEC
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$HoleMaterialCondition;CODEC:Lnet/minecraft/util/dynamic/CodecHolder;
-
-
Constructor Details
-
HoleMaterialCondition
private HoleMaterialCondition()
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
codec
- Specified by:
codec
in interfaceMaterialRules.MaterialCondition
- Mappings:
Namespace Name Mixin selector official a
Ldal$f;a()Lalj;
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 interfaceFunction<MaterialRules.MaterialRuleContext,
MaterialRules.BooleanSupplier> - Mappings:
Namespace Name Mixin selector official a
Ldal$h;a(Ldal$g;)Ldal$e;
intermediary method_39079
Lnet/minecraft/class_6686$class_6701;method_39079(Lnet/minecraft/class_6686$class_6694;)Lnet/minecraft/class_6686$class_6692;
named apply
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$HoleMaterialCondition;apply(Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;)Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$BooleanSupplier;
-