public static class FilledBucketCriterion.Conditions extends AbstractCriterionConditions
Modifier and Type | Field and Description |
---|---|
private ItemPredicate |
item |
Constructor and Description |
---|
Conditions(ItemPredicate item) |
Modifier and Type | Method and Description |
---|---|
static FilledBucketCriterion.Conditions |
create(ItemPredicate item) |
boolean |
matches(ItemStack stack) |
JsonElement |
toJson() |
getId, toString
private final ItemPredicate item
public Conditions(ItemPredicate item)
public static FilledBucketCriterion.Conditions create(ItemPredicate item)
public boolean matches(ItemStack stack)
public JsonElement toJson()