Topic category: Troubleshooting, bugs, and solutions
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!
4.- it occurs to me to check if the position of the block changed with nbt, and also to check if there is a piston activated at x+1 x-1
y-1 y+1 z+1 z-1
nothing else :(