2012-04-26 17:52:46 +02:00
|
|
|
package net.minecraft.src.ee3.client;
|
|
|
|
|
|
|
|
import java.io.File;
|
|
|
|
|
|
|
|
import net.minecraft.client.Minecraft;
|
2012-04-27 18:38:54 +02:00
|
|
|
import net.minecraft.src.EntityPlayer;
|
2012-04-26 17:52:46 +02:00
|
|
|
import net.minecraft.src.ModLoader;
|
|
|
|
import net.minecraft.src.NetworkManager;
|
|
|
|
import net.minecraft.src.World;
|
|
|
|
import net.minecraft.src.ee3.core.IProxy;
|
2012-04-27 18:38:54 +02:00
|
|
|
import net.minecraft.src.forge.MinecraftForgeClient;
|
2012-04-26 17:52:46 +02:00
|
|
|
|
|
|
|
public class EEProxy implements IProxy {
|
|
|
|
|
|
|
|
public EEProxy() { }
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void registerRenderInformation() {
|
|
|
|
// TODO Auto-generated method stub
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void registerTileEntities() {
|
|
|
|
// TODO Auto-generated method stub
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void registerTranslations() {
|
|
|
|
// TODO Auto-generated method stub
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public File getMinecraftDir() {
|
|
|
|
return Minecraft.getMinecraftDir();
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean isRemote() {
|
|
|
|
return ModLoader.getMinecraftInstance().theWorld.isRemote;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public World getCurrentWorld() {
|
|
|
|
return ModLoader.getMinecraftInstance().theWorld;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getMinecraftVersion() {
|
|
|
|
return ModLoader.getMinecraftInstance().getVersion();
|
|
|
|
}
|
|
|
|
|
|
|
|
public void handleControl(NetworkManager network, int key) { }
|
|
|
|
public void handlePedestalPacket(int x, int y, int z, int itemId, boolean activated) { }
|
|
|
|
public void handleTEPacket(int x, int y, int z, byte direction, String player) { }
|
2012-04-27 18:38:54 +02:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public void registerSoundHandler() {
|
|
|
|
MinecraftForgeClient.registerSoundHandler(new SoundHandler());
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
// TODO Client side: Handle GUI call
|
|
|
|
public Object handleGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) {
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
2012-04-26 17:52:46 +02:00
|
|
|
}
|