mirror of
https://github.com/GTNewHorizons/NotEnoughEnergistics.git
synced 2026-11-22 12:59:55 +00:00
add tooltip for wireless crafting terminal
This commit is contained in:
1 parent
ac3fa7fcc2
commit
e921b199b6
11 files changed
+193
-80
No files matched your search
@@ -13,6 +13,7 @@ import com.github.vfyjxf.nee.nei.NEECraftingHelper;
|
||||
import com.github.vfyjxf.nee.processor.IRecipeProcessor;
|
||||
import com.github.vfyjxf.nee.processor.RecipeProcessor;
|
||||
import cpw.mods.fml.common.Loader;
|
||||
import net.p455w0rd.wirelesscraftingterminal.client.gui.GuiWirelessCraftingTerminal;
|
||||
import org.lwjgl.input.Keyboard;
|
||||
import thaumicenergistics.client.gui.GuiKnowledgeInscriber;
|
||||
import wanion.avaritiaddons.block.extremeautocrafter.GuiExtremeAutoCrafter;
|
||||
@@ -45,12 +46,14 @@ public class NEINeeConfig implements IConfigureNEI {
|
||||
API.registerGuiOverlayHandler(GuiPatternTerm.class, new NEECraftingHandler(), ident);
|
||||
}
|
||||
|
||||
if(NEEConfig.drawHighlight){
|
||||
if (NEEConfig.drawHighlight) {
|
||||
GuiContainerManager.addDrawHandler(NEEContainerDrawHandler.instance);
|
||||
}
|
||||
|
||||
installCraftingTermSupport();
|
||||
|
||||
installWirelessCraftingTermSupport();
|
||||
|
||||
installPatternTerminalExSupport(identifiers);
|
||||
|
||||
installThaumicEnergisticsSupport();
|
||||
@@ -82,6 +85,13 @@ public class NEINeeConfig implements IConfigureNEI {
|
||||
API.registerGuiOverlayHandler(GuiCraftingTerm.class, new NEECraftingHelper(), "crafting2x2");
|
||||
}
|
||||
|
||||
private void installWirelessCraftingTermSupport() {
|
||||
if (Loader.isModLoaded("ae2wct")) {
|
||||
API.registerGuiOverlayHandler(GuiWirelessCraftingTerminal.class, new NEECraftingHelper(), "crafting");
|
||||
API.registerGuiOverlayHandler(GuiWirelessCraftingTerminal.class, new NEECraftingHelper(), "crafting2x2");
|
||||
}
|
||||
}
|
||||
|
||||
private void installThaumicEnergisticsSupport() {
|
||||
try {
|
||||
Class.forName("thaumicenergistics.client.gui.GuiKnowledgeInscriber");
|
||||
|
||||
Reference in new issue
Block a user