How to change hotbar slot

Started by TutlaMC on

Topic category: Help with MCreator software

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to change hotbar slot

I am making a mod for crystal pvp just like: https://modrinth.com/mod/clickcrystals which works like this: (cause they're not updating it and I don't know java I know python)

 

(BTW it has many features but I'm mentioning the ones which I need help with)
1. When hit obsidian with a sword it changes to crystal slot(It can be a certain slot you don't need to give options to change it)

2. When middle click on crystal changes to anchor or when right clicked sword changes to anchor slot

3.When places anchor it should switch to glowstone slot and change back into anchor after filled once with glowstone.

 

And all of this should be client-side so it works on servers without fabric or without this mod.

 

Also I am using the fabric generator but you can give the forge alternative i just want help

Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you cannot change the hotbar…
Sun, 06/25/2023 - 16:11

you cannot change the hotbar slot the player has on, but you can switch around the items in the inventory, so for example you swing with the sword in your 1 slot and then the crystals will move to ur 1 slot and ur sword moves

 

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
But how can you show me an…
Mon, 06/26/2023 - 16:08

But how can you show me an image and is this client-side (meaning if I use it on another server will it work?)