mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 04:21:07 +01:00
Make shulker boxes rotatable on place
This commit is contained in:
parent
06a8a810be
commit
38e30fee8d
1 changed files with 2 additions and 0 deletions
|
@ -599,6 +599,8 @@ for color, desc in pairs(boxtypes) do
|
||||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||||
stack_max = 1,
|
stack_max = 1,
|
||||||
drop = "",
|
drop = "",
|
||||||
|
paramtype2 = "facedir",
|
||||||
|
on_place = minetest.rotate_node,
|
||||||
on_construct = function(pos)
|
on_construct = function(pos)
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
meta:set_string("formspec",
|
meta:set_string("formspec",
|
||||||
|
|
Loading…
Reference in a new issue