Event condition's

Started by KingBanner on Sat, 10/15/2016 - 18:30

Topic category: Help with MCreator modding

Last seen on 14:10, 21. Oct 2016
Joined Sep 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Event condition's
Sat, 10/15/2016 - 18:30

Is there a way to activate an event if you look at a spesific block?

Last seen on 04:23, 13. May 2019
Joined Mar 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
If you can get the onfocus
Sun, 10/16/2016 - 05:35

If you can get the onfocus event to work in Minecraft, then in theory, yes.

http://www.w3schools.com/jsref/event_onfocus.asp

Honestly, I only know about this in the context of web so I can't be of much more help than that. You would probably need to use custom code since onfocus is not a preset event condition.