equivalent-exchange-3/ee3_server/ee3/server/EEProxy.java
pahimar 9b4b3fc601 Refactored all classes to strip out "net.minecraft.src" from their package name
Optimized the Smelting recipes in RecipesPhilStone to take advantage of a -1 meta trick
2012-05-08 09:41:55 -04:00

69 lines
1.5 KiB
Java

package 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 ee3.core.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) { }
}