forked from MineClone5/MineClone5
Make minecart entities identifiable
This commit is contained in:
parent
ca9b7d69c1
commit
daf4a6f5f2
|
@ -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 New Issue