Barrel
block
survival:barrel
· from game
Game logic (C#)
The C# classes this block'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 |
|---|---|---|---|
| Block class | BlockBarrel |
BlockBarrel |
Systems/Barrel/BlockBarrel.cs |
| Behavior | Lockable |
BlockBehaviorLockable |
BlockBehavior/BehaviorLockable.cs |
| Behavior | UnstableFalling |
BlockBehaviorUnstableFalling |
BlockBehavior/BehaviorUnstableFalling.cs |
| Block entity | Barrel |
BlockEntityBarrel |
Systems/Barrel/BEBarrel.cs |
Produced by (1)
Filters
| Recipe | Category | Ingredients → output |
|---|---|---|
| Barrel (Item Recipe) | grid |
Sold by traders (1)
Filters
| Trader | Price min (per stack) | Price max (per stack) | Stock min (stacks) | Stock max (stacks) | Items per stack |
|---|---|---|---|---|---|
| Furniture trader | 1.5 | 2.5 | 6 | 10 | 1 |
Found in structures (31)
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.