Class AnyOfBlockPredicate

java.lang.Object
net.minecraft.world.gen.blockpredicate.CombinedBlockPredicate
net.minecraft.world.gen.blockpredicate.AnyOfBlockPredicate
All Implemented Interfaces:
BiPredicate<StructureWorldAccess,BlockPos>, BlockPredicate

class AnyOfBlockPredicate extends CombinedBlockPredicate
Mappings:
Namespace Name
official diq
intermediary net/minecraft/class_6645
named net/minecraft/world/gen/blockpredicate/AnyOfBlockPredicate
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<AnyOfBlockPredicate> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Ldiq;a:Lcom/mojang/serialization/Codec;
      intermediary field_35053 Lnet/minecraft/class_6645;field_35053:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/world/gen/blockpredicate/AnyOfBlockPredicate;CODEC:Lcom/mojang/serialization/Codec;
  • Constructor Details

    • AnyOfBlockPredicate

      public AnyOfBlockPredicate(List<BlockPredicate> predicates)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldit;<init>(Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_6648;<init>(Ljava/util/List;)V
      named <init> Lnet/minecraft/world/gen/blockpredicate/CombinedBlockPredicate;<init>(Ljava/util/List;)V
  • Method Details

    • test

      public boolean test(StructureWorldAccess structureWorldAccess, BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official a Ldiq;a(Lcng;Lgu;)Z
      intermediary method_38875 Lnet/minecraft/class_6645;method_38875(Lnet/minecraft/class_5281;Lnet/minecraft/class_2338;)Z
      named test Lnet/minecraft/world/gen/blockpredicate/AnyOfBlockPredicate;test(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockPos;)Z
    • getType

      public BlockPredicateType<?> getType()
      Mappings:
      Namespace Name Mixin selector
      official a Ldir;a()Ldis;
      intermediary method_38873 Lnet/minecraft/class_6646;method_38873()Lnet/minecraft/class_6647;
      named getType Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;getType()Lnet/minecraft/world/gen/blockpredicate/BlockPredicateType;