Hello, I'm trying to use Open Computer to monitor other mods working status. The ideal target is, showing change rate of water amount in a tank in Open Computer screen, and dump it into .csv file to do further research using external software. Since there are many type of data to collect, so directly read NBT data may be a good approach.
So I started to write an add-on. But facing problems:
2. I tried the example in development environment. However, the analyzer do show the name of component but not address. And the computer can not invoke the component. After compile the code into jar file and use in a normal minecraft environment, it works. I've also tried another add-on OpenSecurity. And it can not work as source code nor jar (in eclipse/mods folder) in develop environment. Open Computer build-in component works well.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Hello, I'm trying to use Open Computer to monitor other mods working status. The ideal target is, showing change rate of water amount in a tank in Open Computer screen, and dump it into .csv file to do further research using external software. Since there are many type of data to collect, so directly read NBT data may be a good approach.
So I started to write an add-on. But facing problems:
1. How to return complex data (which lua would regard as a nesting table) in a callback function? The example (https://github.com/MightyPirates/OpenComputers/blob/master-MC1.7.10/src/main/java/li/cil/oc/api/README.md) only return a string.
2. I tried the example in development environment. However, the analyzer do show the name of component but not address. And the computer can not invoke the component. After compile the code into jar file and use in a normal minecraft environment, it works. I've also tried another add-on OpenSecurity. And it can not work as source code nor jar (in eclipse/mods folder) in develop environment. Open Computer build-in component works well.
Any help will be appreciated!
Link to post
Share on other sites