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)
                {
                    currentResults = (NetGetBiomeDataResult)object;
                    // Log.i("Received NetGetBiomeDataResult: " + currentResults);
                }
                else if (object instanceof NetBiome[])
                {
                    NetBiome[] biomes = (NetBiome[])object;
                    for (int i = 0; i < biomes.length; i++)
                    {
                        if (biomes[i] != null)
                        {
                            new Biome(biomes[i].name, biomes[i].id, biomes[i].color | 0xFF000000, true);
                        }
                    }
                }
            }
        });

        client.start();
        try
        {
            client.connect(5000, address, 54580, 54580);
        }
        catch (IOException e)
        {
            e.printStackTrace();
        }

        client.sendTCP(new NetInfoRequest());

    }