Class MatchingBlockTagPredicate

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

public class MatchingBlockTagPredicate extends OffsetPredicate
Mappings:
Namespace Name
official dqc
intermediary net/minecraft/class_6848
named net/minecraft/world/gen/blockpredicate/MatchingBlockTagPredicate
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<MatchingBlockTagPredicate> CODEC
      Mappings:
      Namespace Name Mixin selector
      official e Ldqc;e:Lcom/mojang/serialization/Codec;
      intermediary field_36288 Lnet/minecraft/class_6848;field_36288:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/world/gen/blockpredicate/MatchingBlockTagPredicate;CODEC:Lcom/mojang/serialization/Codec;
    • tag

      final TagKey<Block> tag
      Mappings:
      Namespace Name Mixin selector
      official a Ldqc;a:Lasw;
      intermediary field_36287 Lnet/minecraft/class_6848;field_36287:Lnet/minecraft/class_6862;
      named tag Lnet/minecraft/world/gen/blockpredicate/MatchingBlockTagPredicate;tag:Lnet/minecraft/registry/tag/TagKey;
  • Constructor Details

    • MatchingBlockTagPredicate

      protected MatchingBlockTagPredicate(Vec3i offset, TagKey<Block> tag)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldqc;<init>(Ljb;Lasw;)V
      intermediary <init> Lnet/minecraft/class_6848;<init>(Lnet/minecraft/class_2382;Lnet/minecraft/class_6862;)V
      named <init> Lnet/minecraft/world/gen/blockpredicate/MatchingBlockTagPredicate;<init>(Lnet/minecraft/util/math/Vec3i;Lnet/minecraft/registry/tag/TagKey;)V
  • Method Details

    • test

      protected boolean test(BlockState state)
      Specified by:
      test in class OffsetPredicate
      Mappings:
      Namespace Name Mixin selector
      official a Ldqi;a(Ldjh;)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 Ldpx;a()Ldpy;
      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;