use of carpet.fakes.ServerChunkManagerInterface in project fabric-carpet by gnembon.
the class SpawnChunks method changeSpawnChunks.
public static void changeSpawnChunks(ServerChunkCache chunkManager, ChunkPos pos, int size) {
DistanceManager ticketManager = ((ServerChunkManagerInterface) chunkManager).getCMTicketManager();
((ChunkTicketManagerInterface) ticketManager).changeSpawnChunks(pos, size);
}
Aggregations