Posted March 28, 20169 yr So in an onItemUse method my sword spawns a lightning bolt, how can I make it so that if an Entity is hit by the lightning bolt it's target is set to the player, or like it was melee damage.
March 29, 20169 yr Author Like if I have an explosion staff that when you click on an Entity it creates an explosion on the entity. Also how do I set the flag? Are there any minecraft classes that set the flag that I can use as an example?
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.