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
official des$c
intermediary net/minecraft/class_6686$class_6689
named net/minecraft/world/gen/surfacebuilder/MaterialRules$BiomeMaterialCondition
  • Field Details

    • CODEC

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

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

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

    • BiomeMaterialCondition

      BiomeMaterialCondition(List<RegistryKey<Biome>> biomes)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldes$c;<init>(Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_6686$class_6689;<init>(Ljava/util/List;)V
      named <init> Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$BiomeMaterialCondition;<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
      official a Ldes$f;a()Lanw;
      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;
    • apply

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