Enum Class MaterialRules.TerracottaBandsMaterialRule
java.lang.Object
java.lang.Enum<MaterialRules.TerracottaBandsMaterialRule>
net.minecraft.world.gen.surfacebuilder.MaterialRules.TerracottaBandsMaterialRule
- All Implemented Interfaces:
Serializable
,Comparable<MaterialRules.TerracottaBandsMaterialRule>
,Constable
,Function<MaterialRules.MaterialRuleContext,
,MaterialRules.BlockStateRule> MaterialRules.MaterialRule
- Enclosing class:
MaterialRules
private static enum MaterialRules.TerracottaBandsMaterialRule
extends Enum<MaterialRules.TerracottaBandsMaterialRule>
implements MaterialRules.MaterialRule
- Mappings:
Namespace Name official dbi$b
intermediary net/minecraft/class_6686$class_6687
named net/minecraft/world/gen/surfacebuilder/MaterialRules$TerracottaBandsMaterialRule
-
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.TerracottaBandsMaterialRule>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapply
(MaterialRules.MaterialRuleContext materialRuleContext) CodecHolder<? extends MaterialRules.MaterialRule>
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
Ldbi$b;a:Ldbi$b;
intermediary field_35225
Lnet/minecraft/class_6686$class_6687;field_35225:Lnet/minecraft/class_6686$class_6687;
named INSTANCE
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$TerracottaBandsMaterialRule;INSTANCE:Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$TerracottaBandsMaterialRule;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official c
Ldbi$b;c:Lamc;
intermediary field_35226
Lnet/minecraft/class_6686$class_6687;field_35226:Lnet/minecraft/class_7243;
named CODEC
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$TerracottaBandsMaterialRule;CODEC:Lnet/minecraft/util/dynamic/CodecHolder;
-
-
Constructor Details
-
TerracottaBandsMaterialRule
private TerracottaBandsMaterialRule()
-
-
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.MaterialRule
- Mappings:
Namespace Name Mixin selector official a
Ldbi$o;a()Lamc;
intermediary method_39061
Lnet/minecraft/class_6686$class_6708;method_39061()Lnet/minecraft/class_7243;
named codec
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRule;codec()Lnet/minecraft/util/dynamic/CodecHolder;
-
apply
- Specified by:
apply
in interfaceFunction<MaterialRules.MaterialRuleContext,
MaterialRules.BlockStateRule> - Mappings:
Namespace Name Mixin selector official a
Ldbi$b;a(Ldbi$g;)Ldbi$u;
intermediary method_39062
Lnet/minecraft/class_6686$class_6687;method_39062(Lnet/minecraft/class_6686$class_6694;)Lnet/minecraft/class_6686$class_6715;
named apply
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$TerracottaBandsMaterialRule;apply(Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;)Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$BlockStateRule;
-