(+)illager_head_rotation

This commit is contained in:
epCode 2022-10-06 18:56:38 -07:00 committed by Gitea
parent 25cceb58a9
commit 30c77a3517
7 changed files with 22 additions and 10 deletions

View file

@ -263,8 +263,8 @@ mcl_mobs:register_mob("mobs_mc:enderman", {
end
end
if not spider_eyes then
minetest.add_entity(self.object:get_pos(), "mobs_mc:ender_eyes"):set_attach(self.object, "head.low", vector.new(0,3.25,-1.98), vector.new(90,0,180))
minetest.add_entity(self.object:get_pos(), "mobs_mc:ender_eyes"):set_attach(self.object, "head.low", vector.new(1,3.25,-1.98), vector.new(90,0,180))
minetest.add_entity(self.object:get_pos(), "mobs_mc:ender_eyes"):set_attach(self.object, "head.top", vector.new(0,2.54,-1.99), vector.new(90,0,180))
minetest.add_entity(self.object:get_pos(), "mobs_mc:ender_eyes"):set_attach(self.object, "head.top", vector.new(1,2.54,-1.99), vector.new(90,0,180))
end
end,
sounds = {

View file

@ -21,6 +21,10 @@ mcl_mobs:register_mob("mobs_mc:evoker", {
hp_max = 24,
xp_min = 10,
xp_max = 10,
head_swivel = "head.control",
bone_eye_height = 6.3,
head_eye_height = 2.2,
curiosity = 10,
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.95, 0.4},
visual = "mesh",
mesh = "mobs_mc_villager.b3d",

View file

@ -33,6 +33,10 @@ mcl_mobs:register_mob("mobs_mc:illusioner", {
"mobs_mc_illusionist.png", --hat
"mcl_bows_bow.png",
}, },
head_swivel = "head.control",
bone_eye_height = 2.2,
head_eye_height = 2.2,
curiosity = 10,
sounds = {
-- TODO: more sounds
distance = 16,

View file

@ -23,14 +23,18 @@ mcl_mobs:register_mob("mobs_mc:vindicator", {
collisionbox = {-0.3, -0.01, -0.3, 0.3, 1.94, 0.3},
visual = "mesh",
mesh = "mobs_mc_vindicator.b3d",
textures = {
{
"mobs_mc_vindicator.png",
"blank.png", --no hat
"default_tool_steelaxe.png",
-- TODO: Glow when attacking (mobs_mc_vindicator.png)
},
},
head_swivel = "head.control",
bone_eye_height = 2.2,
head_eye_height = 2.2,
curiosity = 10,
textures = {
{
"mobs_mc_vindicator.png",
"blank.png", --no hat
"default_tool_steelaxe.png",
-- TODO: Glow when attacking (mobs_mc_vindicator.png)
},
},
visual_size = {x=2.75, y=2.75},
makes_footstep_sound = true,
damage = 13,