mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-20 12:09:49 +00:00
Added missing Harvester functions.
This commit is contained in:
1 parent
7d886a3ce3
commit
dda2afcc93
1 file changed
+10
+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);
|
||||
|
||||
Reference in new issue
Block a user