f23e0a544d
#### Links [blender models](https://github.com/22i/minecraft-voxel-blender-models), [mobs_mc](https://github.com/maikerumine/mobs_mc), [how to recreate mobs from textures with Blender and Gimp](http://imgur.com/a/Iqg88) Minecraft mobs were remade in blender Credits: [toby109tt](https://github.com/tobyplowy) mapping fixes - better 2d planes
1541 lines
34 KiB
Lua
1541 lines
34 KiB
Lua
--[[
|
|
COLISIONBOX in minetest press f5 to see where you are looking at then put these wool collor nodes on the ground in direction of north/east/west... to make colisionbox editing easier
|
|
#1west-pink/#2down/#3south-blue/#4east-red/#5up/#6north-yelow
|
|
{-1, -0.5, -1, 1, 3, 1}, Right, Bottom, Back, Left, Top, Front
|
|
--]]
|
|
|
|
--###################
|
|
--################### CHICKEN
|
|
--###################
|
|
|
|
mobs:register_mob("amc:6chicken", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "chicken.b3d",
|
|
textures = {
|
|
{"chicken.png"},
|
|
},
|
|
visual_size = {x=3, y=3},
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 25, speed_run = 50,
|
|
stand_start = 0, stand_end = 0,
|
|
walk_start = 0, walk_end = 40,
|
|
run_start = 0, run_end = 40,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:6chicken", "Chicken", "chicken_inv.png", 0)
|
|
|
|
--###################
|
|
--################### COW
|
|
--###################
|
|
|
|
mobs:register_mob("amc:0acow", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "cow.b3d",
|
|
textures = {
|
|
{"cow.png"},
|
|
},
|
|
visual_size = {x=3, y=3},
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 25, speed_run = 50,
|
|
stand_start = 0, stand_end = 0,
|
|
walk_start = 0, walk_end = 40,
|
|
run_start = 0, run_end = 40,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:0acow", "Cow", "cow_inv.png", 0)
|
|
|
|
--###################
|
|
--################### COW MOOSHROOM
|
|
--###################
|
|
|
|
mobs:register_mob("amc:0amooshroom", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "mooshroom.b3d",
|
|
textures = {
|
|
{"mooshroom.png"},
|
|
},
|
|
visual_size = {x=3, y=3},
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 25, speed_run = 50,
|
|
stand_start = 0, stand_end = 0,
|
|
walk_start = 0, walk_end = 40,
|
|
run_start = 0, run_end = 40,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:0amooshroom", "Mooshroom", "mooshroom_inv.png", 0)
|
|
|
|
--###################
|
|
--################### CREEPER
|
|
--###################
|
|
|
|
mobs:register_mob("amc:27creeper", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "creeper.b3d",
|
|
textures = {
|
|
{"creeper.png"},
|
|
},
|
|
visual_size = {x=3, y=3},
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 25, speed_run = 50,
|
|
stand_start = 0, stand_end = 0,
|
|
walk_start = 0, walk_end = 40,
|
|
run_start = 0, run_end = 40,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:27creeper", "Creeper", "creeper_inv.png", 0)
|
|
|
|
--###################
|
|
--################### BAT
|
|
--###################
|
|
|
|
mobs:register_mob("amc:1bat", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "bat.b3d",
|
|
textures = {
|
|
{"bat.png"},
|
|
},
|
|
visual_size = {x=1, y=1},
|
|
walk_velocity = 3,
|
|
run_velocity = 3,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 80, speed_run = 80,
|
|
stand_start = 0, stand_end = 40,
|
|
walk_start = 0, walk_end = 40,
|
|
run_start = 0, run_end = 40,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:1bat", "Bat", "bat_inv.png", 0)
|
|
|
|
--###################
|
|
--################### PARROT
|
|
--###################
|
|
|
|
mobs:register_mob("amc:1parrot", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 1, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "parrot.b3d",
|
|
textures = {{"parrot_blue.png"},{"parrot_green.png"},{"parrot_grey.png"},{"parrot_red_blue.png"},{"parrot_yellow_blue.png"}},
|
|
visual_size = {x=3, y=3},
|
|
walk_velocity = 1.5,
|
|
run_velocity = 1.5,
|
|
jump = false,
|
|
jump_height = 0,
|
|
--fly = true,
|
|
--fly_in = "air",
|
|
animation = {
|
|
speed_normal = 50,
|
|
speed_run = 50,
|
|
stand_start = 0,
|
|
stand_end = 0,
|
|
walk_start = 0,
|
|
walk_end = 130,
|
|
--run_start = 0,
|
|
--run_end = 20,
|
|
--fly_start = 30,
|
|
--fly_end = 45,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:1parrot", "Parrot", "parrot_inv.png", 0)
|
|
|
|
--###################
|
|
--################### POLARBEAR
|
|
--###################
|
|
|
|
mobs:register_mob("amc:2polarbear", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "polarbear.b3d",
|
|
textures = {
|
|
{"polarbear.png"},
|
|
},
|
|
visual_size = {x=3, y=3},
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 25, speed_run = 50,
|
|
stand_start = 0, stand_end = 0,
|
|
walk_start = 0, walk_end = 40,
|
|
run_start = 0, run_end = 40,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:2polarbear", "Polarbear", "polarbear_inv.png", 0)
|
|
|
|
|
|
--###################
|
|
--################### BLAZE
|
|
--###################
|
|
|
|
mobs:register_mob("amc:3blaze", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "blaze.b3d",
|
|
textures = {
|
|
{"blaze.png"},
|
|
},
|
|
visual_size = {x=3, y=3},
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 25, speed_run = 50,
|
|
stand_start = 0, stand_end = 100,
|
|
walk_start = 0, walk_end = 100,
|
|
run_start = 0, run_end = 100,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:3blaze", "Blaze", "blaze_inv.png", 0)
|
|
|
|
--###################
|
|
--################### OCELOT - CAT
|
|
--###################
|
|
|
|
mobs:register_mob("amc:5ocelot", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "cat.b3d",
|
|
textures = {{"cat.png"},{"cat1.png"},{"cat2.png"},{"cat3.png"},{"cat4.png"}},
|
|
visual_size = {x=3, y=3},
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 25, speed_run = 50,
|
|
stand_start = 0, stand_end = 0,
|
|
walk_start = 0, walk_end = 40,
|
|
run_start = 0, run_end = 40,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:5ocelot", "Ocelot", "cat_inv.png", 0)
|
|
|
|
--###################
|
|
--################### MAGMACUBE
|
|
--###################
|
|
|
|
mobs:register_mob("amc:10magmacube", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "magmacube.b3d",
|
|
textures = {
|
|
{"magmacube.png"},
|
|
},
|
|
visual_size = {x=8, y=8},
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 25, speed_run = 50,
|
|
stand_start = 40, stand_end = 80,
|
|
walk_start = 0, walk_end = 40,
|
|
run_start = 0, run_end = 40,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:10magmacube", "Magmacube", "magmacube_inv.png", 0)
|
|
|
|
--###################
|
|
--################### SLIME
|
|
--###################
|
|
|
|
mobs:register_mob("amc:11slime", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "slime.b3d",
|
|
textures = {
|
|
{"slime.png"},
|
|
},
|
|
visual_size = {x=8, y=8},
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 25, speed_run = 50,
|
|
stand_start = 40, stand_end = 80,
|
|
walk_start = 0, walk_end = 40,
|
|
run_start = 0, run_end = 40,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:11slime", "Slime", "slime_inv.png", 0)
|
|
|
|
--###################
|
|
--################### ENDERDRAGON
|
|
--###################
|
|
|
|
mobs:register_mob("amc:12enderdragon", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "enderdragon.b3d",
|
|
textures = {
|
|
{"enderdragon.png"},
|
|
},
|
|
visual_size = {x=1, y=1},
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 25, speed_run = 50,
|
|
stand_start = 0, stand_end = 20,
|
|
walk_start = 0, walk_end = 20,
|
|
run_start = 0, run_end = 20,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:12enderdragon", "Enderdragon", "enderdragon_inv.png", 0)
|
|
|
|
|
|
--###################
|
|
--################### ENDERMAN
|
|
--###################
|
|
|
|
mobs:register_mob("amc:13enderman", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "enderman.b3d",
|
|
textures = {
|
|
{"enderman.png"},
|
|
},
|
|
visual_size = {x=3, y=3},
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 25, speed_run = 50,
|
|
stand_start = 40, stand_end = 80,
|
|
walk_start = 0, walk_end = 40,
|
|
run_start = 0, run_end = 40,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:13enderman", "Enderman", "enderman_inv.png", 0)
|
|
|
|
--###################
|
|
--################### ENDERMITE
|
|
--###################
|
|
|
|
mobs:register_mob("amc:14endermite", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "endermite.b3d",
|
|
textures = {
|
|
{"endermite.png"},
|
|
},
|
|
visual_size = {x=3, y=3},
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 25, speed_run = 50,
|
|
stand_start = 0, stand_end = 20,
|
|
walk_start = 0, walk_end = 20,
|
|
run_start = 0, run_end = 20,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:14endermite", "Endermite", "endermite_inv.png", 0)
|
|
|
|
--###################
|
|
--################### GHAST
|
|
--###################
|
|
|
|
mobs:register_mob("amc:15ghast", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "ghast.b3d",
|
|
textures = {
|
|
{"ghast.png"},
|
|
},
|
|
visual_size = {x=4, y=4},
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 25, speed_run = 25,
|
|
stand_start = 0, stand_end = 40,
|
|
walk_start = 0, walk_end = 40,
|
|
run_start = 0, run_end = 40,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:15ghast", "Ghast", "ghast_inv.png", 0)
|
|
|
|
--###################
|
|
--################### GUARDIAN
|
|
--###################
|
|
|
|
mobs:register_mob("amc:16guardian", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "guardian.b3d",
|
|
textures = {
|
|
{"guardian.png"},
|
|
},
|
|
visual_size = {x=4, y=4},
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 25, speed_run = 50,
|
|
stand_start = 0, stand_end = 20,
|
|
walk_start = 0, walk_end = 20,
|
|
run_start = 0, run_end = 20,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:16guardian", "Guardian", "guardian_inv.png", 0)
|
|
|
|
--###################
|
|
--################### GUARDIAN ELDER
|
|
--###################
|
|
|
|
mobs:register_mob("amc:17guardian_elder", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "guardian.b3d",
|
|
textures = {
|
|
{"guardian_elder.png"},
|
|
},
|
|
visual_size = {x=4, y=4},
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 25, speed_run = 50,
|
|
stand_start = 0, stand_end = 20,
|
|
walk_start = 0, walk_end = 20,
|
|
run_start = 0, run_end = 20,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:17guardian_elder", "Guardian Elder", "guardian_elder_inv.png", 0)
|
|
|
|
--###################
|
|
--################### IRON GOLEM
|
|
--###################
|
|
|
|
mobs:register_mob("amc:19iron_golem", {
|
|
type = "monster",
|
|
attack_type = "dogfight",
|
|
passive = false,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "iron_golem.b3d",
|
|
textures = {
|
|
{"iron_golem.png"},
|
|
},
|
|
visual_size = {x=3, y=3},
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 15, speed_run = 25,
|
|
stand_start = 0, stand_end = 0,
|
|
walk_start = 0, walk_end = 40,
|
|
run_start = 0, run_end = 40,
|
|
punch_start = 40, punch_end = 50,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:19iron_golem", "Iron Golem", "iron_golem_inv.png", 0)
|
|
|
|
--###################
|
|
--################### LLAMA
|
|
--###################
|
|
|
|
mobs:register_mob("amc:20llama", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "llama.b3d",
|
|
textures = {{"llama.png"},{"llama1.png"},{"llama2.png"},{"llama3.png"},{"llama4.png"}},
|
|
visual_size = {x=3, y=3},
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 25, speed_run = 50,
|
|
stand_start = 0, stand_end = 0,
|
|
walk_start = 0, walk_end = 40,
|
|
run_start = 0, run_end = 40,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:20llama", "llama", "llama_inv.png", 0)
|
|
|
|
--###################
|
|
--################### PIG
|
|
--###################
|
|
|
|
mobs:register_mob("amc:21apig", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "pig.b3d",
|
|
textures = {
|
|
{"pig.png"},
|
|
},
|
|
visual_size = {x=3, y=3},
|
|
walk_velocity = 1.5,
|
|
run_velocity = 4,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 40, speed_run = 50,
|
|
stand_start = 0, stand_end = 0,
|
|
walk_start = 0, walk_end = 40,
|
|
run_start = 0, run_end = 40,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:21apig", "Pig", "pig_inv.png", 0)
|
|
|
|
--###################
|
|
--################### ZOMBIE
|
|
--###################
|
|
|
|
mobs:register_mob("amc:22zombie", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "zombie.b3d",
|
|
textures = {
|
|
{"zombie.png"},
|
|
},
|
|
visual_size = {x=3.5, y=3.5},
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 25, speed_run = 50,
|
|
stand_start = 40, stand_end = 80,
|
|
walk_start = 0, walk_end = 40,
|
|
run_start = 0, run_end = 40,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:22zombie", "Zombie", "zombie_inv.png", 0)
|
|
|
|
--###################
|
|
--################### RABBIT
|
|
--###################
|
|
|
|
mobs:register_mob("amc:23rabbit", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "rabbit.b3d",
|
|
textures = {{"rabbit.png"},{"rabbit1.png"},{"rabbit2.png"},{"rabbit3.png"},{"rabbit4.png"},{"rabbit5.png"},{"rabbit6.png"},{"rabbit7.png"}},
|
|
visual_size = {x=1.5, y=1.5},
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 25, speed_run = 50,
|
|
stand_start = 0, stand_end = 0,
|
|
walk_start = 0, walk_end = 20,
|
|
run_start = 0, run_end = 20,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:23rabbit", "Rabbit", "rabbit_inv.png", 0)
|
|
|
|
--###################
|
|
--################### SHEEP
|
|
--###################
|
|
|
|
mobs:register_mob("amc:24sheep", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "sheep.b3d",
|
|
textures = {
|
|
{"sheep.png"},
|
|
},
|
|
gotten_texture = {"sheeps.png"},
|
|
gotten_mesh = "sheeps.b3d",
|
|
visual_size = {x=3, y=3},
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 25, speed_run = 50,
|
|
stand_start = 40, stand_end = 80,
|
|
walk_start = 0, walk_end = 40,
|
|
run_start = 0, run_end = 40,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:24sheep", "Sheep", "sheep_inv.png", 0)
|
|
|
|
--###################
|
|
--################### SILVERFISH
|
|
--###################
|
|
|
|
mobs:register_mob("amc:25silverfish", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "silverfish.b3d",
|
|
textures = {
|
|
{"silverfish.png"},
|
|
},
|
|
visual_size = {x=3, y=3},
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 25, speed_run = 50,
|
|
stand_start = 0, stand_end = 20,
|
|
walk_start = 0, walk_end = 20,
|
|
run_start = 0, run_end = 20,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:25silverfish", "Silverfish", "silverfish_inv.png", 0)
|
|
|
|
--###################
|
|
--################### SNOWMAN
|
|
--###################
|
|
|
|
mobs:register_mob("amc:26snowman", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "snowman.b3d",
|
|
textures = {
|
|
{"snowman.png"},
|
|
},
|
|
visual_size = {x=3, y=3},
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 25, speed_run = 50,
|
|
stand_start = 40, stand_end = 80,
|
|
walk_start = 0, walk_end = 40,
|
|
run_start = 0, run_end = 40,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:26snowman", "Snowman", "snowman_inv.png", 0)
|
|
|
|
--###################
|
|
--################### SQUID
|
|
--###################
|
|
|
|
mobs:register_mob("amc:28squid", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
--rotate = 180,
|
|
visual = "mesh",
|
|
mesh = "squid.b3d",
|
|
textures = {
|
|
{"squid.png"},
|
|
},
|
|
visual_size = {x=3, y=3},
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 25, speed_run = 50,
|
|
stand_start = 0, stand_end = 0,
|
|
walk_start = 0, walk_end = 50,
|
|
run_start = 0, run_end = 50,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:28squid", "Squid", "squid_inv.png", 0)
|
|
|
|
--###################
|
|
--################### VEX
|
|
--###################
|
|
|
|
mobs:register_mob("amc:30vex", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "vex.b3d",
|
|
textures = {
|
|
{"vex.png"},
|
|
},
|
|
visual_size = {x=1.5, y=1.5},
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 25, speed_run = 50,
|
|
stand_start = 40, stand_end = 80,
|
|
walk_start = 0, walk_end = 40,
|
|
run_start = 0, run_end = 40,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:30vex", "Vex", "vex_inv.png", 0)
|
|
|
|
--###################
|
|
--################### WITHER
|
|
--###################
|
|
|
|
mobs:register_mob("amc:32wither", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "wither.b3d",
|
|
textures = {
|
|
{"wither.png"},
|
|
},
|
|
visual_size = {x=3, y=3},
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 12, speed_run = 12,
|
|
stand_start = 0, stand_end = 20,
|
|
walk_start = 0, walk_end = 20,
|
|
run_start = 0, run_end = 20,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:32wither", "Wither", "wither_inv.png", 0)
|
|
|
|
--###################
|
|
--################### WOLF
|
|
--###################
|
|
|
|
mobs:register_mob("amc:33wolf", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "wolf.b3d",
|
|
textures = {
|
|
{"wolf.png"},
|
|
},
|
|
visual_size = {x=3, y=3},
|
|
walk_velocity = 2,
|
|
run_velocity = 4,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 50, speed_run = 100,
|
|
stand_start = 40, stand_end = 45,
|
|
walk_start = 0, walk_end = 40,
|
|
run_start = 0, run_end = 40,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:33wolf", "Wolf", "wolf_inv.png", 0)
|
|
|
|
--###################
|
|
--################### SHULKER
|
|
--###################
|
|
|
|
-- animation 45-80 is transition between passive and attack stance
|
|
|
|
mobs:register_mob("amc:34shulker", {
|
|
type = "monster",
|
|
attack_type = "shoot",
|
|
shoot_interval = 0.5,
|
|
arrow = "amc:shulkerbullet",
|
|
shoot_offset = 0.5,
|
|
passive = false,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "shulker.b3d",
|
|
textures = {{"shulker.png"},{"shulker1.png"},{"shulker2.png"},{"shulker3.png"},{"shulker4.png"},{"shulker5.png"},{"shulker6.png"},{"shulker7.png"},{"shulker8.png"},{"shulker9.png"},{"shulker10.png"},{"shulker11.png"},{"shulker12.png"},{"shulker13.png"},{"shulker14.png"},{"shulker15.png"},{"shulker16.png"},},
|
|
visual_size = {x=3, y=3},
|
|
walk_velocity = 0.0000000001,
|
|
run_velocity = 0.0000000001,
|
|
jump = false,
|
|
animation = {
|
|
speed_normal = 25, speed_run = 50,
|
|
stand_start = 0, stand_end = 45,
|
|
walk_start = 0, walk_end = 45,
|
|
run_start = 0, run_end = 45,
|
|
punch_start = 80, punch_end = 100,
|
|
},
|
|
})
|
|
|
|
-- bullet arrow (weapon)
|
|
mobs:register_arrow("amc:shulkerbullet", {
|
|
visual = "sprite",
|
|
visual_size = {x = 0.25, y = 0.25},
|
|
textures = {"shulkerbullet.png"},
|
|
velocity = 6,
|
|
|
|
hit_player = function(self, player)
|
|
player:punch(self.object, 1.0, {
|
|
full_punch_interval = 1.0,
|
|
damage_groups = {fleshy = 2},
|
|
}, nil)
|
|
end,
|
|
|
|
hit_mob = function(self, player)
|
|
player:punch(self.object, 1.0, {
|
|
full_punch_interval = 1.0,
|
|
damage_groups = {fleshy = 2},
|
|
}, nil)
|
|
end,
|
|
|
|
hit_node = function(self, pos, node)
|
|
end
|
|
})
|
|
|
|
mobs:register_egg("amc:34shulker", "Shulker", "shulker_inv.png", 0)
|
|
|
|
--###################
|
|
--################### SKELETON
|
|
--###################
|
|
|
|
mobs:register_mob("amc:35skeleton", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "skeleton.b3d",
|
|
textures = {
|
|
{"skeleton.png"},
|
|
},
|
|
visual_size = {x=3, y=3},
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 25, speed_run = 50,
|
|
stand_start = 40, stand_end = 80,
|
|
walk_start = 0, walk_end = 40,
|
|
run_start = 0, run_end = 40,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:35skeleton", "Skeleton", "skeleton_inv.png", 0)
|
|
|
|
--###################
|
|
--################### WITHER SKELETON
|
|
--###################
|
|
|
|
mobs:register_mob("amc:36witherskeleton", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "witherskeleton.b3d",
|
|
textures = {
|
|
{"witherskeleton.png"},
|
|
},
|
|
visual_size = {x=3, y=3},
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 25, speed_run = 50,
|
|
stand_start = 40, stand_end = 80,
|
|
walk_start = 0, walk_end = 40,
|
|
run_start = 0, run_end = 40,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:36witherskeleton", "Wither Skeleton", "witherskeleton_inv.png", 0)
|
|
|
|
--###################
|
|
--################### STRAY SKELETON
|
|
--###################
|
|
|
|
mobs:register_mob("amc:37stray", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "strayskeleton.b3d",
|
|
textures = {
|
|
{"stray.png"},
|
|
},
|
|
visual_size = {x=3, y=3},
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 25, speed_run = 50,
|
|
stand_start = 40, stand_end = 80,
|
|
walk_start = 0, walk_end = 40,
|
|
run_start = 0, run_end = 40,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:37stray", "Stray Skeleton", "stray_inv.png", 0)
|
|
|
|
--###################
|
|
--################### SPIDER
|
|
--###################
|
|
|
|
mobs:register_mob("amc:38spider", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "spider.b3d",
|
|
textures = {
|
|
{"spider.png"},
|
|
},
|
|
visual_size = {x=3, y=3},
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 25, speed_run = 50,
|
|
stand_start = 40, stand_end = 80,
|
|
walk_start = 0, walk_end = 40,
|
|
run_start = 0, run_end = 40,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:38spider", "Spider", "spider_inv.png", 0)
|
|
|
|
--###################
|
|
--################### CAVE SPIDER
|
|
--###################
|
|
|
|
mobs:register_mob("amc:38cavespider", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "spider.b3d",
|
|
textures = {
|
|
{"cave_spider.png"},
|
|
},
|
|
visual_size = {x=2, y=2},
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 25, speed_run = 50,
|
|
stand_start = 40, stand_end = 80,
|
|
walk_start = 0, walk_end = 40,
|
|
run_start = 0, run_end = 40,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:38cavespider", "Cave Spider", "cave_spider_inv.png", 0)
|
|
|
|
--###################
|
|
--################### ZOMBIE PIGMAN
|
|
--###################
|
|
|
|
mobs:register_mob("amc:51pigman", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "zombie_pigman.b3d",
|
|
textures = {{"zombie_pigman.png"}},
|
|
visual_size = {x=3, y=3},
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 25, speed_run = 50,
|
|
stand_start = 40, stand_end = 80,
|
|
walk_start = 0, walk_end = 40,
|
|
run_start = 0, run_end = 40,
|
|
punch_start = 90, punch_end = 130,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:51pigman", "Zombie Pigman", "zombie_pigman_inv.png", 0)
|
|
|
|
--###################
|
|
--################### HORSE
|
|
--###################
|
|
|
|
mobs:register_mob("amc:52horse", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "horse.b3d",
|
|
textures = {{"horse.png"},{"horse1.png"},{"horse2.png"},{"horse3.png"},{"horse4.png"},{"horse5.png"},{"horse6.png"}},
|
|
visual_size = {x=3, y=3},
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 25, speed_run = 50,
|
|
stand_start = 0, stand_end = 0,
|
|
walk_start = 0, walk_end = 40,
|
|
run_start = 0, run_end = 40,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:52horse", "Horse", "horse_inv.png", 0)
|
|
|
|
--###################
|
|
--################### HORSE MULE
|
|
--###################
|
|
|
|
mobs:register_mob("amc:53horsemule", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "mule.b3d",
|
|
textures = {{"mule.png"},{"mule1.png"}},
|
|
visual_size = {x=3, y=3},
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 25, speed_run = 50,
|
|
stand_start = 0, stand_end = 0,
|
|
walk_start = 0, walk_end = 40,
|
|
run_start = 0, run_end = 40,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:53horsemule", "Mule", "mule_inv.png", 0)
|
|
|
|
--###################
|
|
--################### SKELETON HORSE
|
|
--###################
|
|
|
|
mobs:register_mob("amc:54horseskeleton", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "horse.b3d",
|
|
textures = {{"horseskeleton.png"}},
|
|
visual_size = {x=3, y=3},
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 25, speed_run = 50,
|
|
stand_start = 0, stand_end = 0,
|
|
walk_start = 0, walk_end = 40,
|
|
run_start = 0, run_end = 40,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:54horseskeleton", "Horse Skeleton", "horseskeleton_inv.png", 0)
|
|
|
|
--###################
|
|
--################### ZOMBIE HORSE
|
|
--###################
|
|
|
|
mobs:register_mob("amc:55horsezombie", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "horse.b3d",
|
|
textures = {{"horsezombie.png"}},
|
|
visual_size = {x=3, y=3},
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 25, speed_run = 50,
|
|
stand_start = 0, stand_end = 0,
|
|
walk_start = 0, walk_end = 40,
|
|
run_start = 0, run_end = 40,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:55horsezombie", "Horse Zombie", "horsezombie_inv.png", 0)
|
|
|
|
--###################
|
|
--################### VILLAGER
|
|
--###################
|
|
|
|
mobs:register_mob("amc:58villager", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "villager.b3d",
|
|
textures = {{"villager.png"},{"villager1.png"},{"villager2.png"},{"villager3.png"},},
|
|
visual_size = {x=3, y=3},
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 25, speed_run = 50,
|
|
stand_start = 0, stand_end = 0,
|
|
walk_start = 0, walk_end = 40,
|
|
run_start = 0, run_end = 40,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:58villager", "Villager", "villager_inv.png", 0)
|
|
|
|
--###################
|
|
--################### ZOMBIE VILLAGER
|
|
--###################
|
|
|
|
mobs:register_mob("amc:59zvillager", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "zvillager.b3d",
|
|
textures = {{"zvillager1.png"},{"zvillager2.png"},{"zvillager3.png"},{"zvillager4.png"},{"zvillager5.png"},{"zvillager6.png"}},
|
|
visual_size = {x=3, y=3},
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 25, speed_run = 50,
|
|
stand_start = 40, stand_end = 80,
|
|
walk_start = 0, walk_end = 40,
|
|
run_start = 0, run_end = 40,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:59zvillager", "Zombie Villager", "zvillager_inv.png", 0)
|
|
|
|
--###################
|
|
--################### EVOKER
|
|
--###################
|
|
|
|
mobs:register_mob("amc:60evoker", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "villager.b3d",
|
|
textures = {{"evoker.png"}},
|
|
visual_size = {x=3, y=3},
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 25, speed_run = 50,
|
|
stand_start = 0, stand_end = 0,
|
|
walk_start = 0, walk_end = 40,
|
|
run_start = 0, run_end = 40,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:60evoker", "Evoker", "evoker_inv.png", 0)
|
|
|
|
--###################
|
|
--################### VINDICATOR
|
|
--###################
|
|
|
|
mobs:register_mob("amc:61vindicator", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "villager.b3d",
|
|
textures = {{"vindicator.png"}},
|
|
visual_size = {x=3, y=3},
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 25, speed_run = 50,
|
|
stand_start = 0, stand_end = 0,
|
|
walk_start = 0, walk_end = 40,
|
|
run_start = 0, run_end = 40,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:61vindicator", "Vindicator", "vindicator_inv.png", 0)
|
|
|
|
--###################
|
|
--################### WITCH
|
|
--###################
|
|
|
|
mobs:register_mob("amc:62witch", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "witch.b3d",
|
|
textures = {
|
|
{"witch.png"},
|
|
},
|
|
visual_size = {x=3, y=3},
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 25, speed_run = 50,
|
|
stand_start = 0, stand_end = 0,
|
|
walk_start = 0, walk_end = 40,
|
|
run_start = 0, run_end = 40,
|
|
},
|
|
})
|
|
|
|
--###################
|
|
--################### AGENT
|
|
--###################
|
|
|
|
mobs:register_mob("amc:63agent", {
|
|
type = "animal",
|
|
passive = true,
|
|
runaway = true,
|
|
stepheight = 1.2,
|
|
hp_min = 30,
|
|
hp_max = 60,
|
|
armor = 150,
|
|
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
|
|
rotate = -180,
|
|
visual = "mesh",
|
|
mesh = "agent.b3d",
|
|
textures = {
|
|
{"agent.png"},
|
|
},
|
|
visual_size = {x=3, y=3},
|
|
walk_velocity = 0.6,
|
|
run_velocity = 2,
|
|
jump = true,
|
|
animation = {
|
|
speed_normal = 25, speed_run = 50,
|
|
stand_start = 20, stand_end = 60,
|
|
walk_start = 0, walk_end = 20,
|
|
run_start = 0, run_end = 20,
|
|
},
|
|
})
|
|
|
|
mobs:register_egg("amc:63agent", "Agent", "agent_inv.png", 0)
|
|
, 0)
|