Mojira Archive
MC-276259

Phantoms from trial spawners with any active effects added (specifically fire resistance) do not fly

What I expected to happen was...:
I expected for the phantom to behave the same as when i take all effects off

What actually happened was...:
What actually happened was when i added fire resistance to the spawn potential of the phantom of a trial spawner, when spawned the phantom wouldn't fly

Steps to Reproduce :
1. Here is the command for a phantom without fire resistant ( it can fly ):

/setblock ~2 ~1 ~ trial_spawner{normal_config:{total_mobs:7.00001,simultaneous_mobs:5.00001,total_mobs_added_per_player:0.5,simultaneous_mobs_added_per_player:0.5,ticks_between_spawn:4,spawn_potentials:[{data:{entity:{id:"minecraft:phantom"}},weight:1}],loot_tables_to_eject:[{data:"minecraft:spawners/trial_chamber/key",weight:1}]},ominous_config:{total_mobs:14.00001,simultaneous_mobs:10.00001,total_mobs_added_per_player:0.5,simultaneous_mobs_added_per_player:0.5,ticks_between_spawn:4,spawn_potentials:[{data:{entity:{id:"minecraft:phantom"}},weight:1}],loot_tables_to_eject:[{data:"minecraft:spawners/ominous/trial_chamber/key",weight:1}]},required_player_range:60,target_cooldown_length:144000} replace

2. Here is the command for a phantom with fire resistant ( it can't fly ):

/setblock ~2 ~1 ~ trial_spawner{normal_config:{total_mobs:7.00001,simultaneous_mobs:5.00001,total_mobs_added_per_player:0.5,simultaneous_mobs_added_per_player:0.5,ticks_between_spawn:4,spawn_potentials:[{data:{entity:{id:"minecraft:phantom",active_effects:[{id:"minecraft:fire_resistance",amplifier:0,duration:-1,show_particles:0b}]}},weight:1}],loot_tables_to_eject:[{data:"minecraft:spawners/trial_chamber/key",weight:1}]},ominous_config:{total_mobs:14.00001,simultaneous_mobs:10.00001,total_mobs_added_per_player:0.5,simultaneous_mobs_added_per_player:0.5,ticks_between_spawn:4,spawn_potentials:[{data:{entity:{id:"minecraft:phantom",active_effects:[{id:"minecraft:fire_resistance",amplifier:0,duration:-1,show_particles:0b}]}},weight:1}],loot_tables_to_eject:[{data:"minecraft:spawners/ominous/trial_chamber/key",weight:1}]},required_player_range:60,target_cooldown_length:144000} replace

Unresolved

dylanpereira9990

2024-09-03, 02:36 AM

2024-09-15, 03:27 PM

1

2

Community Consensus

Low

Platform

Commands, Mob behaviour

ActiveEffects, phantoms, trial-spawner

1.21.1

-