more 1.7 work, attempts at figuring out log4j2

This commit is contained in:
Progwml6 committed 2014-01-10 17:03:06 -05:00
1 parent fb04e8eb08
commit d911af378f
33 files changed
+96 -81

No files matched your search

@@ -13,6 +13,7 @@ public class BlockSkinRenderHelper
{
public static boolean renderMetadataBlock (Block block, int metadata, int x, int y, int z, RenderBlocks renderer, IBlockAccess world)
{
//TODO CHECK THESE!!!!
int var5 = block.colorMultiplier(world, x, y, z);
float var6 = (float) (var5 >> 16 & 255) / 255.0F;
float var7 = (float) (var5 >> 8 & 255) / 255.0F;
@@ -22,7 +22,7 @@ public class BreakingFX extends EntityFX
super(par1World, par2, par4, par6, 0.0D, 0.0D, 0.0D);
this.setParticleIcon(par8Item.getIconFromDamage(par9));
this.particleRed = this.particleGreen = this.particleBlue = 1.0F;
this.particleGravity = Blocks.snow.blockParticleGravity;
this.particleGravity = Blocks.snow.field_149763_I;
this.particleScale /= 2.0F;
}
@@ -14,7 +14,7 @@ import net.minecraft.world.IBlockAccess;
*/
public class RenderLiquid
{
{//TODO CHECK THIS!!!!
public static boolean renderMetadataBlock (Block block, int metadata, int x, int y, int z, RenderBlocks renderer, IBlockAccess world)
{
int var5 = block.colorMultiplier(world, x, y, z);
@@ -32,7 +32,7 @@ public class RenderLiquid
var8 = var11;
}
return (Minecraft.isAmbientOcclusionEnabled()) && (Block.lightValue[block.blockID] == 0) ? renderMetadataBlockWithAmbientOcclusion(block, metadata, x, y, z, var6, var7, var8, renderer, world)
return (Minecraft.isAmbientOcclusionEnabled()) && (block.lightValue == 0) ? renderMetadataBlockWithAmbientOcclusion(block, metadata, x, y, z, var6, var7, var8, renderer, world)
: renderMetadataBlockWithColorMultiplier(block, metadata, x, y, z, var6, var7, var8, renderer, world);
}