-
Notifications
You must be signed in to change notification settings - Fork 4
Adding DisplayableProps behavior
Dana edited this page Apr 3, 2026
·
4 revisions
Important
Make sure to familiarize yourself with the library's syntax: Attribute‐based Matching
Allows you to adjust size, model and transform of the attribute-typed item/block when stored on shelf etc.
Add the following behavior:
Note
Everything listed below can only be used in behavior's own properties
displayable
Properties that can be used in this property:
behaviorsizetransformrandYRotAnglecategorypileableSelectiveElements
Example:
"displayable": {
"key-value": {
"shelf": {
"size": { "width": 2, "height": 1, "length": 2 },
"RandYRotAngle": 5,
"transform": {
"translation": { "x": -0.2, "y": 0, "z": -0.2 }
}
}
},
"key2-value2": {
"shelf": {
"size": { "width": 5, "height": 1, "length": 7 },
"transform": {
"translation": { "x": 0, "y": -0.03, "z": 0 },
"rotation": { "x": -7, "y": 0, "z": 0 },
"origin": { "x": 0.5, "y": -0, "z": 0.5 },
"scale": 0.5
}
}
}
}