mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-24 14:05:10 +00:00
Make minecart entities identifiable
This commit is contained in:
parent
ca9b7d69c1
commit
daf4a6f5f2
2 changed files with 5 additions and 0 deletions
|
@ -3,3 +3,4 @@ mcl_sounds
|
||||||
mcl_player
|
mcl_player
|
||||||
mcl_achievements
|
mcl_achievements
|
||||||
mesecons?
|
mesecons?
|
||||||
|
doc_identifier?
|
||||||
|
|
|
@ -301,6 +301,10 @@ minetest.register_craftitem("mcl_minecarts:minecart", {
|
||||||
groups = { minecart = 1, transport = 1},
|
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({
|
minetest.register_craft({
|
||||||
output = "mcl_minecarts:minecart",
|
output = "mcl_minecarts:minecart",
|
||||||
recipe = {
|
recipe = {
|
||||||
|
|
Loading…
Reference in a new issue