Skip to content

Commit

Permalink
Small refactorings for logging
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonymendez committed Aug 15, 2024
1 parent e7e24f2 commit b1ab8af
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public class FabricDataGenerator implements DataGeneratorEntrypoint {
@Override
public void onInitializeDataGenerator(
net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator fabricDataGenerator) {
ToekneeSimpleTools.LOGGER.info("Running Data Generator Init");
ToekneeSimpleTools.LOGGER.info("Running Fabric Data Generator Init");
net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator.Pack pack =
fabricDataGenerator.createPack();
pack.addProvider(ModRecipeProvider::new);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class NeoForgeDataGenerator {

@SubscribeEvent
public static void gatherData(GatherDataEvent gatherDataEvent) throws IOException {
ToekneeSimpleTools.LOGGER.info("Running Data Generator Init");
ToekneeSimpleTools.LOGGER.info("Running NeoFabric Data Generator");

DataGenerator dataGenerator = gatherDataEvent.getGenerator();
DataOutput dataOutput = dataGenerator.getPackOutput();
Expand All @@ -25,6 +25,5 @@ public static void gatherData(GatherDataEvent gatherDataEvent) throws IOExceptio

dataGenerator.addProvider(
gatherDataEvent.includeServer(), new ModRecipeProvider(dataOutput, lookupProvider));
dataGenerator.run();
}
}
1 change: 0 additions & 1 deletion neoforge/src/main/resources/META-INF/neoforge.mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ authors = "Anthony Mendez"
description = '''
Mod that adds some simple tools to the game.
'''
#logoFile = ""

[[dependencies.toeknees_simple_tools]]
modId = "neoforge"
Expand Down

0 comments on commit b1ab8af

Please sign in to comment.