Backport lock crafting function for ME Interface (#423)

This commit is contained in:
Zengyj
2024-05-24 23:36:17 +11:00
committed by NotMyWing
parent a65b5015e6
commit a13f9955f2
25 changed files with 332 additions and 21 deletions
@@ -221,6 +221,11 @@ public class TileInterface extends AENetworkInvTile implements IGridTickable, II
this.duality.onChangeInventory(inv, slot, mc, removed, added);
}
@Override
public void onStackReturnNetwork(IAEItemStack stack) {
this.duality.onStackReturnedToNetwork(stack);
}
@Override
public DualityInterface getInterfaceDuality() {
return this.duality;
@@ -274,6 +279,10 @@ public class TileInterface extends AENetworkInvTile implements IGridTickable, II
return this.duality.injectCraftedItems(link, items, mode);
}
public void updateRedstoneState(){
this.duality.updateRedstoneState();
}
@Override
public void jobStateChange(final ICraftingLink link) {
this.duality.jobStateChange(link);