Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved NEI handlers to plugins package, added drying rack handler
- Loading branch information
Showing
15 changed files
with
249 additions
and
124 deletions.
There are no files selected for viewing
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 was deleted.
Oops, something went wrong.
42 changes: 42 additions & 0 deletions
42
src/main/java/tconstruct/plugins/nei/NEITConstructConfig.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,42 @@ | ||
package tconstruct.plugins.nei; | ||
|
||
import tconstruct.tools.gui.CraftingStationGui; | ||
import codechicken.nei.api.API; | ||
import codechicken.nei.api.IConfigureNEI; | ||
import codechicken.nei.recipe.DefaultOverlayHandler; | ||
|
||
public class NEITConstructConfig implements IConfigureNEI | ||
{ | ||
|
||
@Override | ||
public void loadConfig () | ||
{ | ||
API.registerGuiOverlay(CraftingStationGui.class, "crafting"); | ||
API.registerGuiOverlayHandler(CraftingStationGui.class, new DefaultOverlayHandler(), "crafting"); | ||
|
||
API.registerRecipeHandler(new RecipeHandlerDryingRack()); | ||
API.registerUsageHandler(new RecipeHandlerDryingRack()); | ||
|
||
API.registerRecipeHandler(new RecipeHandlerMelting()); | ||
API.registerUsageHandler(new RecipeHandlerMelting()); | ||
API.registerRecipeHandler(new RecipeHandlerAlloying()); | ||
API.registerUsageHandler(new RecipeHandlerAlloying()); | ||
API.registerRecipeHandler(new RecipeHandlerCastingTable()); | ||
API.registerUsageHandler(new RecipeHandlerCastingTable()); | ||
API.registerRecipeHandler(new RecipeHandlerCastingBasin()); | ||
API.registerUsageHandler(new RecipeHandlerCastingBasin()); | ||
} | ||
|
||
@Override | ||
public String getName () | ||
{ | ||
return "TConstruct"; | ||
} | ||
|
||
@Override | ||
public String getVersion () | ||
{ | ||
return "${version}"; | ||
} | ||
|
||
} |
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
2 changes: 1 addition & 1 deletion
2
...meltery/nei/RecipeHandlerCastingBase.java → ...plugins/nei/RecipeHandlerCastingBase.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
2 changes: 1 addition & 1 deletion
2
...eltery/nei/RecipeHandlerCastingBasin.java → ...lugins/nei/RecipeHandlerCastingBasin.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
2 changes: 1 addition & 1 deletion
2
...eltery/nei/RecipeHandlerCastingTable.java → ...lugins/nei/RecipeHandlerCastingTable.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
Oops, something went wrong.