Help Please?

Started by Lightfinder626 on

Topic category: Help with modding (Java Edition)

Last seen on 11:21, 27. Nov 2018
Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help Please?

So I'm trying to make a small mod with an item that changes itself to a sword when you right click and back to the other item when shift clicked or just right clicked with sword, How do I go about doing this?

Last seen on 22:39, 24. May 2020
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So, you want a item that…
Sun, 11/25/2018 - 04:02

So, you want a item that changes to a sword when you right click and vice versa?

Last seen on 11:21, 27. Nov 2018
Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
yeah I sort of figure this…
Mon, 11/26/2018 - 09:22

yeah I sort of figure this out by adding the other item and if one is in the inventory the other can't be it works it just has to be in slot 1 to work and always adds the item to slot 2 ]. now Im trying to work out how to limit the player to only being able to have 1 of the item in the inventory at a time.