Interface InteractionEvents.UseEntity
- Enclosing class:
InteractionEvents
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A player is about to use (right-click) an entity. Answered as
InteractionEvents.UseBlock.-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.InteractionResultonUseEntity(net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.world.entity.Entity target)
-
Method Details
-
onUseEntity
net.minecraft.world.InteractionResult onUseEntity(net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.world.entity.Entity target)
-