2016-11-17 05:45:04 +01:00
|
|
|
package com.minelittlepony;
|
2015-08-02 00:36:33 +02:00
|
|
|
|
2016-01-26 09:16:11 +01:00
|
|
|
import com.mumfrey.liteloader.InitCompleteListener;
|
2016-05-17 21:26:03 +02:00
|
|
|
import com.mumfrey.liteloader.Tickable;
|
2016-01-26 09:16:11 +01:00
|
|
|
import com.mumfrey.liteloader.core.LiteLoader;
|
|
|
|
import net.minecraft.client.Minecraft;
|
|
|
|
|
2016-11-25 05:40:19 +01:00
|
|
|
import java.io.File;
|
|
|
|
|
2016-05-17 21:26:03 +02:00
|
|
|
public class LiteModMineLittlePony implements Tickable, InitCompleteListener {
|
2016-01-26 09:16:11 +01:00
|
|
|
|
2016-01-26 09:20:39 +01:00
|
|
|
private MineLittlePony mlp;
|
2016-01-26 09:16:11 +01:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getName() {
|
2016-01-26 09:20:39 +01:00
|
|
|
return MineLittlePony.MOD_NAME;
|
2015-08-02 00:36:33 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getVersion() {
|
2016-01-26 09:20:39 +01:00
|
|
|
return MineLittlePony.MOD_VERSION;
|
2015-08-02 00:36:33 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2016-11-25 05:40:19 +01:00
|
|
|
public void upgradeSettings(String version, File configPath, File oldConfigPath) {
|
|
|
|
}
|
2016-01-26 09:16:11 +01:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public void init(File configPath) {
|
2016-01-26 09:20:39 +01:00
|
|
|
this.mlp = new MineLittlePony();
|
2015-08-02 00:36:33 +02:00
|
|
|
}
|
2016-01-26 09:16:11 +01:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public void onInitCompleted(Minecraft minecraft, LiteLoader loader) {
|
2016-01-26 09:20:39 +01:00
|
|
|
this.mlp.postInit(minecraft);
|
2016-01-26 09:16:11 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void onTick(Minecraft minecraft, float partialTicks, boolean inGame, boolean clock) {
|
2016-01-26 09:20:39 +01:00
|
|
|
this.mlp.onTick(minecraft, inGame);
|
2016-01-26 09:16:11 +01:00
|
|
|
}
|
2015-08-02 00:36:33 +02:00
|
|
|
}
|