Nether portal -> struct api, add schematics
This commit is contained in:
parent
adc4e9f810
commit
b7b19c0602
|
@ -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 New Issue
Block a user