Added missing Harvester functions.

This commit is contained in:
Stan Hebben committed 2014-10-16 23:28:34 +02:00
1 parent 7d886a3ce3
commit dda2afcc93
1 file changed
+10
@@ -49,6 +49,16 @@ public class Harvester {
addHarvestable(item.asBlock(), (WeightedItemStack[]) null, type);
}
@ZenMethod
public static void addHarvestable(IItemStack item, WeightedItemStack drop, @Optional String type) {
addHarvestable(item.asBlock(), drop, type);
}
@ZenMethod
public static void addHarvestable(IItemStack item, WeightedItemStack[] drops, @Optional String type) {
addHarvestable(item.asBlock(), drops, type);
}
@ZenMethod
public static void addHarvestable(IBlockPattern block, WeightedItemStack drop, @Optional String type) {
addHarvestable(block, new WeightedItemStack[] { drop }, type);