public static class SummonedEntityTrigger.Instance extends CriterionInstance
Modifier and Type | Field and Description |
---|---|
private EntityPredicate |
entity |
Constructor and Description |
---|
Instance(EntityPredicate entity) |
Modifier and Type | Method and Description |
---|---|
com.google.gson.JsonElement |
serialize() |
static SummonedEntityTrigger.Instance |
summonedEntity(EntityPredicate.Builder p_203937_0_) |
boolean |
test(ServerPlayerEntity player,
Entity entity) |
getId, toString
private final EntityPredicate entity
public Instance(EntityPredicate entity)
public static SummonedEntityTrigger.Instance summonedEntity(EntityPredicate.Builder p_203937_0_)
public boolean test(ServerPlayerEntity player, Entity entity)
public com.google.gson.JsonElement serialize()