diff options
Diffstat (limited to 'src/main/java/dev/isxander/yacl/impl')
-rw-r--r-- | src/main/java/dev/isxander/yacl/impl/YetAnotherConfigLibImpl.java | 2 | ||||
-rw-r--r-- | src/main/java/dev/isxander/yacl/impl/utils/YaclConstants.java | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/main/java/dev/isxander/yacl/impl/YetAnotherConfigLibImpl.java b/src/main/java/dev/isxander/yacl/impl/YetAnotherConfigLibImpl.java index 7e2afdb..38112f4 100644 --- a/src/main/java/dev/isxander/yacl/impl/YetAnotherConfigLibImpl.java +++ b/src/main/java/dev/isxander/yacl/impl/YetAnotherConfigLibImpl.java @@ -4,6 +4,7 @@ import com.google.common.collect.ImmutableList; import dev.isxander.yacl.api.ConfigCategory; import dev.isxander.yacl.api.YetAnotherConfigLib; import dev.isxander.yacl.gui.YACLScreen; +import dev.isxander.yacl.impl.utils.YaclConstants; import net.minecraft.client.gui.screen.Screen; import net.minecraft.text.Text; @@ -12,6 +13,7 @@ import java.util.function.Consumer; public record YetAnotherConfigLibImpl(Text title, ImmutableList<ConfigCategory> categories, Runnable saveFunction, Consumer<YACLScreen> initConsumer) implements YetAnotherConfigLib { @Override public Screen generateScreen(Screen parent) { + YaclConstants.LOGGER.info("Generating YACL screen"); return new YACLScreen(this, parent); } } diff --git a/src/main/java/dev/isxander/yacl/impl/utils/YaclConstants.java b/src/main/java/dev/isxander/yacl/impl/utils/YaclConstants.java new file mode 100644 index 0000000..aadeb18 --- /dev/null +++ b/src/main/java/dev/isxander/yacl/impl/utils/YaclConstants.java @@ -0,0 +1,8 @@ +package dev.isxander.yacl.impl.utils; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +public class YaclConstants { + public static final Logger LOGGER = LoggerFactory.getLogger("YetAnotherConfigLib"); +} |