afk fishing script for Minecraft
Make sure you're running PulseAudio and Xorg.
Create a file called
~/.alsoftrcand add the following lines:
- (Re)start Minecraft
Disable all Minecraft sounds except for Friendly Creatures.
Go to a safe (i.e., no hostile mobs who could kill you while afk) and quiet (i.e., no animal noises) fishing place in-game, aim the fishing rod at the water (without casting the line yet), and hit