mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2025-03-11 06:07:44 +01:00
Add back netherrack to nylium conversion with bonemeal that was removed with a4f1ccd0ee
but using the new bonemeal API
This commit is contained in:
parent
cfd214df76
commit
0eaf9941c4
2 changed files with 10 additions and 1 deletions
|
@ -778,6 +778,15 @@ minetest.register_craft({
|
|||
mcl_stairs.register_stair("crimson_hyphae_wood", "mcl_crimson:crimson_hyphae_wood", wood_stair_groups, false, S("Crimson Stairs"))
|
||||
mcl_stairs.register_slab("crimson_hyphae_wood", "mcl_crimson:crimson_hyphae_wood", wood_slab_groups, false, S("Crimson Slab"))
|
||||
|
||||
core.override_item("mcl_nether:netherrack", {
|
||||
_on_bone_meal = function(itemstack, placer, pointed_thing)
|
||||
local n = has_nylium_neighbor(pointed_thing.under)
|
||||
if n then
|
||||
core.set_node(pointed_thing.under, n)
|
||||
end
|
||||
end
|
||||
})
|
||||
|
||||
minetest.register_abm({
|
||||
label = "Turn Crimson Nylium and Warped Nylium below solid block into Netherrack",
|
||||
nodenames = {"mcl_crimson:crimson_nylium","mcl_crimson:warped_nylium"},
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
name = mcl_crimson
|
||||
author = debiankaios, Exhale
|
||||
depends = mcl_core, mcl_fences, mcl_stairs, mobs_mc, mcl_util, mcl_dye, mcl_flowerpots, mcl_doors
|
||||
depends = mcl_core, mcl_fences, mcl_stairs, mobs_mc, mcl_util, mcl_dye, mcl_flowerpots, mcl_doors, mcl_nether
|
||||
|
|
Loading…
Reference in a new issue