What do you need this for? I am not sure about shortening the hotbar but you could limit the hotbar to only 1 slot using commands. Granted it would be done by using a replace item command and replacing 8 of your slots with nothing. This would mean that if you placed anything in those slots it would be deleted.
Anyone know if it is possible to have a command to shorten the hotbar to one slot on PC?
What do you need this for? I am not sure about shortening the hotbar but you could limit the hotbar to only 1 slot using commands. Granted it would be done by using a replace item command and replacing 8 of your slots with nothing. This would mean that if you placed anything in those slots it would be deleted.
Thank you!