Skip to content

Commit a36cbad

Browse files
committed
[#51] Start an implementation for getCraftingTasks and cancelCraftingTasks
1 parent ab7cdd8 commit a36cbad

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

src/main/java/de/srendi/advancedperipherals/common/addons/computercraft/peripheral/MeBridgePeripheral.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -598,6 +598,16 @@ public final MethodResult craftFluid(IComputerAccess computer, IArguments argume
598598
return MethodResult.of(true);
599599
}
600600

601+
@Override
602+
public MethodResult getCraftingTasks() {
603+
return null;
604+
}
605+
606+
@Override
607+
public MethodResult cancelCraftingTasks(IArguments arguments) throws LuaException {
608+
return null;
609+
}
610+
601611
@Override
602612
@LuaFunction(mainThread = true)
603613
public final MethodResult isItemCraftable(IArguments arguments) throws LuaException {

src/main/java/de/srendi/advancedperipherals/common/addons/computercraft/peripheral/RsBridgePeripheral.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,16 @@ public final MethodResult craftFluid(IComputerAccess computerAccess, IArguments
460460
return MethodResult.of(type == CalculationResultType.OK);
461461
}
462462

463+
@Override
464+
public MethodResult getCraftingTasks() {
465+
return null;
466+
}
467+
468+
@Override
469+
public MethodResult cancelCraftingTasks(IArguments arguments) throws LuaException {
470+
return null;
471+
}
472+
463473
@Override
464474
@LuaFunction(mainThread = true)
465475
public final MethodResult isItemCrafting(IArguments arguments) throws LuaException {

src/main/java/de/srendi/advancedperipherals/common/util/inventory/IStorageSystemPeripheral.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ public interface IStorageSystemPeripheral {
8383

8484
MethodResult craftItem(IComputerAccess computer, IArguments arguments) throws LuaException;
8585

86+
MethodResult getCraftingTasks();
87+
88+
MethodResult cancelCraftingTasks(IArguments arguments) throws LuaException;
89+
8690
MethodResult craftFluid(IComputerAccess computer, IArguments arguments) throws LuaException;
8791

8892
MethodResult isItemCraftable(IArguments arguments) throws LuaException;

0 commit comments

Comments
 (0)