Block doesnt react to the environment

Started by Yusufhum3 on Sat, 02/27/2021 - 07:25

Topic category: Troubleshooting, bugs, and solutions

Last seen on 12:40, 10. Apr 2021
Joined Dec 2017

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Block doesnt react to the environment
Sat, 04/10/2021 - 12:27 (edited)

I wanna make a block that will charge itself up when "energy gets put into it" but some simple things dont work! I know how to make the block glow/change texture depending on the NBT but I cant do the following:

The Block increases its NBT when...

1. an explosion occurs next to it (the stronger the explosion the higher the increase, I tried to check from EntityTNTPrimed but nothing happens, the [When an explosion occurs] procedure trigger doesnt work cuz its all explosions in the world)

2. an anvil falls ontop of it (only anvil not sand/red sand/gravel, the higher the anvil fell from the higher the increase, I did the [Does entity exist at X Y+2 Z in square cube 1 of type EntityFallingBlock] procedure, doesnt work)

3. an arrow/projectile hits it (At the moment I only got it working when the arrow hits on the side only [When entity lands on top] procedure doesnt work, also the message gets sent twice sometimes four times at once)

4. pushed by piston


I desperately need some help, thanks!

Edited by Yusufhum3 on Sat, 04/10/2021 - 12:27