Interface MaterialRules.MaterialRule

All Superinterfaces:
Function<MaterialRules.MaterialRuleContext,MaterialRules.BlockStateRule>
All Known Implementing Classes:
MaterialRules.BlockMaterialRule, MaterialRules.ConditionMaterialRule, MaterialRules.SequenceMaterialRule, MaterialRules.TerracottaBandsMaterialRule
Enclosing class:
MaterialRules

public static interface MaterialRules.MaterialRule extends Function<MaterialRules.MaterialRuleContext,MaterialRules.BlockStateRule>
Mappings:
Namespace Name
named net/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRule
intermediary net/minecraft/class_6686$class_6708
official dzm$o
  • Field Details

    • CODEC

      static final com.mojang.serialization.Codec<MaterialRules.MaterialRule> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRule;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_35252 Lnet/minecraft/class_6686$class_6708;field_35252:Lcom/mojang/serialization/Codec;
      official b Ldzm$o;b:Lcom/mojang/serialization/Codec;
  • Method Details

    • registerAndGetDefault

      static com.mojang.serialization.MapCodec<? extends MaterialRules.MaterialRule> registerAndGetDefault(Registry<com.mojang.serialization.MapCodec<? extends MaterialRules.MaterialRule>> registry)
      Mappings:
      Namespace Name Mixin selector
      named registerAndGetDefault Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRule;registerAndGetDefault(Lnet/minecraft/registry/Registry;)Lcom/mojang/serialization/MapCodec;
      intermediary method_39085 Lnet/minecraft/class_6686$class_6708;method_39085(Lnet/minecraft/class_2378;)Lcom/mojang/serialization/MapCodec;
      official a Ldzm$o;a(Ljz;)Lcom/mojang/serialization/MapCodec;
    • codec

      Mappings:
      Namespace Name Mixin selector
      named codec Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRule;codec()Lnet/minecraft/util/dynamic/CodecHolder;
      intermediary method_39061 Lnet/minecraft/class_6686$class_6708;method_39061()Lnet/minecraft/class_7243;
      official a Ldzm$o;a()Layg;