It works everywhere, it is desirable to have a Skytils mod, I checked on Skyblock Hypixel, to use the macro, you need to get up and throw a fishing rod so that the red exclamation mark when the fish comes in is according to the coordinates specified in the script, or change the coordinates yourself. Have a good fishing trip.
Download the program (Download) and go to the macro editor
press the button «Open file»
and select the downloaded file
assign a macro to a key and run the program