Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interactions with items does not increment relevant statistics #70

Open
Compsogbrickus opened this issue Apr 15, 2023 · 0 comments
Open

Comments

@Compsogbrickus
Copy link

Opening any items listed under "Enabled Items" in the mod settings does not increment the relevant vanilla statistic. In most cases, this is probably not an issue, but datapacks that detect if a player has opened an interface rely on these statistics to operate.

An example of the ramifications of this issue:
I'm currently updating a datapack I wrote to reduce inventory and recipe clutter to 1.19.4, and while I really like this mod and actively use it, I won't be able to support part of it without this feature. I need to be able to check if the player has opened a particular crafting UI in order to grant them just the relevant recipes. (This massively reduces the size and complexity of NBT checks on the player, since the list of unlocked recipes is stored as player NBT data.) Currently, if you open a crafting table or stonecutter via this mod, no recipes will be available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant