1
0
Fork 0

Allow zombie villager to have visual armor

production
epCode 2021-04-15 12:04:25 -07:00 committed by kay27
parent 81844f8f74
commit 5aac1e71cb
2 changed files with 14 additions and 15 deletions

View File

@ -38,12 +38,12 @@ mobs:register_mob("mobs_mc:villager_zombie", {
visual = "mesh", visual = "mesh",
mesh = "mobs_mc_villager_zombie.b3d", mesh = "mobs_mc_villager_zombie.b3d",
textures = { textures = {
{"mobs_mc_zombie_butcher.png"}, {"mobs_mc_empty.png", "mobs_mc_zombie_butcher.png", "default_tool_stonesword.png"},
{"mobs_mc_zombie_farmer.png"}, --{"mobs_mc_zombie_farmer.png"},
{"mobs_mc_zombie_librarian.png"}, --{"mobs_mc_zombie_librarian.png"},
{"mobs_mc_zombie_priest.png"}, --{"mobs_mc_zombie_priest.png"},
{"mobs_mc_zombie_smith.png"}, --{"mobs_mc_zombie_smith.png"},
{"mobs_mc_zombie_villager.png"} --{"mobs_mc_zombie_villager.png"}
}, },
visual_size = {x=2.75, y=2.75}, visual_size = {x=2.75, y=2.75},
makes_footstep_sound = true, makes_footstep_sound = true,
@ -147,8 +147,8 @@ mobs:register_mob("mobs_mc:villager_zombie", {
}) })
mobs:spawn_specific( mobs:spawn_specific(
"mobs_mc:villager_zombie", "mobs_mc:villager_zombie",
"overworld", "overworld",
"ground", "ground",
{ {
"FlowerForest_underground", "FlowerForest_underground",
@ -231,15 +231,14 @@ mobs:spawn_specific(
"MesaBryce_sandlevel", "MesaBryce_sandlevel",
"Mesa_sandlevel", "Mesa_sandlevel",
}, },
0, 0,
7, 7,
30, 30,
4090, 4090,
4, 4,
mobs_mc.spawn_height.overworld_min, mobs_mc.spawn_height.overworld_min,
mobs_mc.spawn_height.overworld_max) mobs_mc.spawn_height.overworld_max)
--mobs:spawn_specific("mobs_mc:villager_zombie", "overworld", "ground", 0, 7, 30, 60000, 4, mobs_mc.spawn_height.overworld_min, mobs_mc.spawn_height.overworld_max) --mobs:spawn_specific("mobs_mc:villager_zombie", "overworld", "ground", 0, 7, 30, 60000, 4, mobs_mc.spawn_height.overworld_min, mobs_mc.spawn_height.overworld_max)
-- spawn eggs -- spawn eggs
mobs:register_egg("mobs_mc:villager_zombie", S("Zombie Villager"), "mobs_mc_spawn_icon_zombie_villager.png", 0) mobs:register_egg("mobs_mc:villager_zombie", S("Zombie Villager"), "mobs_mc_spawn_icon_zombie_villager.png", 0)