mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-06-17 14:21:08 +00:00
demote tag log messages to debug
This commit is contained in:
@@ -122,7 +122,7 @@ public final class FabricUtil {
|
|||||||
RegistryEntry<net.minecraft.world.biome.Biome> vanilla = getEntry(registry, vb).orElseThrow();
|
RegistryEntry<net.minecraft.world.biome.Biome> vanilla = getEntry(registry, vb).orElseThrow();
|
||||||
terraBiomes.forEach(tb -> {
|
terraBiomes.forEach(tb -> {
|
||||||
RegistryEntry<net.minecraft.world.biome.Biome> terra = getEntry(registry, tb).orElseThrow();
|
RegistryEntry<net.minecraft.world.biome.Biome> terra = getEntry(registry, tb).orElseThrow();
|
||||||
logger.info(vanilla.getKey().orElseThrow().getValue() + " (vanilla for " + terra.getKey().orElseThrow().getValue() + ": " +
|
logger.debug(vanilla.getKey().orElseThrow().getValue() + " (vanilla for " + terra.getKey().orElseThrow().getValue() + ": " +
|
||||||
vanilla.streamTags().toList());
|
vanilla.streamTags().toList());
|
||||||
vanilla.streamTags()
|
vanilla.streamTags()
|
||||||
.forEach(tag -> collect.computeIfAbsent(tag, t -> new ArrayList<>())
|
.forEach(tag -> collect.computeIfAbsent(tag, t -> new ArrayList<>())
|
||||||
@@ -133,10 +133,12 @@ public final class FabricUtil {
|
|||||||
|
|
||||||
registry.populateTags(ImmutableMap.copyOf(collect));
|
registry.populateTags(ImmutableMap.copyOf(collect));
|
||||||
|
|
||||||
registry.streamEntries()
|
if(logger.isDebugEnabled()) {
|
||||||
.map(e -> e.registryKey().getValue() + ": " +
|
registry.streamEntries()
|
||||||
e.streamTags().reduce("", (s, t) -> t.id() + ", " + s, String::concat))
|
.map(e -> e.registryKey().getValue() + ": " +
|
||||||
.forEach(logger::info);
|
e.streamTags().reduce("", (s, t) -> t.id() + ", " + s, String::concat))
|
||||||
|
.forEach(logger::debug);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static net.minecraft.world.biome.Biome createBiome(Biome biome, net.minecraft.world.biome.Biome vanilla) {
|
public static net.minecraft.world.biome.Biome createBiome(Biome biome, net.minecraft.world.biome.Biome vanilla) {
|
||||||
|
|||||||
Reference in New Issue
Block a user