event at line of sight

Started by Infinity Guardian on Tue, 08/15/2017 - 16:33

Topic category: Help with MCreator modding

Last seen on 16:47, 15. Aug 2017
Joined Aug 2017
User points:


  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
event at line of sight
Tue, 08/15/2017 - 16:33

I need help with an event.  I am making a suit that grants you the ability to make lightning strike at the spot you are looking directly at regardless of distance.  But, there exists no event in the creator that allows this.  Is there any way I could make this possible?

The idea is to add an event so that when the full suit is worn and the player presses a specific key, lightning strikes the block which the player is looking directly at.  Is there some method that could allow me to do this, such as making a custom command or spawning an entity?