Home Getting Started With Scripts Using this wiki Commands CTGUI Global functions Bracket Handlers

Industrial Foregoing

Industrial Foregoing’s BioReactor, Laser Drill and Sludge Refiner CraftTweaker support.

Item Weight

The ItemWeight is a number that represents the chance of an item to get selected. For example:

ItemWeightChance %
Item
Stone
Weight
99
Chance %
99%
Item
Dirt
Weight
1
Chance %
1%
ItemWeightChance %
Item
Stone
Weight
2
Chance %
66%
Item
Dirt
Weight
1
Chance %
33%

ItemChance% = (ItemWeight/TotalWeight)*100