How do I make an item be replaced with another item?

Started by Axolotlzzz on

Topic category: Help with modding (Java Edition)

Last seen on 15:38, 4. Nov 2023
Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make an item be replaced with another item?

I've made a clone of the Nether (which has a different name to the one in vanilla), so that I can add biomes, but I also made a copy of Flint And Steel (it also has a different name), and I'm trying to make a procedure that, when a player gets a vanilla Flint And Steel, it replaces it with the modded Flint And Steel, but it's not working, can someone help me please?

Last seen on 19:10, 4. Aug 2023
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
On player tick update If Has…
Mon, 01/04/2021 - 12:19

On player tick update

If Has Event/target entity in inventory (flint and steel)

do Remove 1 (Flint and steel) from Event/target entity main inventory

     Add 1 (your item) to Event/target entity inventory.

Last seen on 15:38, 4. Nov 2023
Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok thanks.
Sat, 01/30/2021 - 15:11

Ok thanks.