aboutsummaryrefslogtreecommitdiff
path: root/display_api/API.md
diff options
context:
space:
mode:
authorThomas--S <info@thomas-stangl.de>2018-02-15 17:26:59 +0100
committerThomas--S <info@thomas-stangl.de>2018-02-25 18:47:58 +0100
commitec48743fb9a51b9e88914ad231af6b99fa0cd2ec (patch)
tree847790fd112daceb7e648bb415eea8dc5af12780 /display_api/API.md
parent9c877a0244a5b50d1092b8a0b50e979468c6fb50 (diff)
downloaddisplay_modpack-ec48743fb9a51b9e88914ad231af6b99fa0cd2ec.tar.gz
display_modpack-ec48743fb9a51b9e88914ad231af6b99fa0cd2ec.tar.bz2
display_modpack-ec48743fb9a51b9e88914ad231af6b99fa0cd2ec.zip
Allow a greater object offset
This allows e.g. polemounted signs. Required for display_modpack to be usable in the streets mod. Backwards compatible.
Diffstat (limited to 'display_api/API.md')
-rw-r--r--display_api/API.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/display_api/API.md b/display_api/API.md
index b133c8a..0d52e29 100644
--- a/display_api/API.md
+++ b/display_api/API.md
@@ -49,7 +49,10 @@ This is a helper to register entities used for display.
### Display_entities fields
`on_display_update` is a callback in charge of setting up entity texture. If not set, entity will have no texture and will be displayed as unknown item.
-`depth`, `right` and `heigh` : Entity position regarding to node facedir/wallmounted main axis. Values for these fields can be any number between -0.5 and 0.5 (default value is 0). Position 0,0,0 is the center of the node. `depth` goes from front (-0.5) to rear (0.5), `height` goes from bottom (-0.5) to top (0.5) and `right` goes from left (-0.5) to right (0.5).
+`depth`, `right` and `height` : Entity position regarding to node facedir/wallmounted main axis.
+Values for these fields can be any number between -1.5 and 1.5 (default value is 0).
+Position 0,0,0 is the center of the node.
+`depth` goes from front (-0.5) to rear (0.5), `height` goes from bottom (-0.5) to top (0.5) and `right` goes from left (-0.5) to right (0.5).
In order to avoid flickering text, it's better to have text a little behind node surface. A good spacing value is given by `display_api.entity_spacing` variable.