Question about blacklist.json5
alvedder opened this issue ยท 4 comments
Hello! Could you please help with configuring blacklist.json5 file? I don't want enchanted books to be sorted, so I added in blacklist.json5 the id of this item "minecraft:enchanted_book":
{
"blacklistedInventories": [
"minecraft:enchanted_book"
]
}
but those are still sorted. How to properly configure this file?
So if I wrote for example
{
"blacklistedInventories": [
"minecraft:chest"
]
}
then all chests won't be sorted, but shulkerboxes, barrels, etc are still sortable, am I right?
Unfortunately it doesn't work per block, it uses the internal name for the screen. A lot of blocks re use the same screen for their inventories.
Chests and barrels use:
net.minecraft.client.gui.screen.ingame.GenericContainerScreen
Shulkers use:
net.minecraft.client.gui.screen.ingame.ShulkerBoxScreen
This blacklist is for blacklisting inventories from being sorted, not for items. That would be a good feature to add though