import mods.ic2.ScrapBox;

  • WeightedItemStack weightedItem The new entry of scrap box drop pool. Percentage weight will be divided by 100.
  • float weight The weight of this new entry

Add Drop (WeightedItemStack)

Link to add-drop-weighteditemstack

ZenScript
Copy
mods.ic2.ScrapBox.addDrop(WeightedItemStack weightedItem);

mods.ic2.ScrapBox.addDrop(<minecraft:diamond_ore>.weight(0.1));
mods.ic2.ScrapBox.addDrop(<minecraft:diamond_ore> % 10);

Add Drop (IItemStack, float)

Link to add-drop-iitemstack-float

ZenScript
Copy
mods.ic2.ScrapBox.addDrop(IItemStack item, float weight);
mods.ic2.ScrapBox.addDrop(<minecraft:diamond_ore>, 0.1F);
  • If IC2 Classic Tweaker is installed and Ic2 Classic is being used instead of Ic2 Experimental, scrap box drops can be removed. See here for doc.
  • If using Ic2 Experimental, then removal is not possible.