How to change the hotbar slot?

Started by Mara_Is_My_Dog on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2021
Points:

User statistics:

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

I want to make a simple autoscroller that could be used for random building! However, i can't seem to find a procedure that can help me change the currecnt slot. Does anyone know the answer to this?

Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Got it! Thank you soooo much!
Thu, 11/11/2021 - 17:39

Got it! Thank you soooo much!

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The way I do it is by…
Fri, 11/12/2021 - 15:12

The way I do it is by creating a temp block which has a procedure in it that uses the random chance template to do random block building. You have to use the When Block Added trigger for this to work. 

And this is the result of placing 10 of the temp blocks in a line.

Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Wait, wouldn't that just let…
Sat, 11/13/2021 - 14:17

Wait, wouldn't that just let you scroll through those blocks? Would be kinda nice if you could do it no matter what was in your hotbar :)

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yea it will only go through…
Wed, 11/17/2021 - 16:59

Yea it will only go through the blocks you have specified.