Faster Crouching (Forge)

Faster Crouching (Forge)

1 Downloads

"Starter Kit" mod feature suggestion: Swap/Switch inventories

WimpieRatte opened this issue ยท 0 comments

commented

Add functionality for easy switching of inventories for all players. (Not just admin/op users.)

Minecraft version: 1.20.1 & 1.21.1
Modloader: Forge (1.20.1) & Neoforge (1.21.1)
(Probably most relevant to at least request it for the latest MC version at least, but I'm currently focussing on modpacks for 1.20.1 and 1.21.1.)

Mod name: Starter Kit

Feature description

We have a multiplayer server and different friends that I sometimes play with.
In order to remain on the same "tech level" with specific friends, I'm currently manually switching my inventories every time when playing with the different friends, which is quite tedious and time consuming at the start of each gaming session.

Would it be possible to use the current functionality of "Starter Kit" to enable players to swap out their inventories with an existing kit and replace an existing kit with their current inventory inside the game?
Currently, I'm doing this manually as follows:

  1. "/starterkit add Inventory1" (to create one for my current inventory)
  2. "/starterkit activate Inventory2" (the previously saved inventory I want to load now)
  3. "/starterkit give MyPlayerName Inventory2"
  4. "/starterkit deactivate Inventory1" (to prevent a new player from randomly getting my inventory upon joining)
  5. "/starterkit deactivate Inventory2" (to prevent a new player from randomly getting my inventory upon joining)

I'm aware of the Switchy mod out there, but that doesn't work in Forge without the Sinytra Connector mod, which is a bit heavy on the compatibility problems for me...

I also noticed that doing that kind of kit swapping doesn't affect the Curios items, so I still have to do some inventory swapping manually, but at least your mod is already making things a bit easier, which is why I thought you could perhaps add a command that does functionality like above in one line.

E.g:

  1. "/starterkit AddSwapUserKit Inventory1" (creates a user + world specific kit called "Inventory1" with current inventory)
  2. "/starterkit AddSwapUserKit Inventory2" (creates a user + world specific kit called "Inventory2" with current inventory)
  3. "/starterkit SwapUserKit From Inventory1 To Inventory2" (saves current inventory into Inventory1 and loads/gives Inventory2)
    (From then on out, only step 3 will be needed whenever I need to switch.)

Alternatively, this might be better in a different mod of its own that either depends on Starter Kit or copies its coding to build something similar to how Switchy works, since teleporting to the last saved location or preserving experience as well as a part of the saved profile/kit might also be a nice extra feature, etc.