Modding:Block Entity Classes: Difference between revisions
From Vintage Story Wiki
Lazy Warlock (talk | contribs) |
Lazy Warlock (talk | contribs) |
||
Line 5: | Line 5: | ||
== All Block Entities == | == All Block Entities == | ||
Here is a table containing all entities used | Here is a table containing all block entities used as of version 1.9.+z | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! Entity Name !! Example Blocks !! Description !! Github Link | ! 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 | |||
|} | |} | ||
{{Navbox/modding|Vintage Story}} | {{Navbox/modding|Vintage Story}} |
Revision as of 01:46, 1 May 2020
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"
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
|
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 | Item • Entity • Block • Block Behaviors • Block Classes • Block Entities • Block Entity Behaviors • World properties |
Workflows & Infrastructure | Modding Efficiency Tips • Mod-engine compatibility • Mod Extensibility • VS Engine |
Additional Resources | Community Resources • Modding API Updates • Programming Languages • List of server commands • List of client commands • Client startup parameters • Server startup parameters Example Mods • API Docs • GitHub Repository |