Scrap Box
Link to scrap-box
Package
Link to package
import mods.ic2.ScrapBox;
Methods
Link to methods
- 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 Copymods.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 Copymods.ic2.ScrapBox.addDrop(IItemStack item, float weight);
mods.ic2.ScrapBox.addDrop(<minecraft:diamond_ore>, 0.1F);
Removal
Link to removal
- 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.