Inventory Profiles Next

Inventory Profiles Next

23M Downloads

[FEATURE] Add in game configuration for unknown screens.

Dr-WeiAL opened this issue · 16 comments

commented

For example
Applied Energistics 2
image
Storage Drawers
image
Farming for Blockheads
image

There are too many, can you make a custom configuration to disable buttons on some interfaces?

commented

If you have list of mods that provide just storage I would appreciate it if you post it here too.

I am using version 1.18.1. At this stage, there are relatively few mods. The ones I am using need to be sorted out:

sophisticatedbackpacks
expandedstorage
storagecabinet

It seems that only these need to be sorted
The interface of other mods I added shouldn’t need to be sorted

commented

expandedstorage should work fine if you use the full UI and have gui scaling set to 2

commented

There is no whitelist.
I am thinking about adding in game gui to configure the mod for the currently active screen, but I haven't started yet.
The best case scenario is the mods to use our API to mark their UIs. But I have little success, so far just we have couple mods using it like Better End/Nether

commented

There is no whitelist. I am thinking about adding in game gui to configure the mod for the currently active screen, but I haven't started yet. The best case scenario is the mods to use our API to mark their UIs. But I have little success, so far just we have couple mods using it like Better End/Nether

I think we can make a white list, because there are not many GUIs to sort out, most of which are storage class mod. Rather than canceling the display in the GUI one by one, let it have a choice of which GUIs can be sorted.

commented

implementing a whitelist won't be a problem.

But there is more to just enable or disable. Applied Energistics 2 for example has storage and non storage. but they all are represented by a single class. Some other offer oversized stacks which we can't really support without help from their developers. I'm exploring several different ways to handle these how ever it takes time.

Also there is a setting that will disable ipn for all non vanilla screens and containers. Gui Settings -> Enable for all screen.. or something like that

commented

If you have list of mods that provide just storage I would appreciate it if you post it here too.

commented

sophisticatedbackpacks is one of the complicated cases. if you don't use the overstaking it's fine otherwise the sorting will just ignore slots with more the normal number of items

commented

expandedstorage should work fine if you use the full UI and have gui scaling set to 2

These mods show that everything is normal when using the sorting function. The problem is that there are too many other mods that do not need the sorting function.

Ok. . I think I should talk about this in discord, there is too much talk here

commented

there is a custom configuration it's located config/inventoryprofilesnext/ModIntegrationHints.json

it supports moving the buttons and disabling all IPN operations the default file should contain all enough information on what is supported.

if you enable the debug you can get the class names of the screens and the containers
Mod Settings -> debug set to true
then close the config and open it again
there will be Debugs section there you need to enable trace_logs

after that every time you open a screen the class name will be in the logs

I will be very grateful if you contribute your config.
the current build in config is here https://github.com/blackd/Inventory-Profiles/blob/all-in-one/common/src/main/resources/assets/inventoryprofilesnext/config/ModIntegrationHints.json

commented

there is a custom configuration it's located config/inventoryprofilesnext/ModIntegrationHints.json

it supports moving the buttons and disabling all IPN operations the default file should contain all enough information on what is supported.

if you enable the debug you can get the class names of the screens and the containers Mod Settings -> debug set to true then close the config and open it again there will be Debugs section there you need to enable trace_logs

after that every time you open a screen the class name will be in the logs

I will be very grateful if you contribute your config. the current build in config is here https://github.com/blackd/Inventory-Profiles/blob/all-in-one/common/src/main/resources/assets/inventoryprofilesnext/config/ModIntegrationHints.json

I tried it, and it did work, but there are too many GUIs that need to be changed. Is there a similar way to add a whitelist GUI?

commented

there is a beta version of the in game gui editor

https://github.com/blackd/Inventory-Profiles/suites/5167505514/artifacts/156575350

if you want to try it and give feedback.

commented

there is a beta version of the in game gui editor

https://github.com/blackd/Inventory-Profiles/suites/5167505514/artifacts/156575350

if you want to try it and give feedback.

This is really great! But there are still some problems.
First of all, it has an additional sorting button in the creative mode inventory, and it cannot be canceled.
image
Secondly it doesn't seem to be able to hide a single button? Only hide all or show all.
For example, some mods add something like a furnace. According to the vanilla furnace, there is only a button to move matching items, but it is either fully hidden or fully displayed.
image
image
Also, its button settings don't seem to be saved? When setting the next GUI, the settings of the previous GUI are invalid.

hmmm.... Only these problems have been found at this stage, and I will add them when there are others.

commented

about stuff not being saved
can you post the content of config/inventoryprofilesnext/integrationhits folder

commented
  • Vanilla screens are still under development.
  • Currently there are no plans to make it possible to hide individual buttons
commented

I thought you were offline at this time, I said on discord

commented

well it's ready watch out for new release shortly