Class MaterialRules.BiomeMaterialCondition

java.lang.Object
net.minecraft.world.gen.surfacebuilder.MaterialRules.BiomeMaterialCondition
All Implemented Interfaces:
Function<MaterialRules.MaterialRuleContext,MaterialRules.BooleanSupplier>, MaterialRules.MaterialCondition
Enclosing class:
MaterialRules

private static final class MaterialRules.BiomeMaterialCondition extends Object implements MaterialRules.MaterialCondition
Mappings:
Namespace Name
named net/minecraft/world/gen/surfacebuilder/MaterialRules$BiomeMaterialCondition
intermediary net/minecraft/class_6686$class_6689
official dym$c
  • Field Details

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$BiomeMaterialCondition;CODEC:Lnet/minecraft/util/dynamic/CodecHolder;
      intermediary field_35228 Lnet/minecraft/class_6686$class_6689;field_35228:Lnet/minecraft/class_7243;
      official a Ldym$c;a:Lays;
    • biomes

      private final List<RegistryKey<Biome>> biomes
      Mappings:
      Namespace Name Mixin selector
      named biomes Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$BiomeMaterialCondition;biomes:Ljava/util/List;
      intermediary field_36414 Lnet/minecraft/class_6686$class_6689;field_36414:Ljava/util/List;
      official c Ldym$c;c:Ljava/util/List;
    • predicate

      final Predicate<RegistryKey<Biome>> predicate
      Mappings:
      Namespace Name Mixin selector
      named predicate Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$BiomeMaterialCondition;predicate:Ljava/util/function/Predicate;
      intermediary field_36415 Lnet/minecraft/class_6686$class_6689;field_36415:Ljava/util/function/Predicate;
      official d Ldym$c;d:Ljava/util/function/Predicate;
  • Constructor Details

    • BiomeMaterialCondition

      BiomeMaterialCondition(List<RegistryKey<Biome>> biomes)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$BiomeMaterialCondition;<init>(Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_6686$class_6689;<init>(Ljava/util/List;)V
      official <init> Ldym$c;<init>(Ljava/util/List;)V
  • Method Details

    • codec

      public CodecHolder<? extends MaterialRules.MaterialCondition> codec()
      Specified by:
      codec in interface MaterialRules.MaterialCondition
      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;
    • apply

      Specified by:
      apply in interface Function<MaterialRules.MaterialRuleContext,MaterialRules.BooleanSupplier>
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$BiomeMaterialCondition;apply(Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;)Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$BooleanSupplier;
      intermediary method_39065 Lnet/minecraft/class_6686$class_6689;method_39065(Lnet/minecraft/class_6686$class_6694;)Lnet/minecraft/class_6686$class_6692;
      official a Ldym$c;a(Ldym$g;)Ldym$e;
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object