Equip mob heads with rightclick
This commit is contained in:
parent
6724a8d0ed
commit
8e37b51cac
@ -42,7 +42,7 @@ local function addhead(name, texture, desc, longdesc, rangemob, rangefactor)
|
|||||||
{ -0.25, -0.5, -0.25, 0.25, 0.0, 0.25, },
|
{ -0.25, -0.5, -0.25, 0.25, 0.0, 0.25, },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
groups = {handy=1, armor_head=1,non_combat_armor=1, head=1, deco_block=1, dig_by_piston=1 },
|
groups = {handy = 1, armor = 1, armor_head = 1, non_combat_armor = 1, non_combat_armor_head = 1, head = 1, deco_block = 1, dig_by_piston = 1},
|
||||||
-- The head textures are based off the textures of an actual mob.
|
-- The head textures are based off the textures of an actual mob.
|
||||||
tiles = {
|
tiles = {
|
||||||
-- Note: bottom texture is overlaid over top texture to get rid of possible transparency.
|
-- Note: bottom texture is overlaid over top texture to get rid of possible transparency.
|
||||||
@ -111,6 +111,7 @@ local function addhead(name, texture, desc, longdesc, rangemob, rangefactor)
|
|||||||
|
|
||||||
_mcl_armor_mob_range_mob = rangemob,
|
_mcl_armor_mob_range_mob = rangemob,
|
||||||
_mcl_armor_mob_range_factor = rangefactor,
|
_mcl_armor_mob_range_factor = rangefactor,
|
||||||
|
_mcl_armor_element = "head",
|
||||||
_mcl_blast_resistance = 1,
|
_mcl_blast_resistance = 1,
|
||||||
_mcl_hardness = 1,
|
_mcl_hardness = 1,
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user