public class BlockMatchRuleTest extends RuleTest
Modifier and Type | Field and Description |
---|---|
private Block |
block |
static com.mojang.serialization.Codec<BlockMatchRuleTest> |
CODEC |
field_25012
Constructor and Description |
---|
BlockMatchRuleTest(Block block) |
Modifier and Type | Method and Description |
---|---|
protected RuleTestType<?> |
getType() |
boolean |
test(BlockState state,
Random random) |
public static final com.mojang.serialization.Codec<BlockMatchRuleTest> CODEC
private final Block block
public BlockMatchRuleTest(Block block)
public boolean test(BlockState state, Random random)
protected RuleTestType<?> getType()