Check for torch working yet not working

Started by Pixilys on Sat, 06/01/2019 - 23:34

Topic category: Help with modding (Java Edition)

Last seen on 13:12, 14. Apr 2022
Joined May 2019

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Check for torch working yet not working
Sat, 06/01/2019 - 23:34

I have created a procedure that makes the game detect when a torch is placed in my dimension, and a event triggers. The only problem I have is that this only applies to the torch facing upward, and torches placed on walls or sides of a block are not detected, ideas on how to fix this? Note that my event does not trigger based on torch location, such as y + 1.

When checking for block type…
Sun, 06/02/2019 - 16:14

When checking for block type, do not use == but =, so you only check for the block type.