mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 16:54:22 +00:00
Backwards compatibility fix for ITextureProvider
This commit is contained in:
1 parent
1d99ff301d
commit
ced95c5cf3
1 file changed
+15
-7
@@ -14,7 +14,15 @@
|
||||
{
|
||||
public static final StepSound soundPowderFootstep = new StepSound("stone", 1.0F, 1.0F);
|
||||
public static final StepSound soundWoodFootstep = new StepSound("wood", 1.0F, 1.0F);
|
||||
@@ -397,7 +400,7 @@
|
||||
@@ -257,6 +260,7 @@
|
||||
lightOpacity[par1] = this.isOpaqueCube() ? 255 : 0;
|
||||
canBlockGrass[par1] = !par2Material.getCanBlockGrass();
|
||||
}
|
||||
+ isDefaultTexture = getTextureFile().equalsIgnoreCase("/terrain.png");
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -397,7 +401,7 @@
|
||||
|
||||
public boolean hasTileEntity()
|
||||
{
|
||||
@@ -23,7 +31,7 @@
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -418,7 +421,7 @@
|
||||
@@ -418,7 +422,7 @@
|
||||
*/
|
||||
public float getBlockBrightness(IBlockAccess par1IBlockAccess, int par2, int par3, int par4)
|
||||
{
|
||||
@@ -32,7 +40,7 @@
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -426,7 +429,7 @@
|
||||
@@ -426,7 +430,7 @@
|
||||
*/
|
||||
public int getMixedBrightnessForBlock(IBlockAccess par1IBlockAccess, int par2, int par3, int par4)
|
||||
{
|
||||
@@ -41,7 +49,7 @@
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -583,11 +586,14 @@
|
||||
@@ -583,11 +587,14 @@
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -58,7 +66,7 @@
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -607,16 +613,12 @@
|
||||
@@ -607,16 +614,12 @@
|
||||
{
|
||||
int var8 = this.quantityDroppedWithBonus(par7, par1World.rand);
|
||||
|
||||
@@ -78,7 +86,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -929,7 +931,7 @@
|
||||
@@ -929,7 +932,7 @@
|
||||
par2EntityPlayer.addStat(StatList.mineBlockStatArray[this.blockID], 1);
|
||||
par2EntityPlayer.addExhaustion(0.025F);
|
||||
|
||||
@@ -87,7 +95,7 @@
|
||||
{
|
||||
ItemStack var8 = this.createStackedBlock(par6);
|
||||
|
||||
@@ -1058,6 +1060,614 @@
|
||||
@@ -1058,6 +1061,614 @@
|
||||
*/
|
||||
public void onFallenUpon(World par1World, int par2, int par3, int par4, Entity par5Entity, float par6) {}
|
||||
|
||||
|
||||
Reference in new issue
Block a user