public class PlayerGeneratesContainerLootCriterion extends AbstractCriterion<PlayerGeneratesContainerLootCriterion.Conditions>
Modifier and Type | Class and Description |
---|---|
static class |
PlayerGeneratesContainerLootCriterion.Conditions |
Criterion.ConditionsContainer<T extends CriterionConditions>
Modifier and Type | Field and Description |
---|---|
private static Identifier |
ID |
Constructor and Description |
---|
PlayerGeneratesContainerLootCriterion() |
Modifier and Type | Method and Description |
---|---|
protected PlayerGeneratesContainerLootCriterion.Conditions |
conditionsFromJson(JsonObject jsonObject,
EntityPredicate.Extended extended,
AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) |
Identifier |
getId() |
void |
test(ServerPlayerEntity player,
Identifier id) |
beginTrackingCondition, conditionsFromJson, endTracking, endTrackingCondition, test
private static final Identifier ID
public PlayerGeneratesContainerLootCriterion()
public Identifier getId()
protected PlayerGeneratesContainerLootCriterion.Conditions conditionsFromJson(JsonObject jsonObject, EntityPredicate.Extended extended, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer)
conditionsFromJson
in class AbstractCriterion<PlayerGeneratesContainerLootCriterion.Conditions>
public void test(ServerPlayerEntity player, Identifier id)