Interface MaterialRules.MaterialCondition

All Superinterfaces:
Function<MaterialRules.MaterialRuleContext,MaterialRules.BooleanSupplier>
All Known Implementing Classes:
MaterialRules.AboveYMaterialCondition, MaterialRules.BiomeMaterialCondition, MaterialRules.HoleMaterialCondition, MaterialRules.NoiseThresholdMaterialCondition, MaterialRules.NotMaterialCondition, MaterialRules.SteepMaterialCondition, MaterialRules.StoneDepthMaterialCondition, MaterialRules.SurfaceMaterialCondition, MaterialRules.TemperatureMaterialCondition, MaterialRules.VerticalGradientMaterialCondition, MaterialRules.WaterMaterialCondition
Enclosing class:
MaterialRules

public static interface MaterialRules.MaterialCondition extends Function<MaterialRules.MaterialRuleContext,MaterialRules.BooleanSupplier>
Mappings:
Namespace Name
named net/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialCondition
intermediary net/minecraft/class_6686$class_6693
official dym$f
  • Field Details

    • CODEC

      static final com.mojang.serialization.Codec<MaterialRules.MaterialCondition> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialCondition;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_35232 Lnet/minecraft/class_6686$class_6693;field_35232:Lcom/mojang/serialization/Codec;
      official b Ldym$f;b:Lcom/mojang/serialization/Codec;
  • Method Details

    • registerAndGetDefault

      static com.mojang.serialization.MapCodec<? extends MaterialRules.MaterialCondition> registerAndGetDefault(Registry<com.mojang.serialization.MapCodec<? extends MaterialRules.MaterialCondition>> registry)
      Mappings:
      Namespace Name Mixin selector
      named registerAndGetDefault Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialCondition;registerAndGetDefault(Lnet/minecraft/registry/Registry;)Lcom/mojang/serialization/MapCodec;
      intermediary method_39070 Lnet/minecraft/class_6686$class_6693;method_39070(Lnet/minecraft/class_2378;)Lcom/mojang/serialization/MapCodec;
      official a Ldym$f;a(Ljv;)Lcom/mojang/serialization/MapCodec;
    • codec

      Mappings:
      Namespace Name Mixin selector
      named codec Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialCondition;codec()Lnet/minecraft/util/dynamic/CodecHolder;
      intermediary method_39064 Lnet/minecraft/class_6686$class_6693;method_39064()Lnet/minecraft/class_7243;
      official a Ldym$f;a()Lays;