Transform items when touching water

Started by NoUsername28 on Sat, 10/22/2022 - 19:27

Topic category: Help with modding (Java Edition)

Last seen on 11:42, 29. Oct 2022
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Transform items when touching water
Sat, 10/22/2022 - 19:27

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?

Last seen on 14:00, 18. Dec 2022
Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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