Enum Class MaterialRules.SurfaceMaterialCondition
java.lang.Object
java.lang.Enum<MaterialRules.SurfaceMaterialCondition>
net.minecraft.world.gen.surfacebuilder.MaterialRules.SurfaceMaterialCondition
- All Implemented Interfaces:
Serializable
,Comparable<MaterialRules.SurfaceMaterialCondition>
,Constable
,Function<MaterialRules.MaterialRuleContext,
,MaterialRules.BooleanSupplier> MaterialRules.MaterialCondition
- Enclosing class:
- MaterialRules
private static enum MaterialRules.SurfaceMaterialCondition
extends Enum<MaterialRules.SurfaceMaterialCondition>
implements MaterialRules.MaterialCondition
- Mappings:
Namespace Name official ctm$a
intermediary net/minecraft/class_6686$class_6770
named net/minecraft/world/gen/surfacebuilder/MaterialRules$SurfaceMaterialCondition
-
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 com.mojang.serialization.Codec<MaterialRules.SurfaceMaterialCondition>
Fields inherited from interface net.minecraft.world.gen.surfacebuilder.MaterialRules.MaterialCondition
CODEC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapply
(MaterialRules.MaterialRuleContext materialRuleContext) com.mojang.serialization.Codec<? extends MaterialRules.MaterialCondition>
codec()
Returns the enum constant of this class with the specified name.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
Lctm$a;a:Lctm$a;
intermediary field_35600
Lnet/minecraft/class_6686$class_6770;field_35600:Lnet/minecraft/class_6686$class_6770;
named INSTANCE
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$SurfaceMaterialCondition;INSTANCE:Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$SurfaceMaterialCondition;
-
-
Field Details
-
CONDITION_CODEC
- Mappings:
Namespace Name Mixin selector official c
Lctm$a;c:Lcom/mojang/serialization/Codec;
intermediary field_35601
Lnet/minecraft/class_6686$class_6770;field_35601:Lcom/mojang/serialization/Codec;
named CONDITION_CODEC
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$SurfaceMaterialCondition;CONDITION_CODEC:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
SurfaceMaterialCondition
private SurfaceMaterialCondition()
-
-
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
Lctm$f;a()Lcom/mojang/serialization/Codec;
intermediary method_39064
Lnet/minecraft/class_6686$class_6693;method_39064()Lcom/mojang/serialization/Codec;
named codec
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialCondition;codec()Lcom/mojang/serialization/Codec;
-
apply
- Specified by:
apply
in interfaceFunction<MaterialRules.MaterialRuleContext,
MaterialRules.BooleanSupplier> - Mappings:
Namespace Name Mixin selector official a
Lctm$a;a(Lctm$g;)Lctm$e;
intermediary method_39474
Lnet/minecraft/class_6686$class_6770;method_39474(Lnet/minecraft/class_6686$class_6694;)Lnet/minecraft/class_6686$class_6692;
named apply
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$SurfaceMaterialCondition;apply(Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;)Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$BooleanSupplier;
-