Added the following pieces and parts to achieve EMI compatibility:
EMI modImplementation dependency
EMI version in gradle.properties
EMI entiry point in fabric.mod.json
Recipe Categories for both Channeling and Scripting
EmiRecipe wrappers for both archon recipe types to handle the widget layout, inputs, outputs, etc.
A transfer handler for Scripting so recipes can be auto-added to the table from player inventory with a + button.
Some notes:
I added two textures into the gui folder.
A small sprite sheet for EMI's recipe tree that depicts the recipes types in a simplistic way. See below for an example of the tree with a scripting recipe and it's little icon.
A transparent cutout of the Scripting Table background. This is because EMI handles rendering the gray background, borders, etc, and can have resource packs that change this background. As such widgets used with EMI are transparent so as not to stick out when the resource pack is changed (to dark mode etc)
I tried to make some comments in the new code to hopefully provide some insight in case you wanted to poke around and see what an EMI plugin looks like.
Screenshots
Scripting plugin recipes:
Channeling plugin recipes:
An example of a scripting recipe shown in EMI's recipe tree. Note the little scripting icon :) :
Added the following pieces and parts to achieve EMI compatibility:
Some notes:
Screenshots
Scripting plugin recipes:
Channeling plugin recipes:
An example of a scripting recipe shown in EMI's recipe tree. Note the little scripting icon :) :