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 ctu$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 Lctu$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()
      Mappings:
      Namespace Name Mixin selector
      official d Lctu$o;d()Lcom/mojang/serialization/Codec;
      intermediary method_39085 Lnet/minecraft/class_6686$class_6708;method_39085()Lcom/mojang/serialization/Codec;
      named registerAndGetDefault Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRule;registerAndGetDefault()Lcom/mojang/serialization/Codec;
    • codec

      com.mojang.serialization.Codec<? extends MaterialRules.MaterialRule> codec()
      Mappings:
      Namespace Name Mixin selector
      official a Lctu$o;a()Lcom/mojang/serialization/Codec;
      intermediary method_39061 Lnet/minecraft/class_6686$class_6708;method_39061()Lcom/mojang/serialization/Codec;
      named codec Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRule;codec()Lcom/mojang/serialization/Codec;