MightyPirates / TIS-3D

TIS-100 inspired low-tech computing in Minecraft.
https://www.curseforge.com/minecraft/mc-mods/tis-3d
Other
108 stars 35 forks source link

Instruction method requires `MachineImpl` instead of `Machine` interface #207

Open slava110 opened 1 month ago

slava110 commented 1 month ago

Hi. I'm making custom 1.20.1 mod which will have a computer capable of executing TIS-3D code. For that mod I've created custom Machine interface implementation. However, I cannot use it as an argument of instruction method here https://github.com/MightyPirates/TIS-3D/blob/5fba435bd482a7c945561d64ef08adc6868f07e5/common/src/main/java/li/cil/tis3d/common/module/execution/instruction/Instruction.java#L31 Would be cool if it would accept Machine instead of MachineImpl