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