File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
src/main/java/net/swedz/tesseract/neoforge/compat/mi/hook Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -23,20 +23,18 @@ public final class MIHookTracker
2323 private static final Map <ResourceLocation , String > REI_CATEGORY_NAMES = Maps .newConcurrentMap ();
2424 private static final Map <ResourceLocation , MachineModelProperties > MACHINE_MODELS = Maps .newConcurrentMap ();
2525 private static final Map <String , List <Consumer <MachineCasingModelsMIHookDatagenProvider >>> MACHINE_CASING_MODELS = Maps .newConcurrentMap ();
26-
26+
2727 public static void registerRecipeCategoryForMachines (IEventBus bus )
2828 {
2929 bus .addListener (FMLCommonSetupEvent .class , (event ) ->
30- {
31- REI_CATEGORY_IDS .forEach (ReiMachineRecipes ::registerRecipeCategoryForMachine );
32- });
30+ REI_CATEGORY_IDS .forEach (ReiMachineRecipes ::registerRecipeCategoryForMachine ));
3331 }
34-
32+
3533 public static void addReiCategoryId (ResourceLocation machineId , ResourceLocation categoryId )
3634 {
3735 REI_CATEGORY_IDS .put (machineId , categoryId );
3836 }
39-
37+
4038 public static List <Map .Entry <ResourceLocation , String >> getReiCategoryNames (String modId )
4139 {
4240 return REI_CATEGORY_NAMES .entrySet ().stream ()
You can’t perform that action at this time.
0 commit comments