This event is fired to determine if an animal is going to be tamed. If canceled, the tame does not succeed. Otherwise, it simply serves as a notification of the tame taking place.

Класс события

Link to класс-события

You will need to cast the event in the function header as this class:
crafttweaker.event.AnimalTameEvent
You can, of course, also import the class before and use that name then.

Наследование от интерфейсов событий

Link to наследование-от-интерфейсов-событий

AnimalTame Events implement the following interfaces and are able to call all of their methods/getters/setters as well:

Геттеры/сеттеры

Link to геттерысеттеры

The following information can be retrieved/set during the event:

ZenGetterZenSetterТип
ZenGetter
animal
ZenSetter
Тип
IEntityAnimal
ZenGetter
animal
ZenSetter
Тип
IEntityAnimal
ZenGetter
player
ZenSetter
Тип
IPlayer