net.minecraft.world.gen.blockpredicate

public class MatchingBlockTagPredicate

extends OffsetPredicate

All mapped superinterfaces:

BlockPredicate

net.minecraft.world.level.levelgen.blockpredicates.MatchingBlockTagPredicate
net.minecraft.class_6848
net.minecraft.world.gen.blockpredicate.MatchingBlockTagPredicate

Field summary

Modifier and TypeField
final TagKey<Block>
tag
field_36287
tag
public static final com.mojang.serialization.MapCodec<MatchingBlockTagPredicate>
CODEC
field_36288
CODEC

Constructor summary

ModifierConstructor
protected (Vec3i offset, TagKey<Block> tag)

Method summary

Modifier and TypeMethod
protected boolean
test(BlockState state)
method_38893(class_2680 arg0)
test(BlockState arg0)
public BlockPredicateType<?>
type()
method_38873()
getType()
private static com.mojang.datafixers.kinds.App
lambda$static$0(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_39916(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_39916(com.mojang.serialization.codecs.RecordCodecBuilder$Instance instance)
private static TagKey
lambda$static$1(MatchingBlockTagPredicate arg0)
method_39915(class_6848 arg0)
method_39915(MatchingBlockTagPredicate predicate)