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
named net/minecraft/world/gen/blockpredicate/AnyOfBlockPredicate
intermediary net/minecraft/class_6645
official dzb
  • Field Details

    • CODEC

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

    • AnyOfBlockPredicate

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

    • test

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

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