Yea I thought i followed everything perfectly but for some reason when i go to use it, it does that. I don't get errors at all and the person showed it working fine for him. the only thing i see different between vanilla furnace and mine is my onBlockActivated
This is mine.
public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ){
if(!world.isRemote){
FMLNetworkHandler.openGui(player, ScratchForFun.instance, ScratchForFun.guiIdQuartzFurnace, world, x, y, z);
}
return true;
}
This is vanilla's
public boolean onBlockActivated(World par1World, int par2, int par3, int par4, EntityPlayer par5EntityPlayer, int par6, float par7, float par8, float par9)
{
if (par1World.isRemote)
{
return true;
}
else
{
TileEntityFurnace tileentityfurnace = (TileEntityFurnace)par1World.getBlockTileEntity(par2, par3, par4);
if (tileentityfurnace != null)
{
par5EntityPlayer.displayGUIFurnace(tileentityfurnace);
}
return true;
}
}
But what puzzles me is that it should work the way i have it so makes me think that it can't be the problem so I don't know where to look.