public static class TameAnimalTrigger.Instance extends CriterionInstance
Constructor and Description |
---|
Instance(EntityPredicate entity) |
Modifier and Type | Method and Description |
---|---|
static TameAnimalTrigger.Instance |
any() |
static TameAnimalTrigger.Instance |
func_215124_a(EntityPredicate p_215124_0_) |
com.google.gson.JsonElement |
serialize() |
boolean |
test(ServerPlayerEntity player,
AnimalEntity entity) |
getId, toString
public Instance(EntityPredicate entity)
public static TameAnimalTrigger.Instance any()
public static TameAnimalTrigger.Instance func_215124_a(EntityPredicate p_215124_0_)
public boolean test(ServerPlayerEntity player, AnimalEntity entity)
public com.google.gson.JsonElement serialize()