Topic category: Help with modding (Java Edition)
if this is at wrong section, sorry.
I just made a simple "Cooler" block. that acts like furnace. but you know, not for heat.
when my "metal bar" item created in my other custom block, I gave it a nbt tag (hot=1).
and added a function (when this item in inventory). function simply makes >>if hot=1 then give player 1 damage<<
this part is working but When I cool it in my "Cooler" block and change nbt tag to >>hot=0<< it stills damaging me.
well actually its natural because my "Cooler" block didnt worked. (it also should remove water bucket when it works)
I mean Im pretty sure I did something wrong but I cant see it. code looks fine to me
(link: https://pasteboard.co/J9f9r67.png )
sorry if images dont work