iChun / BackTools

Renders the last tool on your back for aesthetic purposes.
GNU Lesser General Public License v3.0
10 stars 4 forks source link

[recommendation] add dedicated json format for adding and removing items to black/white list #11

Closed ghost closed 3 years ago

ghost commented 3 years ago

How do you blacklist items or classes?

I've added ItemTool to the blacklist, yet tools still show up.

A dedicated regular .json, for adding/removing specific items, would be great.

Such as:

Add: { minecraft:shield }

Remove: { minecraft:pickaxe }

iChun commented 3 years ago

JSONs are unnecessary for simple configs like these. Most users do not change configs of mods outside of the box.

You cannot blacklist or whitelist classes, only the registered names for the item. The configs have options for either and their comments should tell you how to use them.

ghost commented 3 years ago

general {

backtools.config.prop.blacklistedItemClasses.comment [default: ]

S:blacklistedItemClasses <

 >

}

That's the 1.12.2 config. Where does it say use registered names? It says Item Classes.

How do you use this config, then? Because " their comments should tell you how to use them" isn't exactly true, as multiple people have mentioned problems understanding formatting.

iChun commented 3 years ago

1.12.2 is no longer supported. I'm referring to the builds of the mod on 1.16 and later. These configs use the full class path of the class so something like net.minecraft.item.ItemTool or something like that. One per line.

On Mon, 8 Mar 2021, 1:42 pm roccscout, notifications@github.com wrote:

general {

backtools.config.prop.blacklistedItemClasses.comment [default: ]

S:blacklistedItemClasses <

}

That's the 1.12.2 config. Where does it say use registered names? It says Item Classes.

How do you use this config, then? Because " their comments should tell you how to use them" isn't exactly true, as multiple people have mentioned problems understanding formatting.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/iChun/BackTools/issues/11#issuecomment-792480876, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARRETEZO4F3WACR44TNTVLTCRPS7ANCNFSM4YW5IAXA .