Calling a procedure at the block players look at.

Started by SesshomaruQrow on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Calling a procedure at the block players look at.

I'm trying to use a procedure to strike the block a player looks at with lightning: however, I want it to be outside the 4 block range that  a player can interact with. Is there a way for me to do this in MCreator?

I'm starting blank and have no code to show.

Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can make an item then…
Sat, 11/17/2018 - 18:58

You can make an item then give it a right click on block procedure.  Then in the procedure select world management and choose strike lightning x y z and connect it to the green event trigger.

 

I don't know how to make it outside the 4 block range.

Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This might be possible, if…
Wed, 11/21/2018 - 21:15

This might be possible, if you use commands that change the players reach. Search Minecraft command science