Lantern randomizer
item
survival:stackrandomizer-lantern
· 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 (25)
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 |
|---|---|---|---|
| Quartz chunk | item | 9.93% | 10–20 |
| Sleek door | block | 9.93% | 1 |
| Solid door | block | 9.93% | 1 |
| Forge | block | 9.93% | 1 |
| Empty Brass Torch holder | block | 9.93% | 1–3 |
| torchholder-aged-empty-north | block | 9.93% | 1 |
| Aged wooden bed | block | 7.09% | 1 |
| 3-tall door | block | 7.09% | 1 |
| lantern-large-up | block | 4.96% | 1 |
| Iron door | block | 4.25% | 1 |
| lantern-large-up | block | 2.84% | 1 |
| 2 by 2 gate | block | 2.84% | 1 |
|
jonas-lamp
type: lightsource/on/lumi-pipe-v-lamp |
block | 2.84% | 1 |
| Chandelier | block | 2.84% | 1 |
| lantern-large-up | block | 2.13% | 1 |
| 2 by 4 gate | block | 1.42% | 1 |
| lantern-large-up | block | 0.71% | 1 |
| lantern-large-up | block | 0.57% | 1 |
| lantern-large-up | block | 0.28% | 1 |
| lantern-large-up | block | 0.14% | 1 |
| lantern-large-up | block | 0.14% | 1 |
| Resonator | block | 0.14% | 1 |
| lantern-large-up | block | 0.07% | 1 |
| lantern-large-up | block | 0.07% | 1 |
| Chandelier | block | 0.01% | 1 |
Found in structures (68)
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.