Class MatchingBlocksBlockPredicate

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

class MatchingBlocksBlockPredicate extends OffsetPredicate
Mappings:
Namespace Name
official cuo
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 Lcuo;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 e Lcuo;e: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;
  • Constructor Details

    • MatchingBlocksBlockPredicate

      public MatchingBlocksBlockPredicate(Vec3i offset, List<Block> blocks)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcuo;<init>(Lhc;Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_6649;<init>(Lnet/minecraft/class_2382;Ljava/util/List;)V
      named <init> Lnet/minecraft/world/gen/blockpredicate/MatchingBlocksBlockPredicate;<init>(Lnet/minecraft/util/math/Vec3i;Ljava/util/List;)V
  • Method Details

    • test

      protected boolean test(BlockState state)
      Specified by:
      test in class OffsetPredicate
      Mappings:
      Namespace Name Mixin selector
      official a Lcut;a(Lcoc;)Z
      intermediary method_38893 Lnet/minecraft/class_6679;method_38893(Lnet/minecraft/class_2680;)Z
      named test Lnet/minecraft/world/gen/blockpredicate/OffsetPredicate;test(Lnet/minecraft/block/BlockState;)Z
    • getType

      public BlockPredicateType<?> getType()
      Mappings:
      Namespace Name Mixin selector
      official a Lcui;a()Lcuj;
      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;