Transform items when touching water

Started by NoUsername28 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Transform items when touching water

So I made a copper sword and I want it to transform into the Oxidized copper sword (there are two different items, the normal and oxidized one) when it stays in the water for 10 seconds... How can I do this? I did read somewhere it's possible to do, but how?

Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
something like : if touching…
Tue, 11/08/2022 - 22:45

something like :

if touching block type = liquid then:

wait 10 if touching block type = liquid then:

delete item

spawn item X Y Z