forked from VoxeLibre/VoxeLibre
Prevent Ender dragon and Wither from despawning
This commit is contained in:
parent
360436cf19
commit
f04a5a4cc9
|
@ -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",
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue