Posted May 25, 20178 yr How would I get a mob on right click, so i can manipulate it?? Edited May 25, 20178 yr by HexNation
May 25, 20178 yr PlayerInteractEvent.EntityInteract is fired when the player right-clicks any entity, and has a target field. Edited May 25, 20178 yr by Jay Avery
May 25, 20178 yr Author 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?
May 25, 20178 yr For an item you can use itemInteractionForEntity - the way ItemShears works on sheep.
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.