Darkhax-Minecraft / ItemStages

Allows items to be put into stages.
GNU Lesser General Public License v2.1
7 stars 18 forks source link

Allowing Pickup by Tag Not Functioning (1.16.5) #80

Closed Squeetsquib closed 2 years ago

Squeetsquib commented 2 years ago

ItemStages.restrict(, "paladin").preventPickup(false);

This string does not seem to work, gating an item behind the tag "paladin" does not allow pickup of said item.

example: .add();

(no errors in syntax, not an enchanted item, script is saved as zs, tried with / without other mods). (ItemStages-Forge-1.16.5-3.0.9 and GameStages-Forge-1.16.5-7.3.13) Tried this with other non-vanilla items as well and no luck.

Squeetsquib commented 2 years ago

I'm guessing this is out of development and not to expect a response?

Darkhax commented 2 years ago

This feature has been tested and is working as intended. The examples you have written here have an invalid tag syntax. You can find a working example here.

Please note that tags are not synced to the client. This means that client-specific features such as tooltip changes will not be applied to tag based restrictions on a dedicated server. This is a vanilla limitation and is outside the scope of this mod.