mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 20:41:11 +01:00
Add identifier support for armor stand
This commit is contained in:
parent
58a8673e76
commit
453a59d19e
2 changed files with 5 additions and 0 deletions
|
@ -2,3 +2,4 @@
|
||||||
mcl_core
|
mcl_core
|
||||||
mcl_sounds
|
mcl_sounds
|
||||||
stairs
|
stairs
|
||||||
|
doc_identifier?
|
||||||
|
|
|
@ -216,6 +216,10 @@ minetest.register_entity("3d_armor_stand:armor_entity", {
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
if minetest.get_modpath("doc_identifier") ~= nil then
|
||||||
|
doc.sub.identifier.register_object("3d_armor_stand:armor_entity", "nodes", "3d_armor_stand:armor_stand")
|
||||||
|
end
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "3d_armor_stand:armor_stand",
|
output = "3d_armor_stand:armor_stand",
|
||||||
recipe = {
|
recipe = {
|
||||||
|
|
Loading…
Reference in a new issue