Class MatchingBlockTagPredicate
java.lang.Object
net.minecraft.world.level.levelgen.blockpredicates.StateTestingPredicate
net.minecraft.world.level.levelgen.blockpredicates.MatchingBlockTagPredicate
- All Implemented Interfaces:
BiPredicate<WorldGenLevel,
,BlockPos> BlockPredicate
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<MatchingBlockTagPredicate>
Fields inherited from class net.minecraft.world.level.levelgen.blockpredicates.StateTestingPredicate
offset
Fields inherited from interface net.minecraft.world.level.levelgen.blockpredicates.BlockPredicate
ONLY_IN_AIR_OR_WATER_PREDICATE, ONLY_IN_AIR_PREDICATE
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
MatchingBlockTagPredicate
(Vec3i p_204683_, TagKey<Block> p_204684_) -
Method Summary
Methods inherited from class net.minecraft.world.level.levelgen.blockpredicates.StateTestingPredicate
stateTestingCodec, test
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.function.BiPredicate
and, negate, or
-
Field Details
-
tag
-
CODEC
-
-
Constructor Details
-
MatchingBlockTagPredicate
-
-
Method Details
-
test
- Specified by:
test
in classStateTestingPredicate
-
type
-