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

Started by Yusufhum3 on

Topic category: Troubleshooting, bugs, and solutions

Active 6 months ago
Joined Dec 2017
Points:
1034

User statistics:

  • Modifications: 3
  • Forum topics: 50
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 138
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.

Active 6 months ago
Joined Dec 2017
Points:
1034

User statistics:

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

Oh ok,  works now thanks!