geforkt von Mirrors/Paper
Make logs less annoying
Dieser Commit ist enthalten in:
Ursprung
35c2de4fd0
Commit
a403e97804
@ -3923,15 +3923,15 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+
|
||||
+import ca.spottedleaf.concurrentutil.executor.thread.PrioritisedThreadPool;
|
||||
+import ca.spottedleaf.moonrise.common.PlatformHooks;
|
||||
+import com.mojang.logging.LogUtils;
|
||||
+import org.slf4j.Logger;
|
||||
+import org.slf4j.LoggerFactory;
|
||||
+import java.util.concurrent.TimeUnit;
|
||||
+import java.util.concurrent.atomic.AtomicInteger;
|
||||
+import java.util.function.Consumer;
|
||||
+
|
||||
+public final class MoonriseCommon {
|
||||
+
|
||||
+ private static final Logger LOGGER = LoggerFactory.getLogger(MoonriseCommon.class);
|
||||
+ private static final Logger LOGGER = LogUtils.getClassLogger();
|
||||
+
|
||||
+ public static final PrioritisedThreadPool WORKER_POOL = new PrioritisedThreadPool(
|
||||
+ new Consumer<>() {
|
||||
|
@ -6811,6 +6811,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+import ca.spottedleaf.moonrise.patches.chunk_system.util.ChunkSystemSortedArraySet;
|
||||
+import com.google.gson.JsonArray;
|
||||
+import com.google.gson.JsonObject;
|
||||
+import com.mojang.logging.LogUtils;
|
||||
+import it.unimi.dsi.fastutil.longs.Long2ByteLinkedOpenHashMap;
|
||||
+import it.unimi.dsi.fastutil.longs.Long2ByteMap;
|
||||
+import it.unimi.dsi.fastutil.longs.Long2IntMap;
|
||||
@ -6832,7 +6833,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+import net.minecraft.world.level.ChunkPos;
|
||||
+import net.minecraft.world.level.chunk.LevelChunk;
|
||||
+import org.slf4j.Logger;
|
||||
+import org.slf4j.LoggerFactory;
|
||||
+import java.io.IOException;
|
||||
+import java.text.DecimalFormat;
|
||||
+import java.util.ArrayDeque;
|
||||
@ -6850,7 +6850,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+
|
||||
+public final class ChunkHolderManager {
|
||||
+
|
||||
+ private static final Logger LOGGER = LoggerFactory.getLogger(ChunkHolderManager.class);
|
||||
+ private static final Logger LOGGER = LogUtils.getClassLogger();
|
||||
+
|
||||
+ public static final int FULL_LOADED_TICKET_LEVEL = ChunkLevel.FULL_CHUNK_LEVEL;
|
||||
+ public static final int BLOCK_TICKING_TICKET_LEVEL = ChunkLevel.BLOCK_TICKING_LEVEL;
|
||||
@ -8277,6 +8277,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+import ca.spottedleaf.moonrise.patches.chunk_system.util.ParallelSearchRadiusIteration;
|
||||
+import com.google.gson.JsonArray;
|
||||
+import com.google.gson.JsonObject;
|
||||
+import com.mojang.logging.LogUtils;
|
||||
+import net.minecraft.CrashReport;
|
||||
+import net.minecraft.CrashReportCategory;
|
||||
+import net.minecraft.ReportedException;
|
||||
@ -8299,7 +8300,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+import net.minecraft.world.level.chunk.status.ChunkStep;
|
||||
+import net.minecraft.world.phys.Vec3;
|
||||
+import org.slf4j.Logger;
|
||||
+import org.slf4j.LoggerFactory;
|
||||
+import java.io.File;
|
||||
+import java.time.LocalDateTime;
|
||||
+import java.time.format.DateTimeFormatter;
|
||||
@ -8315,7 +8315,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+
|
||||
+public final class ChunkTaskScheduler {
|
||||
+
|
||||
+ private static final Logger LOGGER = LoggerFactory.getLogger(ChunkTaskScheduler.class);
|
||||
+ private static final Logger LOGGER = LogUtils.getClassLogger();
|
||||
+
|
||||
+ public static void init(final boolean useParallelGen) {
|
||||
+ for (final PrioritisedThreadPool.ExecutorGroup.ThreadPoolExecutor executor : MoonriseCommon.RADIUS_AWARE_GROUP.getAllExecutors()) {
|
||||
|
@ -9352,7 +9352,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+
|
||||
+public final class MCTypeRegistry {
|
||||
+
|
||||
+ private static final Logger LOGGER = LogUtils.getLogger();
|
||||
+ private static final Logger LOGGER = LogUtils.getClassLogger();
|
||||
+
|
||||
+ public static final MCDataType LEVEL = new MCDataType("Level");
|
||||
+ public static final MCDataType PLAYER = new MCDataType("Player");
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren