public static class BeeNestDestroyedCriterion.Conditions extends AbstractCriterionConditions
Modifier and Type | Field and Description |
---|---|
private NumberRange.IntRange |
beeCount |
private Block |
block |
private ItemPredicate |
item |
Constructor and Description |
---|
Conditions(Block block,
ItemPredicate item,
NumberRange.IntRange beeCount) |
Modifier and Type | Method and Description |
---|---|
static BeeNestDestroyedCriterion.Conditions |
create(Block block,
ItemPredicate.Builder itemPredicateBuilder,
NumberRange.IntRange beeCountRange) |
boolean |
test(Block block,
ItemStack stack,
int count) |
JsonElement |
toJson() |
getId, toString
private final Block block
private final ItemPredicate item
private final NumberRange.IntRange beeCount
public Conditions(Block block, ItemPredicate item, NumberRange.IntRange beeCount)
public static BeeNestDestroyedCriterion.Conditions create(Block block, ItemPredicate.Builder itemPredicateBuilder, NumberRange.IntRange beeCountRange)
public JsonElement toJson()