Alchemistry

Alchemistry

16M Downloads

Combiner Recipe lock does not work for 1.18.x with Mekanism Logistical pipes

Ragnaraven opened this issue ยท 0 comments

commented

https://github.com/SmashingMods/Alchemistry/compare/1.18.x...Ragnaraven:Alchemistry:fix/1.18.x-mekanism-pipes-combiner-lock?expand=1

PR for fix above.

In short,

Place and power combiner.
Choose anything with a non-equal stack count as a recipe and lock it. (Equal stack counts might give the appearance of working since items will arrive at the same rate quite often)
Pipe in items from 2 locations using the basic logistical transporter from mekanism.
The stacks will fill as the combiner storage fills up.
Once a slot is fully filled, with recipe lock enabled, the machine still accepts items, breaking its function completely as the machine fails when recipe lock is enabled and there are unexpected stacks in any of the slots; the pipes allow too many items to be inserted.

My fix in the PR above modifies the isItemValid of the CombinerBlockEntity, forcing it to reject stacks that do not belong in that specific slot, per the locked recipe.