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
named net/minecraft/world/gen/blockpredicate/MatchingBlocksBlockPredicate
intermediary net/minecraft/class_6649
official dzj
  • Field Details

    • CODEC

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

      private final RegistryEntryList<Block> blocks
      Mappings:
      Namespace Name Mixin selector
      named blocks Lnet/minecraft/world/gen/blockpredicate/MatchingBlocksBlockPredicate;blocks:Lnet/minecraft/registry/entry/RegistryEntryList;
      intermediary field_35063 Lnet/minecraft/class_6649;field_35063:Lnet/minecraft/class_6885;
      official e Ldzj;e:Ljm;
  • Constructor Details

    • MatchingBlocksBlockPredicate

      public MatchingBlocksBlockPredicate(Vec3i offset, RegistryEntryList<Block> blocks)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/gen/blockpredicate/MatchingBlocksBlockPredicate;<init>(Lnet/minecraft/util/math/Vec3i;Lnet/minecraft/registry/entry/RegistryEntryList;)V
      intermediary <init> Lnet/minecraft/class_6649;<init>(Lnet/minecraft/class_2382;Lnet/minecraft/class_6885;)V
      official <init> Ldzj;<init>(Lkd;Ljm;)V
  • Method Details

    • test

      protected boolean test(BlockState state)
      Specified by:
      test in class OffsetPredicate
      Mappings:
      Namespace Name Mixin selector
      named test Lnet/minecraft/world/gen/blockpredicate/OffsetPredicate;test(Lnet/minecraft/block/BlockState;)Z
      intermediary method_38893 Lnet/minecraft/class_6679;method_38893(Lnet/minecraft/class_2680;)Z
      official a Ldzo;a(Ldse;)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 Ldzd;a()Ldze;