Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

MrJake222

Members
  • Content Count

    2
  • Joined

  • Last visited

  1. Hi, I'm trying to implement Environment on my TileEntity and all I'm getting without OpenComputers installed is java.lang.NoClassDefFoundError: li/cil/oc/api/network/Environment 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...
  2. 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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.