public static class PlayerGeneratesContainerLootCriterion.Conditions extends AbstractCriterionConditions
Modifier and Type | Field and Description |
---|---|
private Identifier |
lootTable |
Constructor and Description |
---|
Conditions(EntityPredicate.Extended entity,
Identifier lootTable) |
Modifier and Type | Method and Description |
---|---|
static PlayerGeneratesContainerLootCriterion.Conditions |
create(Identifier lootTable) |
boolean |
test(Identifier lootTable) |
JsonObject |
toJson(AdvancementEntityPredicateSerializer predicateSerializer) |
getId, getPlayerPredicate, toString
private final Identifier lootTable
public Conditions(EntityPredicate.Extended entity, Identifier lootTable)
public static PlayerGeneratesContainerLootCriterion.Conditions create(Identifier lootTable)
public boolean test(Identifier lootTable)
public JsonObject toJson(AdvancementEntityPredicateSerializer predicateSerializer)
toJson
in interface CriterionConditions
toJson
in class AbstractCriterionConditions