This guide provides step-by-step instructions for setting up and running the AIRIS Client, a Minecraft-based AI tool. Follow the instructions for either Windows or Linux based on your operating system.
- Minecraft: Ensure Minecraft Fabric version 1.20.1 is installed.
- Python 3.10: Download from Python Downloads.
- CurseForge: Install from CurseForge.
Launch CurseForge, search and install for:
- Vereya Mod (required)
- Fabric API
- Download AIRIS exe files AIRIS-all and extract it in clean folder
- Prepare Minecraft: Launch Minecraft and create a single-player game with cheats enabled.
- Run start_client.bat for running AIRIS and then start_visual.bat for visualisation tool
- Expand minecraft window and enjoy
- Open Terminal in the Repository Folder: Navigate to the AIRIS Client folder in a terminal.
- Create a Virtual Environment:
python -m venv venv
- Activate the Virtual Environment:
.\venv\Scripts\activate
- Install Dependencies:
python -m pip install -r requirements.txt
- Prepare Minecraft: Launch Minecraft and create a single-player game with cheats enabled.
- Run AIRIS Client:
python minecraft_client.py --agent agent1qt05zd2vflz4vrytdyr2agz2775gv9e5hz99h06tq4uz6lv8fzq3k2dumzs
- Download the Visualization Tool: AIRIS Visual Tool
- Extract Files: Unzip into the AIRIS client directory.
- Run Visualization: After starting the AIRIS client, open
main.exe
in the client folder. - Navigate: Use your mouse and keyboard to adjust the view if the AIRIS agent isn’t immediately visible.
- Open Terminal in the Repository Folder.
- Create a Virtual Environment:
python -m venv venv
- Activate the Virtual Environment:
source venv/bin/activate
- Install Dependencies:
pip install -r requirements.txt
- Prepare Minecraft: Launch Minecraft and create a single-player game with cheats enabled.
- Run AIRIS Client:
python minecraft_client.py --agent agent1qt05zd2vflz4vrytdyr2agz2775gv9e5hz99h06tq4uz6lv8fzq3k2dumzs
- Clone the Visualization Tool Repository:
git clone https://github.com/berickcook/MinecraftEye.git
- Install Dependencies:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate pip install -r MinecraftEye/requirements.txt
- Edit Paths in
scene.py
: Adjust lines 63-65 inscene.py
to use the full paths for your setup. Also, confirm the client script points to the visual tool script correctly. - Run Visualization Tool:
python MinecraftEye/main.py
- Navigate: Use your mouse and keyboard to adjust the view if the AIRIS agent isn’t immediately visible.
- Exiting: Use
Ctrl+C
in your shell to safely stop the AIRIS client. - Reconnect Option: Use the
--restore
key to restore previous session of AIRIS