1
0
Fork 0
MineClone2/mods/ENTITIES/mobs_mc/endermite.lua

42 lines
935 B
Lua
Raw Permalink Normal View History

2017-07-05 01:15:46 +00:00
--###################
--################### ENDERMITE
--###################
local S = minetest.get_translator("mobs_mc")
2017-07-05 01:15:46 +00:00
2022-05-25 12:44:49 +00:00
mcl_mobs:register_mob("mobs_mc:endermite", {
2021-04-25 15:30:15 +00:00
description = S("Endermite"),
2017-07-05 01:15:46 +00:00
type = "monster",
2020-04-11 00:46:03 +00:00
spawn_class = "hostile",
2017-07-05 01:15:46 +00:00
passive = false,
hp_min = 8,
hp_max = 8,
2020-12-06 14:46:42 +00:00
xp_min = 3,
xp_max = 3,
2020-11-09 17:59:08 +00:00
armor = {fleshy = 100, arthropod = 100},
2017-07-05 01:15:46 +00:00
group_attack = true,
collisionbox = {-0.2, -0.01, -0.2, 0.2, 0.29, 0.2},
visual = "mesh",
mesh = "mobs_mc_endermite.b3d",
textures = {
{"mobs_mc_endermite.png"},
},
visual_size = {x=3, y=3},
makes_footstep_sound = false,
sounds = {
2020-12-06 20:15:05 +00:00
random = "mobs_mc_endermite_random",
damage = "mobs_mc_endermite_hurt",
death = "mobs_mc_endermite_death",
distance = 16,
2017-07-05 01:15:46 +00:00
},
walk_velocity = 1,
run_velocity = 2,
jump = true,
fear_height = 4,
view_range = 16,
damage = 2,
2017-07-25 22:26:18 +00:00
reach = 1,
2017-07-05 01:15:46 +00:00
})
mcl_mobs:register_egg("mobs_mc:endermite", S("Endermite"), "#161616", "#6d6d6d", 0)