improve world gen/retrieve message
This commit is contained in:
+1
-1
@@ -102,7 +102,7 @@ public abstract class AbstractLodRequestState
|
|||||||
remainingChunkCount += this.retrievalQueue.getQueuedChunkCount();
|
remainingChunkCount += this.retrievalQueue.getQueuedChunkCount();
|
||||||
String remainingChunkCountStr = F3Screen.NUMBER_FORMAT.format(remainingChunkCount);
|
String remainingChunkCountStr = F3Screen.NUMBER_FORMAT.format(remainingChunkCount);
|
||||||
|
|
||||||
String message = "DH is "+this.retrievalQueue.getRetrievalTypeName()+" chunks. ";
|
String message = "DH is "+this.retrievalQueue.getRetrievalTypeName()+". ";
|
||||||
if (this.dhLevel.getClass() == DhServerLevel.class)
|
if (this.dhLevel.getClass() == DhServerLevel.class)
|
||||||
{
|
{
|
||||||
// server levels can have multiple world generators running at once,
|
// server levels can have multiple world generators running at once,
|
||||||
|
|||||||
+1
-1
@@ -52,7 +52,7 @@ public class RemoteWorldRetrievalQueue extends AbstractFullDataNetworkRequestQue
|
|||||||
public byte highestDataDetail() { return LodUtil.BLOCK_DETAIL_LEVEL; }
|
public byte highestDataDetail() { return LodUtil.BLOCK_DETAIL_LEVEL; }
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getRetrievalTypeName() { return "downloading"; }
|
public String getRetrievalTypeName() { return "downloading LODs"; }
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public CompletableFuture<DataSourceRetrievalResult> submitRetrievalTask(long sectionPos, byte requiredDataDetail)
|
public CompletableFuture<DataSourceRetrievalResult> submitRetrievalTask(long sectionPos, byte requiredDataDetail)
|
||||||
|
|||||||
+1
-1
@@ -593,7 +593,7 @@ public class WorldGenerationQueue implements IFullDataSourceRetrievalQueue, IDeb
|
|||||||
@Override public byte lowestDataDetail() { return this.lowestDataDetail; }
|
@Override public byte lowestDataDetail() { return this.lowestDataDetail; }
|
||||||
@Override public byte highestDataDetail() { return this.highestDataDetail; }
|
@Override public byte highestDataDetail() { return this.highestDataDetail; }
|
||||||
|
|
||||||
@Override public String getRetrievalTypeName() { return "generating"; }
|
@Override public String getRetrievalTypeName() { return "generating chunks"; }
|
||||||
|
|
||||||
@Override public int getEstimatedRemainingTaskCount() { return this.estimatedRemainingTaskCount; }
|
@Override public int getEstimatedRemainingTaskCount() { return this.estimatedRemainingTaskCount; }
|
||||||
@Override public void setEstimatedRemainingTaskCount(int newEstimate) { this.estimatedRemainingTaskCount = newEstimate; }
|
@Override public void setEstimatedRemainingTaskCount(int newEstimate) { this.estimatedRemainingTaskCount = newEstimate; }
|
||||||
|
|||||||
Reference in New Issue
Block a user