public class BlockStateMatchRuleTest extends RuleTest
Modifier and Type | Field and Description |
---|---|
private BlockState |
state |
Constructor and Description |
---|
BlockStateMatchRuleTest(BlockState state) |
BlockStateMatchRuleTest(com.mojang.datafixers.Dynamic<T> p_i51331_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 BlockState state
public BlockStateMatchRuleTest(BlockState state)
public BlockStateMatchRuleTest(com.mojang.datafixers.Dynamic<T> p_i51331_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