Skip to content

Entity Interact Specific ​

To use this event use the following import:

groovy
import net.minecraftforge.event.entity.player.PlayerInteractEvent.EntityInteractSpecific

Sub-Classes ​

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

Methods ​

groovy
net.minecraft.entity.Entity getTarget()
groovy
net.minecraft.util.math.Vec3d getLocalPos()

Contributors

© 2024 CleanroomMC. All Rights Reserved.