MrJake222 0 Posted June 29, 2019 Share Posted June 29, 2019 Hi, I'm having a hard time getting my mod to work with OpenComputers. I've followed the GitHub readme on SimpleComponent: @Override public String getComponentName() { return "base_block"; } @Callback @Optional.Method(modid = "OpenComputers") public Object[] greet(Context context, Arguments args) { return new Object[]{String.format("Hello, %s!", args.checkString(0))}; } Basically copied the code. And it's giving me this error: [00:51:57] [Client thread/WARN] [OpenComputers]: Failed injecting component logic into class mrjake.aunis.tileentity.StargateBaseTile. java.lang.AssertionError: Couldn't find 'validate' in template implementation. Any help appreciated Quote Link to post Share on other sites
Hi,
I'm having a hard time getting my mod to work with OpenComputers. I've followed the GitHub readme on SimpleComponent:
Basically copied the code. And it's giving me this error:
[00:51:57] [Client thread/WARN] [OpenComputers]: Failed injecting component logic into class mrjake.aunis.tileentity.StargateBaseTile. java.lang.AssertionError: Couldn't find 'validate' in template implementation.
Any help appreciated
Link to post
Share on other sites