1
0
Fork 0

Prevent Ender dragon and Wither from despawning

objects
Elias Fleckenstein 2021-02-25 12:48:17 +01:00
parent 360436cf19
commit f04a5a4cc9
2 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,7 @@ mobs:register_mob("mobs_mc:enderdragon", {
view_range = 35, view_range = 35,
walk_velocity = 6, walk_velocity = 6,
run_velocity = 6, run_velocity = 6,
can_despawn = false,
sounds = { sounds = {
-- TODO: more sounds -- TODO: more sounds
shoot_attack = "mobs_mc_ender_dragon_shoot", shoot_attack = "mobs_mc_ender_dragon_shoot",

View File

@ -43,6 +43,7 @@ mobs:register_mob("mobs_mc:wither", {
dogshoot_switch = 1, dogshoot_switch = 1,
dogshoot_count_max =1, dogshoot_count_max =1,
attack_animals = true, attack_animals = true,
can_despawn = false,
drops = { drops = {
{name = mobs_mc.items.nether_star, {name = mobs_mc.items.nether_star,
chance = 1, chance = 1,