Set NBT logic tag for block doesnt work with "on block added" [FIXED]

Started by Yusufhum3 on Tue, 04/14/2020 - 20:30

Topic category: Troubleshooting, bugs, and solutions

Last seen on 14:55, 18. Jun 2021
Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Set NBT logic tag for block doesnt work with "on block added" [FIXED]
Wed, 04/15/2020 - 18:24 (edited)

I made a block that when added (placed) will set a logic NBT tag to true and to test it I made it print in chat but it still says false. In the procedure there are only two blocks the set logic nbt of block at XYZ and send to Chat to all Players block. I even tried with Update tick but still doesnt work. So whats wrong? thx for help

Edited by Yusufhum3 on Wed, 04/15/2020 - 18:24
On block added is probably…
Wed, 04/15/2020 - 17:32

On block added is probably to soon as the tile entity is not loaded yet.

Make sure to enable tile entity too.

Last seen on 14:55, 18. Jun 2021
Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Oh ok,  works now thanks!
Wed, 04/15/2020 - 18:23

Oh ok,  works now thanks!