How to change provided item ?

Started by MISHRED on

Topic category: Help with Minecraft modding (Java Edition)

Active 5 years ago
Joined Jun 2018
Points:
680

User statistics:

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

Active 2 years ago
Joined Jun 2017
Points:
896

User statistics:

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

 

Active 2 years ago
Joined Jun 2017
Points:
896

User statistics:

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

Klemen, you have any good ways to do this ?