int y = MathHelper.floor_double(mecha.posY);
int z = MathHelper.floor_double(mecha.posZ);
if(mecha.lightLevel() > 0)
{
blockLightOverrides.add(new Vector3i(x, y, z));
mc.theWorld.setLightValue(EnumSkyBlock.Block, x, y, z, Math.max(mc.theWorld.getBlockLightValue(x, y, z), mecha.lightLevel()));
mc.theWorld.updateLightByType(EnumSkyBlock.Block, x + 1, y, z);
mc.theWorld.updateLightByType(EnumSkyBlock.Block, x - 1, y + 1, z);
mc.theWorld.updateLightByType(EnumSkyBlock.Block, x, y + 1, z);
mc.theWorld.updateLightByType(EnumSkyBlock.Block, x, y - 1, z);
mc.theWorld.updateLightByType(EnumSkyBlock.Block, x, y, z + 1);