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
named net/minecraft/world/gen/blockpredicate/MatchingBlockTagPredicate
intermediary net/minecraft/class_6848
official efb
  • Field Details

    • CODEC

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

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

    • MatchingBlockTagPredicate

      protected MatchingBlockTagPredicate(Vec3i offset, TagKey<Block> tag)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/gen/blockpredicate/MatchingBlockTagPredicate;<init>(Lnet/minecraft/util/math/Vec3i;Lnet/minecraft/registry/tag/TagKey;)V
      intermediary <init> Lnet/minecraft/class_6848;<init>(Lnet/minecraft/class_2382;Lnet/minecraft/class_6862;)V
      official <init> Lefb;<init>(Lkl;Layk;)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 Lefh;a(Ldxu;)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 Leew;a()Leex;