Client client;
static NetGetBiomeDataResult currentResults = null;
public RemoteMinecraft(String address) {
client = new Client(65536, 65536);
Kryo kryo = client.getKryo();
kryo.register(NetCreateWorldRequest.class);
kryo.register(NetGetBiomeDataRequest.class);
kryo.register(NetGetBiomeDataResult.class);
kryo.register(NetBiome.class);
kryo.register(NetBiome[].class);
kryo.register(NetInfoRequest.class);
kryo.register(int[].class);
client.addListener(new Listener() {
@Override
public void received(Connection connection, Object object) {
if (object instanceof NetGetBiomeDataResult) {