Skip to content

feature: refined storage compatibility#26

Draft
Roelymole wants to merge 2 commits into
minecraft/1.21from
feature/refined-storage-compat
Draft

feature: refined storage compatibility#26
Roelymole wants to merge 2 commits into
minecraft/1.21from
feature/refined-storage-compat

Conversation

@Roelymole

Copy link
Copy Markdown
Member

The purpose of this PR is to provide a way to register a custom implementation of the insert method for certain machines such as the Circuit Fabricator and (Electric) Compressor in order to support autocrafting with the Refined Storage mod (and to a certain extent, using pipes and hoppers).

The issue for the Circuit Fabricator is that the silicon gets put in the same slot, but a MachineInsertHandler can be used to split silicon between both slots.

The issue for the (Electric) Compressor is similar, however it will need to determine which recipe the ingredients match (hopefully uniquely) and then rearrange them into the correct arrangement in the grid.

Also fixes a crash on dedicated servers when trying to autocraft using Galacticraft machines.

…om behaviour when inserting resources

e.g. to split silicon between the two slots in the circuit fabricator
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

Successfully merging this pull request may close these issues.

1 participant