- Sky
- Blueberry
- Slate
- Blackcurrant
- Watermelon
- Strawberry
- Orange
- Banana
- Apple
- Emerald
- Chocolate
- Charcoal
MrJake222
-
Content Count
2 -
Joined
-
Last visited
Posts posted by MrJake222
-
-
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
More recent documentation on API usage?
in Programming
Posted
Hi,
I'm trying to implement Environment on my TileEntity and all I'm getting without OpenComputers installed is
Is there more modern way of handling this, as for .1.14 Optional is being removed? For ex. capabilities? The docs on the API are 6 years old...