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 Blocks Description Github Link
Anvil anvil - Anvil Block Entity Class
Barrel barrel Controls the rendering and forging of work items on an anvil. Anvil Block Entity Class
Bed bed - Block Entity Class
Beehive - Block Entity Class
- Block Entity Class
- Block Entity Class
- Block Entity Class
- Block Entity Class
- Block Entity Class
- Block Entity Class
- Block Entity Class
- Block Entity Class
- Block Entity Class
- Block Entity Class
- Block Entity Class
- Block Entity Class
- 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 ItemEntityBlockBlock BehaviorsBlock ClassesBlock EntitiesBlock Entity 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