5 juil. 2015, 20:15

tout fonctionne, du moins, je le croyais… openGUI veut des int, et non des float…

​@Override
    public boolean onBlockActivated(World worldIn, BlockPos pos, IBlockState state, EntityPlayer playerIn, EnumFacing side, float hitX, float hitY, float hitZ)
{
FMLNetworkHandler.*openGui*(playerIn, 1, UsefulthingsMod.instance, worldIn, hitX, hitY, hitZ);
}

The method openGui(EntityPlayer, Object, int, World, int, int, int) in the type FMLNetworkHandler is not applicable for the arguments (EntityPlayer, int, UsefulthingsMod, World, float, float, float)