Skip to content

Commit f1dde02

Browse files
committed
Deprecation sweep and update version to 8.9 to reflect 1.6.1 update.
1 parent 3df47c0 commit f1dde02

File tree

6 files changed

+5
-59
lines changed

6 files changed

+5
-59
lines changed

client/net/minecraftforge/client/MinecraftForgeClient.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,6 @@
2020

2121
public class MinecraftForgeClient
2222
{
23-
/**
24-
* NO-OP now. Not needed with new texturing system in MC 1.5
25-
*/
26-
@Deprecated // without replacement
27-
public static void preloadTexture(String texture)
28-
{
29-
// ForgeHooksClient.engine().getTexture(texture);
30-
}
31-
3223
private static IItemRenderer[] customItemRenderers = new IItemRenderer[Item.itemsList.length];
3324

3425
/**

common/net/minecraftforge/common/ForgeVersion.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
public class ForgeVersion
99
{
1010
//This number is incremented every time we remove deprecated code/major API changes, never reset
11-
public static final int majorVersion = 7;
11+
public static final int majorVersion = 8;
1212
//This number is incremented every minecraft release, never reset
13-
public static final int minorVersion = 8;
13+
public static final int minorVersion = 9;
1414
//This number is incremented every time a interface changes or new major feature is added, and reset every Minecraft version
15-
public static final int revisionVersion = 1;
15+
public static final int revisionVersion = 0;
1616
//This number is incremented every time Jenkins builds Forge, and never reset. Should always be 0 in the repo code.
1717
public static final int buildVersion = 0;
1818

common/net/minecraftforge/common/IThrowableEntity.java

Lines changed: 0 additions & 23 deletions
This file was deleted.

common/net/minecraftforge/liquids/LiquidStack.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -66,17 +66,6 @@ public NBTTagCompound writeToNBT(NBTTagCompound nbt)
6666
return nbt;
6767
}
6868

69-
70-
/**
71-
* NO-OP now. Use {@link #loadLiquidStackFromNBT(NBTTagCompound)} to get a new instance
72-
*
73-
* @param nbt
74-
*/
75-
@Deprecated
76-
public void readFromNBT(NBTTagCompound nbt)
77-
{
78-
}
79-
8069
/**
8170
* @return A copy of this LiquidStack
8271
*/

patches/minecraft/net/minecraft/block/Block.java.patch

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165
}
166166

167167
/**
168-
@@ -1453,4 +1474,945 @@
168+
@@ -1453,4 +1474,939 @@
169169
canBlockGrass[0] = true;
170170
StatList.initBreakableStats();
171171
}
@@ -1079,12 +1079,6 @@
10791079
+ */
10801080
+ public float getEnchantPowerBonus(World world, int x, int y, int z)
10811081
+ {
1082-
+ return getEnchantPower(world, x, y, z);
1083-
+ }
1084-
+
1085-
+ @Deprecated //Changed return to float, see above.
1086-
+ public int getEnchantPower(World world, int x, int y, int z)
1087-
+ {
10881082
+ return blockID == bookShelf.blockID ? 1 : 0;
10891083
+ }
10901084
+ /**

patches/minecraft/net/minecraft/item/Item.java.patch

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
Vec3 vec31 = vec3.addVector((double)f7 * d3, (double)f6 * d3, (double)f8 * d3);
5959
return par1World.rayTraceBlocks_do_do(vec3, vec31, par3, !par3);
6060
}
61-
@@ -736,4 +750,509 @@
61+
@@ -736,4 +750,504 @@
6262
{
6363
StatList.initStats();
6464
}
@@ -360,11 +360,6 @@
360360
+ */
361361
+ public boolean isValidArmor(ItemStack stack, int armorType, Entity entity)
362362
+ {
363-
+ return isValidArmor(stack, armorType);
364-
+ }
365-
+ @Deprecated //Deprecated in 1.5.2, remove in 1.6, see EntityPlayer sensitive version above.
366-
+ public boolean isValidArmor(ItemStack stack, int armorType)
367-
+ {
368363
+ if (this instanceof ItemArmor)
369364
+ {
370365
+ return ((ItemArmor)this).armorType == armorType;

0 commit comments

Comments
 (0)