Interactio - In-World Crafting with Datapacks!

A set of utilities to add in-world crafting recipes through datapacks.

File Details

Interactio-1.16.1-3.0.0.jar

  • R
  • Aug 29, 2020
  • 170.21 KB
  • 177.9K
  • 1.16.1
  • Forge

File Name

Interactio-1.16.1-3.0.0.jar

Supported Versions

  • 1.16.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:interactio-359344:3044676")
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

Please note: Only the 1.16.1 version of this release has been tested thoroughly, which is why the other two will be marked as a beta!

 

To see the full list of changes, feel free to check out the lag-fixes-mixins branch on GitHub!

 

This update should hopefully address some performance issues by completely rewriting how crafting checks for in-world recipes are done:

Instead of using the world tick event, this mod now uses mixins into ItemEntity, which should hopefully improve performance by a significant margin (and actually makes my work a fair bit easier as well)

 

Here's a short summary of the most important changes (as well as links to the relevant commits):

- Stop recipe cache from going through recipes again if none are registered

- Remove useless "busy" list of items (idk why it even existed anymore)

- Comparing stacks should now be done more efficiently: replace required ingredient list w/ set

Remove unnecessary duplicate canCraft checks

- Fluid recipes now use mixins instead of an Event Handler

- Remove DroppedItemHandler, it's no longer needed

 

Again, all of these changes are purely for performance reasons and nothing should have functionally changed, however, I am still bumping the mod version up to 3.0 as

(a) The switch to mixins as well as these other changes are pretty significant and "major" on their own and

(b) I frankly just wanted all the versions to line up again.