mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-16 16:11:06 +01:00
Nether portal -> struct api, add schematics
This commit is contained in:
parent
d52c57b653
commit
f0408d20ea
4 changed files with 16 additions and 1 deletions
|
@ -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"
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
BIN
mods/ITEMS/mcl_portals/schematics/mcl_portals_nether_portal.mts
Normal file
BIN
mods/ITEMS/mcl_portals/schematics/mcl_portals_nether_portal.mts
Normal file
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue