From b496094ed4155595811d9e84a37e197c12ae65c6 Mon Sep 17 00:00:00 2001 From: "neoforge-mdk-automation[bot]" <173375039+neoforge-mdk-automation[bot]@users.noreply.github.com> Date: Thu, 12 Jun 2025 21:29:15 +0800 Subject: Update MDK with new output from mod generator (#2) Co-authored-by: NeoForge MDK Automation <173375039+neoforge-mdk-automation[bot]@users.noreply.github.com> --- src/main/java/com/example/examplemod/ExampleMod.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main/java/com/example/examplemod/ExampleMod.java') diff --git a/src/main/java/com/example/examplemod/ExampleMod.java b/src/main/java/com/example/examplemod/ExampleMod.java index 835a48d..5e5a0c1 100644 --- a/src/main/java/com/example/examplemod/ExampleMod.java +++ b/src/main/java/com/example/examplemod/ExampleMod.java @@ -98,12 +98,12 @@ public class ExampleMod // Some common setup code LOGGER.info("HELLO FROM COMMON SETUP"); - if (Config.logDirtBlock) + if (Config.LOG_DIRT_BLOCK.getAsBoolean()) LOGGER.info("DIRT BLOCK >> {}", BuiltInRegistries.BLOCK.getKey(Blocks.DIRT)); - LOGGER.info(Config.magicNumberIntroduction + Config.magicNumber); + LOGGER.info("{}{}", Config.MAGIC_NUMBER_INTRODUCTION.get(), Config.MAGIC_NUMBER.getAsInt()); - Config.items.forEach((item) -> LOGGER.info("ITEM >> {}", item.toString())); + Config.ITEM_STRINGS.get().forEach((item) -> LOGGER.info("ITEM >> {}", item)); } // Add the example block item to the building blocks tab -- cgit v1.2.3