I want that while the furnace is melting it will deal damage to the player
i tried using different triggers
on smelt: - does not work
on fuel burn: - does not work
on join: - works all the time, even when it is not melting
i tried using different triggers
on smelt: - does not work
on fuel burn: - does not work
on join: - works all the time, even when it is not melting
Code:
on smelt:
wait 1 tick
while player is alive:
loop all blocks in radius 1 around the player:
if loop-block is a furnace:
damage player by 0.5
wait 1 second