Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mobs:register_mob("mobs:ninja", {
- type = "monster",
- hp_max = 15,
- collisionbox = {-0.4, -1, -0.4, 0.4, 1, 0.4},
- visual = "upright_sprite",
- visual_size = {x=1, y=2},
- textures = {"ninja.png", "ninja_back.png"},
- makes_footstep_sound = true,
- view_range = 15,
- walk_velocity = 1,
- run_velocity = 3,
- damage = 2,
- drops = {
- max_items = 4,
- items = {
- {
- items = {'default:coal_lump'},
- rarity = 5,
- },
- {
- items = {'default:clay_lump'},
- rarity = 4,
- },
- {
- items = {'default:iron_lump'},
- rarity = 40,
- },
- {
- items = {'default:ore_lump'},
- rarity = 70,
- },
- {
- items = {'default:gravel'},
- rarity = 3,
- },
- {
- items = {'default:stone'},
- rarity = 2,
- },
- {
- items = {'default:sand'},
- rarity = 2,
- },
- {
- items = {'default:dirt'},
- },
- },
- },
- armor = 3,
- drawtype = "front",
- water_damage = 0,
- lava_damage = 10,
- light_damage = 3,
- on_rightclick = nil,
- attack_type = "dogfight",
- })
- mobs:register_spawn("mobs:ninja", {"brilliant_blocks:sand"}, 8, -1, 600, 40, 31000)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement