net.minecraft.structure.rule

public record TagMatchRuleTest

implements RuleTest

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

Field summary

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

Constructor summary

ModifierConstructor
public (TagKey<Block> tag)

Method summary

Modifier and TypeMethod
public boolean
test(BlockState blockState, BlockPos pos, RandomSource random)
method_16768(class_2680 arg0, class_2338 arg1, class_5819 arg2)
test(BlockState arg0, BlockPos arg1, Random arg2)
public com.mojang.serialization.MapCodec<TagMatchRuleTest>
codec()
method_1_10991()
getCodec()
public TagKey<Block>
tag()
comp_1_1925()
tag()
private static TagKey
lambda$static$0(TagMatchTest arg0)
method_28999(class_3798 arg0)
method_28999(TagMatchRuleTest ruleTest)