Traveler's Backpack

Traveler's Backpack

34M Downloads

Can't blacklist/whitelist as tool modded items

BirbIrl opened this issue ยท 2 comments

commented

Fabric 1.20.1-9.1.8

Describe the bug:
Using
"toolSlotsAcceptableItems": [
"create",
":wrench"
],
or
"blacklistedItems": [
"create",
":wrench"
],
does not function, while referencing vanilla items like minecraft:apple does.
This was also tested with hephaestus and bits and chisels, none of which worked.

Write steps to reproduce the bug:
download TB and any other mod, launch the game. then in the config try to add a modded item. launch the game again.
You will still be able to place that modded item inside the backpack, even if it's blacklisted

Pozdrawiam + powodzenia :>

commented

you have to add items like:
"create:wrench",
...
...
not like
"create",
":wrench"

commented

update, i forgot quotes

and it reformatted it to the way i sent you
image
image

while for vanilla items it seemed to have just defaulted to {minecraft}:whateveritem for when it gets split automatically

while this is entirely my bad i think it could help other silly folk like me if you changed the comment from:
// List of items that can't be put in backpack inventory (Use registry names, for example: minecraft:apple)
to
// List of items that can't be put in backpack inventory (Use registry names in quotes and followed by commas, for example: "minecraft:apple", "minecraft:stick")