use of net.minecraft.server.level.DistanceManager 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