auracore/src/main/java/dev/tilera/auracore/proxy/ClientProxy.java
Timo Ley 09e78be65d
All checks were successful
continuous-integration/drone/push Build is passing
fix: move packet registration back to main class
2023-01-08 13:52:59 +01:00

19 lines
575 B
Java

package dev.tilera.auracore.proxy;
import dev.tilera.auracore.client.gui.GuiArcaneWorkbench;
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;
}
}