Update to forestry 3.6 API.

Adds Aura node Recharge effect.
This commit is contained in:
MysteriousAges committed 2015-09-03 16:17:05 -07:00
1 parent 922a8fffd6
commit 4c93eb6bf4
16 files changed
+317 -83

No files matched your search

@@ -29,7 +29,7 @@ public class ItemGrafter extends Item implements IToolGrafter {
public boolean onBlockDestroyed(ItemStack itemstack, World world, Block block, int x, int y, int z, EntityLivingBase entityLiving) {
int damage = 1;
if (ThaumcraftHelper.isActive()) {
if (block == Config.tcLeaf)
if (block == ThaumcraftHelper.leaf)
{
int meta = world.getBlockMetadata(x, y, z) & 1;
if (meta == 0 || meta == 1)
@@ -37,7 +37,7 @@ public class ItemGrafter extends Item implements IToolGrafter {
double chance = Math.random();
if (chance <= Config.thaumcraftSaplingDroprate)
{
this.dropItem(world, x, y, z, new ItemStack(Config.tcPlant, 1, meta));
this.dropItem(world, x, y, z, new ItemStack(ThaumcraftHelper.plant, 1, meta));
}
}
}