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
official dii
intermediary net/minecraft/class_6648
named net/minecraft/world/gen/blockpredicate/CombinedBlockPredicate
  • Field Details

    • predicates

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

    • CombinedBlockPredicate

      protected CombinedBlockPredicate(List<BlockPredicate> predicates)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldii;<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

    • buildCodec

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