Ghast: align attributes with mc

Ghast should spawn much more rarely than they currently do
I set the value to 1/4th of the original value before 72000 was set as an attempt to lower spawn rates, it actually increased them.

Align View distance, sound distance and shot interval with mc wiki.
https://minecraft.fandom.com/wiki/Ghast

Align fireball velocity with mc issue tracker
https://bugs.mojang.com/browse/MC-238286
This commit is contained in:
Bakawun 2023-11-16 06:44:11 +00:00 committed by bakawun
parent a764818e13
commit 5f3c901f11
1 changed files with 4 additions and 4 deletions

View File

@ -33,7 +33,7 @@ mcl_mobs.register_mob("mobs_mc:ghast", {
death = "mobs_mc_zombie_death",
attack = "mobs_fireball",
random = "mobs_eerie",
distance = 16,
distance = 80,
-- TODO: damage
-- TODO: better death
},
@ -50,10 +50,10 @@ mcl_mobs.register_mob("mobs_mc:ghast", {
run_start = 0, run_end = 40,
},
fall_damage = 0,
view_range = 100,
view_range = 64,
attack_type = "dogshoot",
arrow = "mobs_mc:fireball",
shoot_interval = 3.5,
shoot_interval = 3,
shoot_offset = -5,
dogshoot_switch = 1,
dogshoot_count_max =1,
@ -107,7 +107,7 @@ mcl_mobs.register_arrow("mobs_mc:fireball", {
visual = "sprite",
visual_size = {x = 1, y = 1},
textures = {"mcl_fire_fire_charge.png"},
velocity = 15,
velocity = 5,
collisionbox = {-.5, -.5, -.5, .5, .5, .5},
_is_fireball = true,