Transform items when touching water

Started by NoUsername28 on

Topic category: Help with Minecraft modding (Java Edition)

Active 2 years ago
Joined Jul 2022
Points:
331

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 9
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?

Active 4 months ago
Joined Sep 2021
Points:
590

User statistics:

  • Modifications: 1
  • Forum topics: 14
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 72
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