mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-26 19:27:31 +01:00
Tweak sheep and chicken collision boxes
This commit is contained in:
parent
240ae29e3b
commit
1abdb3b62d
@ -11,9 +11,11 @@ mobs:register_mob("mobs_mc:chicken", {
|
|||||||
type = "animal",
|
type = "animal",
|
||||||
hp_min = 4,
|
hp_min = 4,
|
||||||
hp_max = 4,
|
hp_max = 4,
|
||||||
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1, 0.4},
|
-- The x/z size is slightly bigger than in Minecraft (MC: 0.4×0.4; MCL2: 0.5×0.5)
|
||||||
|
collisionbox = {-0.25, -0.01, -0.25, 0.25, 0.69, 0.25},
|
||||||
|
|
||||||
visual = "mesh",
|
visual = "mesh",
|
||||||
|
visual_size = {x=0.7, y=0.7},
|
||||||
mesh = "mobs_mc_chicken.x",
|
mesh = "mobs_mc_chicken.x",
|
||||||
textures = {
|
textures = {
|
||||||
{"mobs_mc_chicken.png"}
|
{"mobs_mc_chicken.png"}
|
||||||
|
@ -37,7 +37,8 @@ mobs:register_mob("mobs_mc:sheep", {
|
|||||||
type = "animal",
|
type = "animal",
|
||||||
hp_min = 8,
|
hp_min = 8,
|
||||||
hp_max = 8,
|
hp_max = 8,
|
||||||
collisionbox = {-0.45, -0.01, -0.45, 0.45, 1.29, 0.45},
|
-- FIXME: Should be 1.3 blocks high
|
||||||
|
collisionbox = {-0.45, -0.01, -0.45, 0.45, 1.09, 0.45},
|
||||||
|
|
||||||
visual = "mesh",
|
visual = "mesh",
|
||||||
visual_size = {x=0.6, y=0.6},
|
visual_size = {x=0.6, y=0.6},
|
||||||
|
Loading…
Reference in New Issue
Block a user