net.minecraft.structure.rule

public class BlockMatchRuleTest

extends RuleTest

net.minecraft.world.level.levelgen.structure.templatesystem.BlockMatchTest
net.minecraft.class_3819
net.minecraft.structure.rule.BlockMatchRuleTest

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<BlockMatchRuleTest>
CODEC
field_24999
CODEC
private final Block
block
field_16869
block

Constructor summary

ModifierConstructor
public (Block block)

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 Block
lambda$static$0(BlockMatchTest arg0)
method_28969(class_3819 arg0)
method_28969(BlockMatchRuleTest ruleTest)