generated from tilera/1710mod
25 lines
679 B
Java
25 lines
679 B
Java
package dev.tilera.auracore.proxy;
|
|
|
|
import dev.tilera.auracore.client.gui.GuiArcaneWorkbench;
|
|
import dev.tilera.capes.Capes;
|
|
import net.minecraft.entity.player.EntityPlayer;
|
|
import net.minecraft.world.World;
|
|
import thaumcraft.common.tiles.TileArcaneWorkbench;
|
|
|
|
public class ClientProxy extends CommonProxy {
|
|
|
|
@Override
|
|
public Object getClientGuiElement(int id, EntityPlayer player, World world, int x, int y, int z) {
|
|
if (id == 0) {
|
|
return new GuiArcaneWorkbench(player.inventory, (TileArcaneWorkbench) world.getTileEntity(x, y, z));
|
|
}
|
|
return null;
|
|
}
|
|
|
|
@Override
|
|
public void init() {
|
|
Capes.initCapes();
|
|
}
|
|
|
|
}
|