forked from VoxeLibre/VoxeLibre
Nether portal -> struct api, add schematics
This commit is contained in:
parent
d52c57b653
commit
f0408d20ea
|
@ -1,4 +1,4 @@
|
||||||
name = mcl_portals
|
name = mcl_portals
|
||||||
description = Adds buildable portals to the Nether and End dimensions.
|
description = Adds buildable portals to the Nether and End dimensions.
|
||||||
depends = mcl_nether, mcl_end, mcl_particles, mcl_spawn, mcl_credits
|
depends = mcl_nether, mcl_end, mcl_particles, mcl_spawn, mcl_credits, mcl_structures
|
||||||
optional_depends = awards, doc
|
optional_depends = awards, doc
|
||||||
|
|
|
@ -906,3 +906,18 @@ minetest.override_item(OBSIDIAN, {
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
mcl_structures.register_structure("nether_portal",{
|
||||||
|
nospawn = true,
|
||||||
|
filenames = {
|
||||||
|
modpath.."/schematics/mcl_portals_nether_portal.mts"
|
||||||
|
},
|
||||||
|
after_place = function(pos,def,pr,blockseed)
|
||||||
|
end
|
||||||
|
})
|
||||||
|
mcl_structures.register_structure("nether_portal_open",{
|
||||||
|
nospawn = true,
|
||||||
|
filenames = {
|
||||||
|
modpath.."/schematics/mcl_portals_nether_portal_open.mts"
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue