Link to animaltame
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 event-klasse
You will need to cast the event in the function header as this class:
You can, of course, also import the class before and use that name then.
Link to erweiterte-event-schnittellen
AnimalTame Events implement the following interfaces and are able to call all of their methods/getters/setters as well:
Link to zengetterzensetter
The following information can be retrieved/set during the event: