Shelf

block survival:shelf-normal-east · 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.

RoleName in JSONC# typeSource file
Block class BlockShelf BlockShelf Block/BlockShelf.cs
Behavior Lockable BlockBehaviorLockable BlockBehavior/BehaviorLockable.cs
Behavior HorizontalAttachable BlockBehaviorHorizontalAttachable BlockBehavior/BehaviorHorizontalAttachable.cs
Block entity Shelf BlockEntityShelf BlockEntity/BEShelf.cs
Block entity behavior ContainedBagInventory BEBehaviorContainedBagInventory BlockEntityBehavior/BEBehaviorContainedBagInventory.cs

Produced by (1)

Filters
RecipeCategoryIngredients → output
Shelf (Item Recipe) grid

Sold by traders (1)

Filters
TraderPrice min (per stack)Price max (per stack)Stock min (stacks)Stock max (stacks)Items per stack
Furniture trader 1.5 2.5 4.5 7.5 1

Found in structures (9)

StructureKind
Trader camps built on large trees structure
Trader camps in shallow bodies of water or swamp structure
Trader camps in hot climate regions structure
Trader camps in very cold climate regions structure
Tobias cave area storystructure
Village area storystructure
forlornhopedungeon storystructure
university storystructure
megastructures-settlementofkeykeepers-sirayne structure

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.