mirror of
https://github.com/GTNewHorizons/Opis.git
synced 2026-11-18 03:25:29 +00:00
Client can request a chunk status update (Packet0x02) OverlayLoadedchunk is now a singleton and will send a request packet when activated. Player status is saved in the server proxy. ChunkData is a "static" class to gather chunk related data (loaded chunks for now).
13 lines
276 B
Java
13 lines
276 B
Java
package mcp.mobius.opis.proxy;
|
|
|
|
import mapwriter.api.MwAPI;
|
|
import mcp.mobius.opis.overlay.OverlayLoadedChunks;
|
|
|
|
public class ProxyClient extends ProxyServer {
|
|
|
|
@Override
|
|
public void init(){
|
|
MwAPI.registerDataProvider("Loaded chunks", OverlayLoadedChunks.instance);
|
|
}
|
|
}
|