1
0
mirror of https://github.com/pyrollo/display_modpack.git synced 2025-07-01 07:30:42 +02:00

Update the entities as soon as mapblock is loaded

Useful e.g. after /clearobjects
Introduces the group `display_lib_node`
This commit is contained in:
Thomas--S
2018-01-27 17:40:42 +01:00
parent 78e3b85274
commit 1c1be8a7c1
5 changed files with 19 additions and 9 deletions

View File

@ -153,7 +153,7 @@ function signs.register_sign(mod, name, model)
fixed = {-model.width/2, -model.height/2, 0.5,
model.width/2, model.height/2, 0.5 - model.depth},
},
groups = {choppy=2, dig_immediate=2, not_blocking_trains = 1},
groups = {choppy=2, dig_immediate=2, not_blocking_trains = 1, display_lib_node = 1},
sounds = default.node_sound_defaults(),
display_entities = {
["signs:display_text"] = {