equivalent-exchange-3/ee3_server/net/minecraft/src/ee3/server/EEProxy.java

70 lines
1.6 KiB
Java
Raw Normal View History

package net.minecraft.src.ee3.server;
import java.io.File;
import net.minecraft.src.EntityPlayer;
import net.minecraft.src.ModLoader;
import net.minecraft.src.NetworkManager;
import net.minecraft.src.World;
import net.minecraft.src.ee3.interfaces.IProxy;
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) { }
@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;
}
@Override
public void playSound(String soundName, float x, float y, float z, float volume, float pitch) { }
}