9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2026-01-02 05:46:35 +00:00

Add thread count getter

This commit is contained in:
BuildTools
2020-10-23 13:59:38 +02:00
parent 527a0f5c70
commit 23136be280
2 changed files with 11 additions and 7 deletions

View File

@@ -45,6 +45,10 @@ public abstract class ParallelTerrainProvider extends DimensionalTerrainProvider
Iris.info("Thread Count changed to " + getThreads());
}
public int getThreadCount(){
return getThreads();
}
protected abstract int onGenerateColumn(int cx, int cz, int wx, int wz, int x, int z, AtomicSliver sliver, BiomeMap biomeMap, boolean sampled);
protected void onGenerateColumn(int cx, int cz, int wx, int wz, int x, int z, AtomicSliver sliver, BiomeMap biomeMap)