2012-04-26 17:52:46 +02:00
|
|
|
package net.minecraft.src.ee3.server;
|
|
|
|
|
|
|
|
import java.io.File;
|
|
|
|
|
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;
|
2012-05-04 12:55:48 +02:00
|
|
|
import net.minecraft.src.ee3.interfaces.IProxy;
|
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 new File(".");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean isRemote() {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public World getCurrentWorld() {
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getMinecraftVersion() {
|
|
|
|
return ModLoader.getMinecraftServerInstance().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
|
|
|
|
// Stub, no need for a Sound Handler on the server
|
|
|
|
public void registerSoundHandler() { }
|
|
|
|
|
|
|
|
@Override
|
|
|
|
// TODO Server side: Handle GUI call
|
|
|
|
public Object handleGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) {
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
2012-05-01 04:11:14 +02:00
|
|
|
@Override
|
|
|
|
public void playSound(String soundName, float x, float y, float z, float volume, float pitch) { }
|
2012-04-26 17:52:46 +02:00
|
|
|
}
|