User:Orthotope/chests

P(item) = (weight)/(sum of all weights)

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

Chances are machine-calculated, assuming no item overwrites another; algorithm is believed to be correct.

NPC Village
3-8 items

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

'room crossing' (1-4 items):

library (1-4 items):

Mineshafts
3-6 items:

Temples
Desert/jungle temple chests have the same contents as of 1.3.1

Chest (2-6 items):

Dispenser (2 items):

Bonus Chest
10 items (only 15% chance of none being overwritten)