wasSpawnedFromBucket

If this entity was spawned from a bucket.

Certain mobs, such as fish, can be captured in a water bucket by the player. When a mob is captured, it is removed from the world, and it is stored on the bucket item. It can be placed back in to the world, in which it would be spawned from a bucket.

Return

true if this entity was spawned from a bucket