Skip to content

Animal Tame Event

To use this event use the following import:

groovy
import net.minecraftforge.event.entity.living.AnimalTameEvent

Sub-Classes

This event extends the following events and can use all their methods and fields:
LivingEvent, EntityEvent

Methods

groovy
net.minecraft.entity.player.EntityPlayer getTamer()
groovy
net.minecraft.entity.passive.EntityAnimal getAnimal()

贡献者

页面历史

© 2024 CleanroomMC. All Rights Reserved.