mirror of
https://github.com/GTNewHorizons/IguanaTweaksTConstruct.git
synced 2026-11-27 15:23:00 +00:00
39 lines
1.7 KiB
Java
39 lines
1.7 KiB
Java
package iguanaman.iguanatweakstconstruct.old.proxy;
|
|
|
|
import cpw.mods.fml.client.registry.ClientRegistry;
|
|
import iguanaman.iguanatweakstconstruct.old.IguanaClientEventHandler;
|
|
import iguanaman.iguanatweakstconstruct.old.blocks.IguanaTileEntitySkull;
|
|
import iguanaman.iguanatweakstconstruct.old.renderer.IguanaSkullRenderer;
|
|
import net.minecraft.entity.player.EntityPlayer;
|
|
import net.minecraft.world.World;
|
|
import net.minecraftforge.common.MinecraftForge;
|
|
|
|
public class ClientProxy extends CommonProxy {
|
|
|
|
@Override
|
|
public void registerRenderers() {
|
|
ClientRegistry.bindTileEntitySpecialRenderer(IguanaTileEntitySkull.class, new IguanaSkullRenderer());
|
|
}
|
|
|
|
@Override
|
|
public void registerSounds() {
|
|
MinecraftForge.EVENT_BUS.register(new IguanaClientEventHandler());
|
|
}
|
|
|
|
@Override
|
|
public Object getClientGuiElement (int ID, EntityPlayer player, World world, int x, int y, int z) {
|
|
/*
|
|
if (ID == ToolProxyCommon.toolStationID)
|
|
return new IguanaToolStationGui(player.inventory, (ToolStationLogic) world.getTileEntity(x, y, z), world, x, y, z);
|
|
if (ID == ToolProxyCommon.partBuilderID)
|
|
return new IguanaPartCrafterGui(player.inventory, (PartBuilderLogic) world.getTileEntity(x, y, z), world, x, y, z);
|
|
if (ID == ToolProxyCommon.patternChestID)
|
|
return new PatternChestGui(player.inventory, (PatternChestLogic) world.getTileEntity(x, y, z), world, x, y, z);
|
|
if (ID == ToolProxyCommon.toolForgeID)
|
|
return new IguanaToolForgeGui(player.inventory, (ToolForgeLogic) world.getTileEntity(x, y, z), world, x, y, z);
|
|
if (ID == ToolProxyCommon.stencilTableID)
|
|
return new StencilTableGui(player.inventory, (StencilTableLogic) world.getTileEntity(x, y, z), world, x, y, z);
|
|
*/
|
|
return null;
|
|
}
|
|
} |