Json block behaviors OmniAttachable
Jump to navigation
Jump to search
Purpose
Can be attached on any block side. Used for:
- Lantern
Example use:
variantgroups: [
{ code:"position", states: ["up", "down"], combine: "additive" },
{ code:"wall", loadFromProperties: "abstract/horizontalorientation" }
],
Properties
facingPos (int, default: 1)
The facing position for the dropped block and the pick block. 1 is "up".
Main Page: Modding |
Basics | Mod Types | Asset System | Textures | Items | Recipes | Blocks | Model Creator | Release |
Advanced | Setup(Windows,Linux) | Items (Code, JSON) | Blocks | Item-Block interactions | Block Behaviors | Block Entities | Particles | World Access |
Worldgen | Terrain | Ores | Trees | WorldGen API |
Rendering | Shaders and Renderers |
Property Overview | Item | Block | Block Behaviors | Block Classes | Block Entities | Block Entity Behaviors |