net.minecraft.structure.rule

public class TagMatchRuleTest

extends RuleTest

net.minecraft.world.level.levelgen.structure.templatesystem.TagMatchTest
net.minecraft.class_3798
net.minecraft.structure.rule.TagMatchRuleTest

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<TagMatchRuleTest>
CODEC
field_25014
CODEC
private final TagKey<Block>
tag
field_16747
tag

Constructor summary

ModifierConstructor
public (TagKey<Block> tag)

Method summary

Modifier and TypeMethod
public boolean
test(BlockState blockState, RandomSource random)
method_16768(class_2680 arg0, class_5819 arg1)
test(BlockState arg0, Random arg1)
protected RuleTestType<?>
getType()
method_16766()
getType()
private static TagKey
lambda$static$0(TagMatchTest arg0)
method_28999(class_3798 arg0)
method_28999(TagMatchRuleTest ruleTest)