HexNation Posted May 25, 2017 Posted May 25, 2017 (edited) How would I get a mob on right click, so i can manipulate it?? Edited May 25, 2017 by HexNation Quote
Jay Avery Posted May 25, 2017 Posted May 25, 2017 (edited) PlayerInteractEvent.EntityInteract is fired when the player right-clicks any entity, and has a target field. Edited May 25, 2017 by Jay Avery Quote
HexNation Posted May 25, 2017 Author Posted May 25, 2017 2 minutes ago, Jay Avery said: PlayerInteractEvent.EntityInteract is called when the player right-clicks any entity, and has a target field. How would I be able to call this in an item class? Quote
Jay Avery Posted May 25, 2017 Posted May 25, 2017 For an item you can use itemInteractionForEntity - the way ItemShears works on sheep. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.