Building materials randomizer
item
survival:stackrandomizer-materials-building
· from game
Game logic (C#)
The C# classes this item's JSON definition hands its behavior to. Files link to vssurvivalmod on GitHub, pinned to the commit the mapping was made from.
| Role | Name in JSON | C# type | Source file |
|---|---|---|---|
| Item class | ItemStackRandomizer |
ItemStackRandomizer |
Systems/Loot/ItemStackRandomizer.cs |
Can generate (27)
This is a random-stack placeholder: when the game generates the chest, vessel or drop it sits in, it swaps this item for one of the results below, picked by the relative chance shown. A placed randomizer can also carry its own overall chance of generating nothing at all, which is per-instance data and not part of this definition.
Filters
| Result | Kind | Chance | Quantity |
|---|---|---|---|
| Chalk stone | item | 17.15% | 8–24 |
| Limestone stone | item | 17.15% | 8–24 |
| Aged oak planks | block | 15.38% | 6–14 |
| Aged oak log | block | 14.14% | 4–10 |
| Blue clay | item | 8.11% | 6–18 |
| Fire clay | item | 6.96% | 6–18 |
| Nails and strips (Copper) | item | 4.89% | 1–3 |
| Metal parts | block | 3.64% | 2–4 |
| Quicklime | item | 3.01% | 4–12 |
| Fireclay bricks | block | 1.66% | 8–16 |
| Bauxite ashlar blocks | block | 0.52% | 8–16 |
| Basalt ashlar blocks | block | 0.52% | 8–16 |
| Andesite ashlar blocks | block | 0.52% | 8–16 |
| Chalk ashlar blocks | block | 0.52% | 8–16 |
| Claystone ashlar blocks | block | 0.52% | 8–16 |
| Granite ashlar blocks | block | 0.52% | 8–16 |
| Sandstone ashlar blocks | block | 0.52% | 8–16 |
| Shale ashlar blocks | block | 0.52% | 8–16 |
| Chert ashlar blocks | block | 0.52% | 8–16 |
| Conglomerate ashlar blocks | block | 0.52% | 8–16 |
| Limestone ashlar blocks | block | 0.52% | 8–16 |
| Peridotite ashlar blocks | block | 0.52% | 8–16 |
| Phyllite ashlar blocks | block | 0.52% | 8–16 |
| Slate ashlar blocks | block | 0.52% | 8–16 |
| Tin bronze padlock | item | 0.21% | 1–2 |
| Bismuth bronze padlock | item | 0.21% | 1–2 |
| Black bronze padlock | item | 0.21% | 1–2 |
Found in structures (65)
This confirms the schematic(s) contain this code somewhere, not where or how many times -- the per-instance block-entity decoding used for tapestries isn't run for every content type.