This repository has been archived by the owner on Mar 8, 2024. It is now read-only.
forked from bartimaeusnek/bartworks
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Buff htgr * More buff + Fake recipe map * fix * spotlessApply (#194) Co-authored-by: Jakub <[email protected]> Co-authored-by: GitHub GTNH Actions <> * bw * Fix * Bigger buff, fixes * Fix insane time Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Former-commit-id: eb255c885d901d1d541ad694e022aa96d002d202
- Loading branch information
1 parent
6d924ce
commit 579b4f7
Showing
4 changed files
with
117 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
src/main/java/com/github/bartimaeusnek/bartworks/neiHandler/BW_NEI_HTGRHandler.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package com.github.bartimaeusnek.bartworks.neiHandler; | ||
|
||
import codechicken.nei.recipe.GuiCraftingRecipe; | ||
import codechicken.nei.recipe.GuiUsageRecipe; | ||
import com.github.bartimaeusnek.bartworks.MainMod; | ||
import cpw.mods.fml.common.event.FMLInterModComms; | ||
import gregtech.api.util.GT_Recipe; | ||
import gregtech.nei.GT_NEI_DefaultHandler; | ||
|
||
public class BW_NEI_HTGRHandler extends GT_NEI_DefaultHandler { | ||
public BW_NEI_HTGRHandler(GT_Recipe.GT_Recipe_Map aRecipeMap) { | ||
super(aRecipeMap); | ||
if (!NEI_BW_Config.sIsAdded) { | ||
FMLInterModComms.sendRuntimeMessage( | ||
MainMod.instance, | ||
"NEIPlugins", | ||
"register-crafting-handler", | ||
"bartworks@" + this.getRecipeName() + "@" + this.getOverlayIdentifier()); | ||
GuiCraftingRecipe.craftinghandlers.add(this); | ||
GuiUsageRecipe.usagehandlers.add(this); | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
src/main/java/com/github/bartimaeusnek/bartworks/neiHandler/IMCForNEI.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters