Prevent Ender dragon and Wither from despawning

This commit is contained in:
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,
walk_velocity = 6,
run_velocity = 6,
can_despawn = false,
sounds = {
-- TODO: more sounds
shoot_attack = "mobs_mc_ender_dragon_shoot",

View file

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