Closed hatkidchan closed 7 months ago
You should be able to change the content of the first bar by changing typeToAccess1. If you want to have modded items in the first bar, you have to change it to stuff and the modded items to stuff, either manualy or using the command. But yes, you can only change the content of stuff manualy, the others are more or less hard coded. To be specific, they contain all items that extend a certain Minecraft class, if that tells you anything. Sorry if not, but I don't know how I could explain it. That is also the reason why the fishing rod is not in the "tools" type, because it doesn't extend ToolItem. If you want a second changable type or all types changable you unfortunately have to ask someone else to fork this mod, because I will not have the time/motivation to work on it for a longer while. Sorry.
Aha, so the only way to add custom items at all is to move it into stuff.json
and change type of first bar. I looked over the source quickly and apparently I can't have multiple stuff
-like sets (it's hardcoded), nor I can use wildcards in item names (like minecraft:*_sword
)
I know literally nothing about MC Modding, so I doubt I'd be able to add functionality I like myself. Though, maybe at some point I will, in which case I think your license allows creation of a fork? (fyi, you made a typo in LICENSE
file)
Thats why I mentioned forking in my response, yes. ;)
Currently as I can tell you can only change second "stuff" hotbar. However, some mods add custom tools (examples: Wrench from Create, Network tool from AE2, etc). I couldn't find an option in the config to alter that and
/wta
command only lets you to changestuff
set. Also, vanilla bow and fishing rod are apparently not part of the "tools" set?