11package net .createcobblestone .neoforge .data ;
22
3+ import net .createcobblestone .neoforge .CreateCobblestoneNeoForge ;
34import net .createcobblestone .neoforge .index .Config ;
45import net .minecraft .core .component .DataComponents ;
56import net .minecraft .core .registries .BuiltInRegistries ;
1415
1516import java .util .*;
1617
17- import static com .mojang .text2speech .Narrator .LOGGER ;
1818import static net .createcobblestone .neoforge .index .Blocks .MECHANICAL_GENERATOR_BLOCK ;
1919
2020public class GeneratorType {
@@ -56,7 +56,7 @@ public static void init() {
5656 ID_TO_TYPE .clear ();
5757 BLOCK_TO_TYPE .clear ();
5858
59- LOGGER .info ("Generator types cleared" );
59+ CreateCobblestoneNeoForge . LOGGER .info ("Generator types cleared" );
6060 }
6161
6262 public static GeneratorType initializeNewType (String id , ResourceLocation block , int generatorStress , float outputPerSecondPerRpm , int generatorStorage ){
@@ -66,7 +66,7 @@ public static GeneratorType initializeNewType(String id, ResourceLocation block,
6666
6767 GeneratorType existing = BLOCK_TO_TYPE .get (block );
6868 if (existing != null ) {
69- LOGGER .error ("Error initializing generator, generator type with block {} already exists (existing id: {}, new id: {})" ,
69+ CreateCobblestoneNeoForge . LOGGER .error ("Error initializing generator, generator type with block {} already exists (existing id: {}, new id: {})" ,
7070 block , existing .getId (), normId );
7171 return existing ;
7272 }
@@ -75,7 +75,7 @@ public static GeneratorType initializeNewType(String id, ResourceLocation block,
7575 register (type );
7676
7777 if (Config .common ().enableDebugLogging .get ()) {
78- LOGGER .info ("Generator type {} initialized with block {} generatorStress {} outputPerSecondPerRpm {} generatorStorage {}" ,
78+ CreateCobblestoneNeoForge . LOGGER .info ("Generator type {} initialized with block {} generatorStress {} outputPerSecondPerRpm {} generatorStorage {}" ,
7979 normId , block , generatorStress , outputPerSecondPerRpm , generatorStorage );
8080 }
8181 return type ;
@@ -129,7 +129,7 @@ public boolean isLoaded() {
129129 if (type != null ) return type ;
130130
131131 if (DEEPSLATE_PATHS .contains (mapped )) {
132- LOGGER .error ("Deepslate generators are now added using a data pack. Please install it from the mod page. (generator: {})" , mapped );
132+ CreateCobblestoneNeoForge . LOGGER .error ("Deepslate generators are now added using a data pack. Please install it from the mod page. (generator: {})" , mapped );
133133 }
134134 }
135135
0 commit comments