9b4b3fc601
Optimized the Smelting recipes in RecipesPhilStone to take advantage of a -1 meta trick
76 lines
1.8 KiB
Java
76 lines
1.8 KiB
Java
package ee3.client;
|
|
|
|
import java.io.File;
|
|
|
|
import ee3.core.interfaces.IProxy;
|
|
|
|
import net.minecraft.client.Minecraft;
|
|
import net.minecraft.src.EntityPlayer;
|
|
import net.minecraft.src.ModLoader;
|
|
import net.minecraft.src.NetworkManager;
|
|
import net.minecraft.src.World;
|
|
import net.minecraft.src.forge.MinecraftForgeClient;
|
|
|
|
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) { }
|
|
|
|
@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;
|
|
}
|
|
|
|
@Override
|
|
public void playSound(String soundName, float x, float y, float z, float volume, float pitch) {
|
|
ModLoader.getMinecraftInstance().sndManager.playSound(soundName, x, y, z, volume, pitch);
|
|
}
|
|
|
|
}
|