Class CombinedBlockPredicate

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

abstract class CombinedBlockPredicate extends Object implements BlockPredicate
Mappings:
Namespace Name
named net/minecraft/world/gen/blockpredicate/CombinedBlockPredicate
intermediary net/minecraft/class_6648
official eey
  • Field Details

    • predicates

      protected final List<BlockPredicate> predicates
      Mappings:
      Namespace Name Mixin selector
      named predicates Lnet/minecraft/world/gen/blockpredicate/CombinedBlockPredicate;predicates:Ljava/util/List;
      intermediary field_35061 Lnet/minecraft/class_6648;field_35061:Ljava/util/List;
      official e Leey;e:Ljava/util/List;
  • Constructor Details

    • CombinedBlockPredicate

      protected CombinedBlockPredicate(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> Leey;<init>(Ljava/util/List;)V
  • Method Details

    • buildCodec

      public static <T extends CombinedBlockPredicate> com.mojang.serialization.MapCodec<T> buildCodec(Function<List<BlockPredicate>,T> combiner)
      Mappings:
      Namespace Name Mixin selector
      named buildCodec Lnet/minecraft/world/gen/blockpredicate/CombinedBlockPredicate;buildCodec(Ljava/util/function/Function;)Lcom/mojang/serialization/MapCodec;
      intermediary method_38891 Lnet/minecraft/class_6648;method_38891(Ljava/util/function/Function;)Lcom/mojang/serialization/MapCodec;
      official a Leey;a(Ljava/util/function/Function;)Lcom/mojang/serialization/MapCodec;