Modding:HorizontalOrientable behavior: Difference between revisions
From Vintage Story Wiki
No edit summary |
mNo edit summary |
||
Line 17: | Line 17: | ||
== Properties == | == Properties == | ||
<code>dropBlockFace</code>: Determines which direction the block drop face is done. <br> | <code>dropBlockFace (compassdirection, default: "north")</code>: Determines which direction the block drop face is done. <br> | ||
<code>dropBlock </code>: Determines which block to drop. | <code>dropBlock (optional) </code>: Determines which block to drop. | ||
{{Navbox/modding|Vintage Story}} | {{Navbox/modding|Vintage Story}} |
Revision as of 22:24, 25 March 2019
Purpose
Block can be rotated horizontally. Used for:
- Workbench
- Ladder
- Echochamber
- Chest
- Stove
- Altar
- Windmillrotor
- Bellows
Requires abstract/horizontalorientation
:
variantgroups: [
{ code:"side", loadFromProperties: "abstract/horizontalorientation" }
],
Properties
dropBlockFace (compassdirection, default: "north")
: Determines which direction the block drop face is done.
dropBlock (optional)
: Determines which block to drop.
![Icon Sign.png](/images/thumb/1/15/Icon_Sign.png/32px-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 | 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 |