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 ctm$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 Lctm$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()
      Mappings:
      Namespace Name Mixin selector
      official c Lctm$f;c()Lcom/mojang/serialization/Codec;
      intermediary method_39070 Lnet/minecraft/class_6686$class_6693;method_39070()Lcom/mojang/serialization/Codec;
      named registerAndGetDefault Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialCondition;registerAndGetDefault()Lcom/mojang/serialization/Codec;
    • codec

      com.mojang.serialization.Codec<? extends MaterialRules.MaterialCondition> codec()
      Mappings:
      Namespace Name Mixin selector
      official a Lctm$f;a()Lcom/mojang/serialization/Codec;
      intermediary method_39064 Lnet/minecraft/class_6686$class_6693;method_39064()Lcom/mojang/serialization/Codec;
      named codec Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialCondition;codec()Lcom/mojang/serialization/Codec;