mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-26 09:59:33 +01:00
Nether portal -> struct api, add schematics
This commit is contained in:
parent
adc4e9f810
commit
b7b19c0602
4 changed files with 16 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
name = mcl_portals
|
||||
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
|
||||
|
|
|
@ -906,3 +906,18 @@ minetest.override_item(OBSIDIAN, {
|
|||
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