getCaught

public Entity getCaught()

Gets the entity caught by the player.

If player has fished successfully, the result may be cast to .

Return

Entity caught by the player, Entity if fishing, and null if bobber has gotten stuck in the ground or nothing has been caught