How to change provided item ?

Started by MISHRED on

Topic category: Help with modding (Java Edition)

Last seen on 11:25, 2. Apr 2020
Joined Jun 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to change provided item ?

Hey! Imma new at MCreator. i want to make a flip knife, which open then i rightclick, holding in mainhand closed flip knife.
my procedure is:
(global event: when rightclick on air)
remove 1 (flip_knife_closed) from provided players inventory
add 1 (flpp_knife_opened) to provided players inventory
BUT! 
When i rightclick on air, my flip knife removes from hand on a second, and again adds to my hand, and i cannot get my opened flip knife
Please help me ;)

Last seen on 09:48, 26. Sep 2022
Joined Jun 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hmmm same problem here, I…
Sun, 05/03/2020 - 04:23

Hmmm same problem here, I think the problem is because when it changed to opened mod and right after that, changed to closed mod. It was to fast that you think it doesnt change. I still dont know if there any good solution :((

 

Last seen on 09:48, 26. Sep 2022
Joined Jun 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Klemen, you have any good…
Mon, 05/04/2020 - 16:10

Klemen, you have any good ways to do this ?