Tool Durability

Started by Phantom_PXL on

Topic category: Help with MCreator software

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Tool Durability

Hey i need some help im trying to create a sword to where when it reches a certain durability it will switch out for another item. Ive got the item swiching out working but the problem its if i have another of the same item in my inventory for example if i have a inventory of them and the one reaches the specified durability it switches them ALL.

 

Item Code Moduel

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Question what version of…
Sat, 11/28/2020 - 06:14

Question what version of mcreator are you using?

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I think this might be a bug…
Sat, 11/28/2020 - 06:57

I think this might be a bug either way I could not find a fix the only thing I know to do is have a global trigger that is for item is destroyed trigger. Sorry

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Im using 2020.2 only because…
Sat, 11/28/2020 - 14:57

Im using 2020.2 only because im making a 1.12.2 mod

 

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
would that fix the issue at…
Sat, 11/28/2020 - 14:58

would that fix the issue at all?

 

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i updated to 2020.4 before i…
Tue, 12/01/2020 - 02:08

i updated to 2020.4 before i saw this and its fixe but now ive just realized another issue when the item it replaced its put in the first empty slot on the hotbar instead of back in the main hain do you have any idea how to fix this. ive seen about using the get copy of block but it does not seem to work in the 12.2 generator