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