public static class SlideDownBlockCriterion.Conditions extends AbstractCriterionConditions
Modifier and Type | Field and Description |
---|---|
private Block |
block |
private StatePredicate |
state |
Constructor and Description |
---|
Conditions(Block block,
StatePredicate state) |
Modifier and Type | Method and Description |
---|---|
static SlideDownBlockCriterion.Conditions |
create(Block block) |
boolean |
test(BlockState state) |
JsonElement |
toJson() |
getId, toString
private final Block block
private final StatePredicate state
public Conditions(@Nullable Block block, StatePredicate state)
public static SlideDownBlockCriterion.Conditions create(Block block)
public JsonElement toJson()
public boolean test(BlockState state)