Modding:Block Entity Classes

From Vintage Story Wiki

Using block classes

May blocks that have interactive functions will require using a block entity to accomplish. When your block requires the use of a block entity you assign it using the following property format in the JSON:

entityClass: "Entity"

NOTE: Although they are referenced in JSONS as "Anvil", "Bed" etc. Block Entity class files themselves use the BEAnvil, BEBed naming convention.

All Block Entities

Here is a table containing all block entities used as of version 1.9.+z

Entity Name Example Block JSON Description Github Link
Anvil anvil Controls the rendering and forging of work items on an anvil. Anvil Block Entity Class
Barrel barrel - Barrel Block Entity Class
Bed bed - Block Entity Class
Beehive wildbeehive - Beehive Block Entity Class
Bellows bellows - Block Entity Class
BerryBush smallberrybush, largeberrybush - Block Entity Class
BlastFurnace - - Blast Furnace Block Entity Class
Bloomery bloomerybase - Bloomery Block Entity Class
Bomb oreblastingbomb - Bomb Block Entity Class
Bucket bucket - Block Entity Class
Canvas canvas - Block Entity Class
CharcoalPit charcoalpit - Block Entity Class
Chisel chiseledblock - Block Entity Class
Chute chute - Block Entity Class
ClayForm clayform - Block Entity Class
Crock crock - Block Entity Class
DisplayCase displaycase - Block Entity Class
EchoChamber echochamber - Block Entity Class
Farmland farmland - Block Entity Class
Fire - - Block Entity Class
FireWoodPile firewoodpile - Block Entity Class
FirePit firepit - Block Entity Class
Forge forge - Block Entity Class
GenericContainer - - Block Entity Class
GenericTypedContainer chest, storagevessel, stationarybasket - Block Entity Class
IngotMold ingotmold - Block Entity Class
IngotPile ingotpile - Block Entity Class
ItemFlow - - Block Entity Class
KnappingSurface knappingsurface - Block Entity Class
LabeledChest chest-labeled - Block Entity Class
Lantern lantern - Block Entity Class
LocustNest cage (locustnest) - Block Entity Class
Meal bowl-meal Block Entity Class
PeatPile peatpile - Block Entity Class
PlankPile plankpile - Block Entity Class
PlatePile platepile - Block Entity Class
PumpkinVine vine (pumpkin) - Block Entity Class
Quern quern - Block Entity Class
Sapling plaintreesapling - Block Entity Class
Shelf shelf - Block Entity Class
Sign sign - Block Entity Class
SignPost signpost - Block Entity Class
SmeltedContainer crucible - Block Entity Class
Spawner meta - Block Entity Class
StaticTranslocator statictranslocator - Block Entity Class
Stove - - Block Entity Class
Tapestry tapestry - Block Entity Class
Teleporter teleporter - Block Entity Class
ToolMold toolmold - Block Entity Class
ToolRack toolrack - Block Entity Class
Torch torch (including colored version) - Block Entity Class
Trough trough-small, trough-large - Block Entity Class
WateringCan wateringcan - Block Entity Class


Icon Sign.png

Wondering where some links have gone?
The modding navbox is going through some changes! Check out Navigation Box Updates for more info and help finding specific pages.

Modding
Modding Introduction Getting Started Theme Pack
Content Modding Content Mods Developing a Content Mod Basic Tutorials Intermediate Tutorials Advanced Tutorials Content Mod Concepts
Code Modding Code Mods Setting up your Development Environment
Property Overview ItemEntityEntity BehaviorsBlockBlock BehaviorsBlock ClassesBlock EntitiesBlock Entity BehaviorsCollectible BehaviorsWorld properties
Workflows & Infrastructure Modding Efficiency TipsMod-engine compatibilityMod ExtensibilityVS Engine
Additional Resources Community Resources Modding API Updates Programming Languages List of server commandsList of client commandsClient startup parametersServer startup parameters
Example ModsAPI DocsGitHub Repository