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
official dib$o
intermediary net/minecraft/class_6686$class_6708
named net/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRule
  • Field Details

    • CODEC

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

    • registerAndGetDefault

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

      Mappings:
      Namespace Name Mixin selector
      official a Ldib$o;a()Laou;
      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;