mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-22 04:52:21 +00:00
- Did some API refactoring
- Added liquid container addition and removal (removal only possible in 1.6.4) - Extended NEI support to 1.7.10 - Extended IC2 support to 1.6.4
This commit is contained in:
1 parent
115593efa5
commit
70cba6d84b
143 files changed
+3118
-632
No files matched your search
@@ -0,0 +1,29 @@
|
||||
package minetweaker.api.server;
|
||||
|
||||
import minetweaker.MineTweakerImplementationAPI;
|
||||
import minetweaker.api.event.IEventHandle;
|
||||
import minetweaker.api.event.IPlayerLoggedInEventHandler;
|
||||
import minetweaker.api.event.IPlayerLoggedOutEventHandler;
|
||||
|
||||
/**
|
||||
* Abstract server implementation. Implements call of which the implementation is
|
||||
* already fixed by the API.
|
||||
*
|
||||
* @author Stan Hebben
|
||||
*/
|
||||
public abstract class AbstractServer implements IServer {
|
||||
@Override
|
||||
public final void addMineTweakerCommand(String name, String[] usage, ICommandFunction function) {
|
||||
MineTweakerImplementationAPI.addMineTweakerCommand(name, usage, function);
|
||||
}
|
||||
|
||||
@Override
|
||||
public final IEventHandle onPlayerLoggedIn(IPlayerLoggedInEventHandler ev) {
|
||||
return MineTweakerImplementationAPI.events.onPlayerLoggedIn(ev);
|
||||
}
|
||||
|
||||
@Override
|
||||
public final IEventHandle onPlayerLoggedOut(IPlayerLoggedOutEventHandler ev) {
|
||||
return MineTweakerImplementationAPI.events.onPlayerLoggedOut(ev);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user