public interface UseEntityCallback
Upon return:
Modifier and Type | Field and Description |
---|---|
static Event<UseEntityCallback> |
EVENT |
Modifier and Type | Method and Description |
---|---|
net.minecraft.util.ActionResult |
interact(net.minecraft.entity.player.PlayerEntity player,
net.minecraft.world.World world,
net.minecraft.util.Hand hand,
net.minecraft.entity.Entity entity,
net.minecraft.util.hit.EntityHitResult hitResult) |
static final Event<UseEntityCallback> EVENT