public class BlockMatchRuleTest extends RuleTest
| Constructor and Description |
|---|
BlockMatchRuleTest(Block block) |
BlockMatchRuleTest(com.mojang.datafixers.Dynamic<T> dynamic) |
| Modifier and Type | Method and Description |
|---|---|
protected RuleTestType |
getType() |
protected <T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> ops) |
boolean |
test(BlockState state,
Random random) |
serializeWithIdprivate final Block block
public BlockMatchRuleTest(Block block)
public BlockMatchRuleTest(com.mojang.datafixers.Dynamic<T> dynamic)
public boolean test(BlockState state, Random random)
protected RuleTestType getType()