Vanilla "Times Crafted" stats aren't incremented as player-placed machines process recipes
James103 opened this issue ยท 3 comments
Modern Industrialization machines placed by a player store the UUID of the player that placed the machine.
This is already used in #385 to complete quest tasks whenever a player crafts an item required by a quest from FTB Quests.
However, vanilla stats are still not incremented.
To reproduce:
- Craft and place a bronze, steel or electric furnace.
- Power it (with steam or EU).
- Use hoppers or item pipes to insert clay balls into the furnace and take out the resulting bricks.
- Notice the vanilla stat "Times Crafted" for the brick item isn't automatically incrementing; however, a quest task requiring the brick item would auto-complete.
Originally found in mod pack "All of Fabric 6" version 1.5.0, which uses Modern Industrialization 1.6.3 and Minecraft 1.19.2.
Alternative to #343.
Problem: vanilla stats can only be awarded while the player is online, so this won't work very well.
Problem: vanilla stats can only be awarded while the player is online, so this won't work very well.
This could be worked around by keeping track of all the items a player's machines crafted while that player itself is offline, then awarding points to the relevant stats once the player comes online.