Minecraft API for key-related events