Class MatchingBlocksBlockPredicate

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

class MatchingBlocksBlockPredicate extends Object implements BlockPredicate
Mappings:
Namespace Name
official csy
intermediary net/minecraft/class_6649
named net/minecraft/world/gen/blockpredicate/MatchingBlocksBlockPredicate
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<MatchingBlocksBlockPredicate> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lcsy;a:Lcom/mojang/serialization/Codec;
      intermediary field_35062 Lnet/minecraft/class_6649;field_35062:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/world/gen/blockpredicate/MatchingBlocksBlockPredicate;CODEC:Lcom/mojang/serialization/Codec;
    • blocks

      private final List<Block> blocks
      Mappings:
      Namespace Name Mixin selector
      official c Lcsy;c:Ljava/util/List;
      intermediary field_35063 Lnet/minecraft/class_6649;field_35063:Ljava/util/List;
      named blocks Lnet/minecraft/world/gen/blockpredicate/MatchingBlocksBlockPredicate;blocks:Ljava/util/List;
    • pos

      private final BlockPos pos
      Mappings:
      Namespace Name Mixin selector
      official d Lcsy;d:Lgh;
      intermediary field_35064 Lnet/minecraft/class_6649;field_35064:Lnet/minecraft/class_2338;
      named pos Lnet/minecraft/world/gen/blockpredicate/MatchingBlocksBlockPredicate;pos:Lnet/minecraft/util/math/BlockPos;
  • Constructor Details

    • MatchingBlocksBlockPredicate

      public MatchingBlocksBlockPredicate(List<Block> blocks, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcsy;<init>(Ljava/util/List;Lgh;)V
      intermediary <init> Lnet/minecraft/class_6649;<init>(Ljava/util/List;Lnet/minecraft/class_2338;)V
      named <init> Lnet/minecraft/world/gen/blockpredicate/MatchingBlocksBlockPredicate;<init>(Ljava/util/List;Lnet/minecraft/util/math/BlockPos;)V
  • Method Details

    • test

      public boolean test(StructureWorldAccess structureWorldAccess, BlockPos blockPos)
      Specified by:
      test in interface BiPredicate<StructureWorldAccess,BlockPos>
      Mappings:
      Namespace Name Mixin selector
      official a Lcsy;a(Lbzr;Lgh;)Z
      intermediary method_38893 Lnet/minecraft/class_6649;method_38893(Lnet/minecraft/class_5281;Lnet/minecraft/class_2338;)Z
      named test Lnet/minecraft/world/gen/blockpredicate/MatchingBlocksBlockPredicate;test(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockPos;)Z
    • getType

      public BlockPredicateType<?> getType()
      Specified by:
      getType in interface BlockPredicate
      Mappings:
      Namespace Name Mixin selector
      official a Lcsv;a()Lcsw;
      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;