public class BlockMatchRuleTest extends RuleTest
Constructor and Description |
---|
BlockMatchRuleTest(Block block) |
BlockMatchRuleTest(com.mojang.datafixers.Dynamic<T> p_i51335_1_) |
Modifier and Type | Method and Description |
---|---|
protected IRuleTestType |
getType() |
protected <T> com.mojang.datafixers.Dynamic<T> |
serialize0(com.mojang.datafixers.types.DynamicOps<T> p_215182_1_) |
boolean |
test(BlockState p_215181_1_,
java.util.Random p_215181_2_) |
private final Block block
public BlockMatchRuleTest(Block block)
public BlockMatchRuleTest(com.mojang.datafixers.Dynamic<T> p_i51335_1_)
public boolean test(BlockState p_215181_1_, java.util.Random p_215181_2_)
protected IRuleTestType getType()
protected <T> com.mojang.datafixers.Dynamic<T> serialize0(com.mojang.datafixers.types.DynamicOps<T> p_215182_1_)
serialize0
in class RuleTest