Search in sources :

Example 1 with MalmoModClient

use of com.microsoft.Malmo.Client.MalmoModClient in project malmo by Microsoft.

the class MalmoMod method init.

@EventHandler
public void init(FMLInitializationEvent event) {
    if (event.getSide().isClient()) {
        this.client = new MalmoModClient();
        this.client.init(event);
    }
    if (event.getSide().isServer()) {
        this.server = new MalmoModServer();
        this.server.init(event);
    }
}
Also used : MalmoModClient(com.microsoft.Malmo.Client.MalmoModClient) MalmoModServer(com.microsoft.Malmo.Server.MalmoModServer) EventHandler(net.minecraftforge.fml.common.Mod.EventHandler)

Aggregations

MalmoModClient (com.microsoft.Malmo.Client.MalmoModClient)1 MalmoModServer (com.microsoft.Malmo.Server.MalmoModServer)1 EventHandler (net.minecraftforge.fml.common.Mod.EventHandler)1