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
official dbi$f
intermediary net/minecraft/class_6686$class_6693
named net/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialCondition
  • Field Details

    • CODEC

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

    • registerAndGetDefault

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

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