Posted 11 November 2012 - 12:49 AM
Right, so I have this:
But I have no idea how to put in the arguments received from the computer into the x, y, z arguments of the World.getBlockId() part, can anyone help me?
Yes, I am literally just starting to learn java.
public Object[] callMethod(IComputerAccess computer, int method,
Object[] arguments) throws Exception {
switch(method) {
case 0:
return new Object[] World.getBlockId();
}
}
But I have no idea how to put in the arguments received from the computer into the x, y, z arguments of the World.getBlockId() part, can anyone help me?
Yes, I am literally just starting to learn java.