1
0
Fork 0

Add "real" glowing effect for glowing itemframe

This commit is contained in:
NO11 2021-05-13 21:52:47 +00:00
parent ba333d016a
commit d662fa8bd0
1 changed files with 2 additions and 1 deletions

View File

@ -31,6 +31,7 @@ minetest.register_entity("extra_mobs:glow_item_frame_item",{
textures = { "blank.png" },
_texture = "blank.png",
_scale = 1,
glow = minetest.LIGHT_MAX,
on_activate = function(self, staticdata)
if staticdata ~= nil and staticdata ~= "" then
@ -166,7 +167,7 @@ minetest.register_node("extra_mobs:glow_item_frame",{
paramtype2 = "facedir",
--FIXME: should only be glowing, no light source. How is that possible with a node?
light_source = minetest.LIGHT_MAX,
light_source = 1,
sunlight_propagates = true,
groups = { dig_immediate=3,deco_block=1,dig_by_piston=1,container=7,attached_node_facedir=1 },