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

Started by Axolotlzzz on Sat, 01/02/2021 - 13:52

Topic category: Help with modding (Java Edition)

Last seen on 20:13, 20. May 2022
Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do I make an item be replaced with another item?
Sat, 01/02/2021 - 13:52

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 14:53, 7. May 2022
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 20:13, 20. May 2022
Joined Dec 2020
Points:

User statistics:

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

Ok thanks.