User:Orthotope/chests

Chance of each item is (weight)/(sum of all weights). No total chances of finding a given item in a chest, like with dungeons. Because of the variable number of items, the calculations would be hideous:

P(item) = chance as mentioned above.

P(at least one item in chest) = average (mean) of (1 - (1 - P(item))numItems), for each numItems in the possible range.

NPC Village
3-8 items

Strongholds
'chest corridor' (2-3 items):

'room crossing' (1-4 items):

library (1-4 items):

Mineshafts
3-6 items: