How can I change the amount of hotbar slots?

User avatar
nfsprodriver
Member
 
Posts: 41
Joined: Sun Nov 10, 2013 18:25

How can I change the amount of hotbar slots?

by nfsprodriver » Sun Apr 20, 2014 21:14

It is said in the topic... I've been searching for this option throught many many files in minetest: No success. Can you help me? Thanks in advice!
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

Re: How can I change the amount of hotbar slots?

by PilzAdam » Sun Apr 20, 2014 21:21

 

User avatar
nfsprodriver
Member
 
Posts: 41
Joined: Sun Nov 10, 2013 18:25

Re: How can I change the amount of hotbar slots?

by nfsprodriver » Sun Apr 20, 2014 22:09

Oh yes, thank you man!!! I only needed that line. Very cool!
 

ssa
New member
 
Posts: 5
Joined: Wed Oct 22, 2014 14:47
In-game: ssa

Re: How can I change the amount of hotbar slots?

by ssa » Wed Oct 22, 2014 14:49

Don't work for me! I can execute most server commands, but this one is tough for me to grasp. It takes the command, but I still only have the default 8 hotbar slots. Any suggestions?
 

User avatar
Esteban
Member
 
Posts: 872
Joined: Sun Sep 08, 2013 13:26
GitHub: Esteban-
IRC: Esteban
In-game: Esteban

Re: How can I change the amount of hotbar slots?

by Esteban » Wed Oct 22, 2014 15:03

.
Last edited by Esteban on Fri Mar 18, 2016 14:14, edited 1 time in total.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: How can I change the amount of hotbar slots?

by rubenwardy » Wed Oct 22, 2014 16:43

/me read "PilzAdam is a chat command"
 

User avatar
Esteban
Member
 
Posts: 872
Joined: Sun Sep 08, 2013 13:26
GitHub: Esteban-
IRC: Esteban
In-game: Esteban

Re: How can I change the amount of hotbar slots?

by Esteban » Wed Oct 22, 2014 16:49

.
Last edited by Esteban on Fri Mar 18, 2016 14:14, edited 1 time in total.
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

Re: How can I change the amount of hotbar slots?

by Calinou » Wed Oct 22, 2014 17:00

By default, servers don't let you do that, although some mods may implement a /hotbar command or similar.

In Carbone, /hotbar 1-23 will change your hotbar size (the default being 16, Minecraft using 9 and minetest_game using 8).
 

User avatar
Wuzzy
Member
 
Posts: 2161
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: How can I change the amount of hotbar slots?

by Wuzzy » Wed Oct 22, 2014 17:36

For all those who don’t use Carbone, you can use the Player Tools mod to modify your hotbar size in-game. It too provides a command. The syntax is:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
/sethotbarsize <num>

Where <num> is an integer between 1 and 23. You need to have the “hotbar” privilege first.
 

ssa
New member
 
Posts: 5
Joined: Wed Oct 22, 2014 14:47
In-game: ssa

Re: How can I change the amount of hotbar slots?

by ssa » Wed Oct 22, 2014 17:39

singleplayer, local private server, I should have all privs. Player tools don't work for me.... /grant singleplayer all privs : don't do crap!......
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: How can I change the amount of hotbar slots?

by rubenwardy » Wed Oct 22, 2014 17:41

1) Is it installed and enabled correctly
2) Did you type "/grant singleplayer all" (looks like you may have done "... all privs")
 

User avatar
Napiophelios
Member
 
Posts: 752
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: How can I change the amount of hotbar slots?

by Napiophelios » Wed Oct 22, 2014 23:23

You may also want to edit or create a new "default\textures\gui_hotbar.png" to reflect the added slots
or its gonna look ridiculous and hacky.
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

Re: How can I change the amount of hotbar slots?

by Calinou » Fri Oct 24, 2014 18:19

Napiophelios wrote:You may also want to edit or create a new "default\textures\gui_hotbar.png" to reflect the added slots
or its gonna look ridiculous and hacky.


The best idea is to have an one-dimensional hotbar texture, so that it stretches painlessly.
 

User avatar
Wuzzy
Member
 
Posts: 2161
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: How can I change the amount of hotbar slots?

by Wuzzy » Sat Oct 25, 2014 09:01

Or even better: Just have a texture on a per-slot basis (as an alternative in Minetest), so you don’t have to draw a new texture for every time the number of slots changes.
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

Re: How can I change the amount of hotbar slots?

by Calinou » Sat Oct 25, 2014 18:06

Wuzzy wrote:Or even better: Just have a texture on a per-slot basis (as an alternative in Minetest), so you don’t have to draw a new texture for every time the number of slots changes.


Yes, I would have liked that. It seems smarter.

In the same vein, animation length should be specified in frames per second, not total animation length to not break texture packs that use more or less frames.
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 12 guests

cron