public boolean onBlockActivated(World world, int posX, int posY, int posZ, EntityPlayer player, int p_149727_6_, float p_149727_7_, float p_149727_8_, float p_149727_9_)
{
MyTile te = (MyTile)world.getTileEntity(posX, posY, posZ);
Minecraft mc = Minecraft.getMinecraft();
if(!world.isRemote) {
mc.displayGuiScreen(new MyGuiTile(te, player));
}
}