Expected behavior
The spawn reason for fish spawn from bucket should be "SPAWNER_EGG"

This screen shot is from 1.16
Observed/Actual behavior
The spawn reason for fish spawn from bucket is "DEFAULT"

This screen shot is from 1.21
Steps/models to reproduce
Listen for CreatureSpawningEvent and check spawn reason for fish in 1.16 and 1.21
@EventHandler
public void onFishSpawn(CreatureSpawnEvent event) {
if (event.getEntity() instanceof org.bukkit.entity.Fish) {
getLogger().info("A fish was spawned with reason: " + event.getSpawnReason() + " at " + event.getLocation());
}
}
Plugin and Datapack List
Im only running my plugin to test spawn reason.
Paper version
This server is running Paper version 1.21.4-188-main@8de7e35 (2025-03-03T16:59:40Z) (Implementing API version 1.21.4-R0.1-SNAPSHOT)
Other
No response
Expected behavior
The spawn reason for fish spawn from bucket should be "SPAWNER_EGG"
This screen shot is from 1.16
Observed/Actual behavior
The spawn reason for fish spawn from bucket is "DEFAULT"
This screen shot is from 1.21
Steps/models to reproduce
Listen for CreatureSpawningEvent and check spawn reason for fish in 1.16 and 1.21
Plugin and Datapack List
Im only running my plugin to test spawn reason.
Paper version
This server is running Paper version 1.21.4-188-main@8de7e35 (2025-03-03T16:59:40Z) (Implementing API version 1.21.4-R0.1-SNAPSHOT)
Other
No response