Make iron golems and snow golems summonable
This commit is contained in:
parent
06eaa96f3d
commit
fcfb72a643
3 changed files with 17 additions and 2 deletions
|
@ -4,4 +4,5 @@ bucket
|
|||
mcl_wool
|
||||
mcl_torches
|
||||
weather_pack
|
||||
mobs_mc
|
||||
doc?
|
||||
|
|
|
@ -82,6 +82,11 @@ local pumpkin_base_def = {
|
|||
tiles = {"farming_pumpkin_top.png", "farming_pumpkin_top.png", "farming_pumpkin_side.png", "farming_pumpkin_side.png", "farming_pumpkin_side.png", "farming_pumpkin_face.png"},
|
||||
groups = {handy=1,axey=1, plant=1,building_block=1, armor_head=1,non_combat_armor=1, dig_by_piston=1},
|
||||
sounds = mcl_sounds.node_sound_wood_defaults(),
|
||||
on_construct = function(pos)
|
||||
-- Attempt to spawn iron golem or snow golem
|
||||
mobs_mc.tools.check_iron_golem_summon(pos)
|
||||
mobs_mc.tools.check_snow_golem_summon(pos)
|
||||
end,
|
||||
_mcl_blast_resistance = 5,
|
||||
_mcl_hardness = 1,
|
||||
}
|
||||
|
@ -107,6 +112,11 @@ minetest.register_node("mcl_farming:pumpkin_face_light", {
|
|||
tiles = {"farming_pumpkin_top.png", "farming_pumpkin_top.png", "farming_pumpkin_side.png", "farming_pumpkin_side.png", "farming_pumpkin_side.png", "farming_pumpkin_face_light.png"},
|
||||
groups = {handy=1,axey=1, building_block=1, dig_by_piston=1 },
|
||||
sounds = mcl_sounds.node_sound_wood_defaults(),
|
||||
on_construct = function(pos)
|
||||
-- Attempt to spawn iron golem or snow golem
|
||||
mobs_mc.tools.check_iron_golem_summon(pos)
|
||||
mobs_mc.tools.check_snow_golem_summon(pos)
|
||||
end,
|
||||
_mcl_blast_resistance = 5,
|
||||
_mcl_hardness = 1,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue