1
0
Fork 0

(+)illager_head_rotation

icebergs
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
end end
if not spider_eyes then 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.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.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(1,2.54,-1.99), vector.new(90,0,180))
end end
end, end,
sounds = { sounds = {

View File

@ -21,6 +21,10 @@ mcl_mobs:register_mob("mobs_mc:evoker", {
hp_max = 24, hp_max = 24,
xp_min = 10, xp_min = 10,
xp_max = 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}, collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.95, 0.4},
visual = "mesh", visual = "mesh",
mesh = "mobs_mc_villager.b3d", mesh = "mobs_mc_villager.b3d",

View File

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

View File

@ -23,6 +23,10 @@ mcl_mobs:register_mob("mobs_mc:vindicator", {
collisionbox = {-0.3, -0.01, -0.3, 0.3, 1.94, 0.3}, collisionbox = {-0.3, -0.01, -0.3, 0.3, 1.94, 0.3},
visual = "mesh", visual = "mesh",
mesh = "mobs_mc_vindicator.b3d", mesh = "mobs_mc_vindicator.b3d",
head_swivel = "head.control",
bone_eye_height = 2.2,
head_eye_height = 2.2,
curiosity = 10,
textures = { textures = {
{ {
"mobs_mc_vindicator.png", "mobs_mc_vindicator.png",