1
0
mirror of https://github.com/pyrollo/display_modpack.git synced 2025-06-28 22:26:41 +02:00

Added display_lib.entity_spacing variable to centralize entity spacing.

This commit is contained in:
Pierre-Yves Rollo
2018-01-18 21:46:10 +01:00
parent a71ae8e013
commit ea36ed50d8
3 changed files with 7 additions and 2 deletions

View File

@ -158,7 +158,7 @@ function signs.register_sign(mod, name, model)
display_entities = {
["signs:display_text"] = {
on_display_update = font_lib.on_display_update,
depth = 0.499 - model.depth,
depth = 0.5 - display_lib.entity_spacing - model.depth,
size = { x = model.width, y = model.height },
resolution = { x = 64, y = 64 },
maxlines = 1,