Misc stuff
This commit is contained in:
parent
d7982b604a
commit
b9aca68324
|
@ -10,6 +10,7 @@ import cpw.mods.fml.common.Side;
|
|||
import cpw.mods.fml.common.TickType;
|
||||
import cpw.mods.fml.common.asm.SideOnly;
|
||||
import ee3.client.lib.KeyBindings;
|
||||
import ee3.common.lib.Reference;
|
||||
|
||||
public class KeyBindingHandler extends KeyBindingRegistry.KeyHandler {
|
||||
|
||||
|
@ -19,13 +20,12 @@ public class KeyBindingHandler extends KeyBindingRegistry.KeyHandler {
|
|||
|
||||
@Override
|
||||
public String getLabel() {
|
||||
return "";
|
||||
return Reference.MOD_NAME + " KeyBindingHandler";
|
||||
}
|
||||
|
||||
@Override
|
||||
public void keyDown(EnumSet<TickType> types, KeyBinding kb, boolean tickEnd, boolean isRepeat) {
|
||||
if (tickEnd) {
|
||||
System.out.println(types.toString());
|
||||
System.out.println(kb.keyDescription);
|
||||
}
|
||||
|
||||
|
|
|
@ -30,18 +30,22 @@ public class EquivalentExchange3 {
|
|||
|
||||
// Initialize the configuration
|
||||
ConfigurationHandler.init(event.getSuggestedConfigurationFile());
|
||||
|
||||
|
||||
// Register the KeyBinding Handler (Client only)
|
||||
proxy.registerKeyBindingHandler();
|
||||
|
||||
// Register the Sound Handler (Client only)
|
||||
proxy.registerSoundHandler();
|
||||
|
||||
|
||||
}
|
||||
|
||||
@Init
|
||||
public void load(FMLInitializationEvent event) { }
|
||||
|
||||
@PostInit
|
||||
public void modsLoaded(FMLPostInitializationEvent event) { }
|
||||
public void modsLoaded(FMLPostInitializationEvent event) {
|
||||
|
||||
// Initialize the Addon Handler
|
||||
|
||||
}
|
||||
}
|
||||
|
|
9
ee3_common/ee3/common/core/handlers/AddonHandler.java
Normal file
9
ee3_common/ee3/common/core/handlers/AddonHandler.java
Normal file
|
@ -0,0 +1,9 @@
|
|||
package ee3.common.core.handlers;
|
||||
|
||||
public class AddonHandler {
|
||||
|
||||
public static void init() {
|
||||
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in a new issue