Activity(int cooldown, int instance)
Constructs a new SequencedMinigame object.
void onDeath(Mob mob)
Called when the player die.
boolean canTeleport(Player player)
Called when the player attempts to teleport.
JailActivity(Player player)
void start()
Starts the next activity stage.
void onRegionChange(Player player)
Called when the player changes region.
void cleanup()
Cleans up the activity when finished.
static JailActivity create(Player player)
Holds all activity types that are timed.