mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 21:09:45 +00:00
Loads of untested work on turbine interface
This commit is contained in:
1 parent
afe8969c37
commit
2984bf45a8
34 files changed
+511
-82
No files matched your search
@@ -17,6 +17,7 @@ import mekanism.common.Tier.BaseTier;
|
||||
import mekanism.common.Version;
|
||||
import mekanism.common.base.IModule;
|
||||
import mekanism.common.multiblock.MultiblockManager;
|
||||
import mekanism.common.network.PacketSimpleGui;
|
||||
import mekanism.common.recipe.RecipeHandler;
|
||||
import mekanism.common.recipe.ShapedMekanismRecipe;
|
||||
import mekanism.common.util.MekanismUtils;
|
||||
@@ -73,6 +74,9 @@ public class MekanismGenerators implements IModule
|
||||
|
||||
packetHandler.initialize();
|
||||
|
||||
//Register this module's GUI handler in the simple packet protocol
|
||||
PacketSimpleGui.handlers.add(1, proxy);
|
||||
|
||||
//Set up the GUI handler
|
||||
NetworkRegistry.INSTANCE.registerGuiHandler(this, new GeneratorsGuiHandler());
|
||||
FMLCommonHandler.instance().bus().register(this);
|
||||
|
||||
Reference in new issue
Block a user