mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-22 05:02:18 +00:00
Interm implementation of keyboardEvent for ModLoader.
This commit is contained in:
1 parent
c6de498904
commit
5997bd3b87
9 files changed
+51
-1
No files matched your search
@@ -406,4 +406,12 @@ public class FMLModContainer implements ModContainer
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
/* (non-Javadoc)
|
||||
* @see cpw.mods.fml.common.ModContainer#keyBindEvernt(java.lang.Object)
|
||||
*/
|
||||
@Override
|
||||
public void keyBindEvent(Object keyBinding)
|
||||
{
|
||||
// TODO Auto-generated method stub
|
||||
}
|
||||
}
|
||||
@@ -27,5 +27,7 @@ public interface IKeyHandler
|
||||
* @return
|
||||
*/
|
||||
ModContainer getOwningContainer();
|
||||
|
||||
void onEndTick();
|
||||
|
||||
}
|
||||
@@ -245,4 +245,6 @@ public interface ModContainer
|
||||
* @return
|
||||
*/
|
||||
ProxyInjector findSidedProxy();
|
||||
|
||||
void keyBindEvent(Object keyBinding);
|
||||
}
|
||||
@@ -86,4 +86,5 @@ public interface BaseMod extends IWorldGenerator, IPickupNotifier, IDispenseHand
|
||||
*/
|
||||
String getVersion();
|
||||
|
||||
void keyBindingEvent(Object keybinding);
|
||||
}
|
||||
@@ -700,4 +700,13 @@ public class ModLoaderModContainer implements ModContainer
|
||||
}
|
||||
return sidedProxy == NULLPROXY ? null : sidedProxy;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see cpw.mods.fml.common.ModContainer#keyBindEvernt(java.lang.Object)
|
||||
*/
|
||||
@Override
|
||||
public void keyBindEvent(Object keybinding)
|
||||
{
|
||||
mod.keyBindingEvent(keybinding);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user