From c32de47be3f3a7fdf05fd079aa64a344a87f589e Mon Sep 17 00:00:00 2001 From: "Scott M. Barbour" Date: Sat, 9 Jan 2016 21:52:01 -0600 Subject: [PATCH] Added nether wart support for harvesting --- common/buildcraft/core/crops/CropHandlerPlantable.java | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/common/buildcraft/core/crops/CropHandlerPlantable.java b/common/buildcraft/core/crops/CropHandlerPlantable.java index be39799e..23944119 100644 --- a/common/buildcraft/core/crops/CropHandlerPlantable.java +++ b/common/buildcraft/core/crops/CropHandlerPlantable.java @@ -2,12 +2,7 @@ package buildcraft.core.crops; import java.util.List; -import net.minecraft.block.Block; -import net.minecraft.block.BlockCrops; -import net.minecraft.block.BlockDoublePlant; -import net.minecraft.block.BlockMelon; -import net.minecraft.block.BlockMushroom; -import net.minecraft.block.BlockTallGrass; +import net.minecraft.block.*; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.init.Blocks; import net.minecraft.item.ItemBlock; @@ -72,6 +67,8 @@ public class CropHandlerPlantable implements ICropHandler { return true; } else if (block instanceof BlockCrops) { return meta == 7; + } else if (block instanceof BlockNetherWart) { + return meta == 3; } else if (block instanceof IPlantable) { if (y > 0 && blockAccess.getBlock(x, y - 1, z) == block) { return true;