mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-26 03:07:32 +01:00
Make minecart entities identifiable
This commit is contained in:
parent
ca9b7d69c1
commit
daf4a6f5f2
@ -3,3 +3,4 @@ mcl_sounds
|
||||
mcl_player
|
||||
mcl_achievements
|
||||
mesecons?
|
||||
doc_identifier?
|
||||
|
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user