Make minecart entities identifiable

This commit is contained in:
Wuzzy 2017-03-21 03:58:53 +01:00
parent ca9b7d69c1
commit daf4a6f5f2
2 changed files with 5 additions and 0 deletions

View File

@ -3,3 +3,4 @@ mcl_sounds
mcl_player
mcl_achievements
mesecons?
doc_identifier?

View File

@ -301,6 +301,10 @@ minetest.register_craftitem("mcl_minecarts:minecart", {
groups = { minecart = 1, transport = 1},
})
if minetest.get_modpath("doc_identifier") ~= nil then
doc.sub.identifier.register_object("mcl_minecarts:minecart", "craftitems", "mcl_minecarts:minecart")
end
minetest.register_craft({
output = "mcl_minecarts:minecart",
recipe = {