1
0
Fork 0

Nether portal -> struct api, add schematics

light_dump
cora 2022-09-12 15:44:13 +02:00 committed by Gitea
parent adc4e9f810
commit b7b19c0602
4 changed files with 16 additions and 1 deletions

View File

@ -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

View File

@ -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"
},
})