net.minecraft.world.gen.surfacebuilder

public interface MaterialRule

net.minecraft.world.level.levelgen.material.rule.MaterialRule
net.minecraft.class_6708
net.minecraft.world.gen.surfacebuilder.MaterialRule

Field summary

Modifier and TypeField
com.mojang.serialization.Codec<MaterialRule>
DIRECT_CODEC
field_35252
BASE_CODEC
com.mojang.serialization.Codec<RegistryEntry<MaterialRule>>
HOLDER_CODEC
field_1_7485
ENTRY_CODEC
com.mojang.serialization.Codec<MaterialRule>
CODEC
field_1_7484
CODEC

Method summary

Modifier and TypeMethod
BlockStateRule
compile(MaterialRuleContext context)
method_1_10098(class_6694 arg0)
getBlockStateRule(MaterialRuleContext context)
com.mojang.serialization.MapCodec<? extends MaterialRule>
codec()
method_39061()
codec()
private static RegistryEntry
lambda$static$1(MaterialRule arg0)
method_1_6821(class_6708 arg0)
method_1_6821(MaterialRule rule)
private static MaterialRule
lambda$static$0(Holder arg0)
method_1_6820(class_6880 arg0)
method_1_6820(RegistryEntry registryEntry)