COWMODSКаталог модов

ReinforceMC

A Minecraft mod that implements reinforcement learning capabilities, allowing neural networks to learn and play Minecraft through configurable reward systems and input processing. [NEW] Added DeepSeek

Автор: topandrey151,1 тыс.5обновлён 7 авг. 2025 г.
Механики игрыМагияУтилиты

Описание

ReinforceMC is an original project started by topandrey14 / topandrey15 in May 2025. The name "ReinforceMC" is associated with this project only. Any unauthorized use of the name in commercial or misleading projects is strictly prohibited.

ReinforceMC 🧠

A Minecraft mod that implements reinforcement learning capabilities, allowing neural networks to learn and play Minecraft through configurable reward systems and input processing.

Features ✨

🤖 DeepSeek + Baritone integration released!

  • Message DeepSeek in your own Telegram bot, and it will perform actions in Minecraft using Baritone!

🎯 Custom Reinforcement learning Neural Network Training

  • Start, stop, pause, and resume training sessions
  • Real-time performance monitoring with reward tracking
  • Emergency stop functionality for immediate training halt
  • Model saving and loading capabilities

🏆 Configurable Reward System

  • Set custom rewards for various in-game actions:
    • ⚔️ Combat: Kill players/mobs, take damage, heal
    • 🏗️ Building: Break/place blocks, craft items
    • 🚶 Exploration: Movement, sprinting, jumping, sneaking
    • 📦 Items: Pickup, drop, use, enchant items
    • 👤 Character: Gain XP, level changes, eat food

📊 Input Configuration

  • 📷 Screenshot Input: Configurable resolution for visual learning
  • 📍 Other Player Coordinates: Position and movement data
  • 📈 Your Character Statistics: Health, hunger, XP, inventory information
  • 👥 Nearby Player Tracking: Detect and track other players

📋 Reward Template System

  • Save and load reward configurations
  • Export templates to JSON format
  • Create custom training scenarios
  • Share configurations between sessions

🖥️ User Interface

  • Comprehensive GUI for all configuration options
  • Real-time training status and statistics
  • Performance monitor with detailed metrics
  • Available keys editor for input customization

Installation 🔧

📋 Requirements

  • 🎮 Minecraft 1.16.5
  • ⚡ Minecraft Forge 36.2.42 or compatible version
  • ☕ Java 8 or higher
  • 🖥️ GPU Support: NVIDIA GPU with CUDA 12.1 support (optional, falls back to CPU, but may be slower)
  • 💾 Memory: At least 4GB RAM allocated to Minecraft

🚀 Setup

  • The mod will automatically download required neural network libraries on first run, it may take up to 5 minutes for Minecraft to firstly load the mod. It will never happen again.

Usage 🎮

🌟 Getting Started

  1. Open the ReinforceMC GUI using the configured keybind (default: check key bindings menu)
  2. Configure your input settings (screenshot resolution, enabled inputs)
  3. Set up reward parameters for desired behaviors
  4. Configure available keys the AI can use
  5. Start training and monitor progress

⌨️ Key Controls

  • 🖥️ Open GUI: Configurable keybind
  • 🔄 Toggle Training: Quick start/stop training
  • 🛑 Emergency Stop: F1 (immediate pause/resume)

⚙️ Configuration

📥 Input Types

  • 📷📍 Screenshot + Coordinates: Full visual and positional data
  • 📷 Screenshot Only: Visual learning without position data
  • 📍 Coordinates Only: Position-based learning without visual input

🏆 Reward Configuration

Configure positive or negative rewards for specific actions. Higher rewards encourage the behavior, while negative rewards discourage it.

⚡ Performance Considerations

  • Higher screenshot resolutions increase VRAM usage and processing time
  • GPU acceleration significantly improves training speed
  • Monitor system resources during training

Technical Details 🔧

📚 Dependencies

  • 🧠 DJL (Deep Java Library): Neural network framework
  • 🔥 PyTorch: Backend neural network engine
  • 🚀 CUDA Support: GPU acceleration for compatible hardware

💾 Data Storage

  • Models are saved in .minecraft/mods/reinforcemc/
  • Templates are stored in .minecraft/mods/reinforcemc/templates/
  • Configuration files use JSON format

📊 Performance

  • 💻 CPU Mode: Compatible with all systems, slower training
  • 🖥️ GPU Mode: Requires CUDA-compatible GPU, faster training
  • 🧠 Memory: Automatically manages memory allocation based on input configuration

Screenshots 📸

The mod includes a comprehensive GUI system with multiple configuration screens:

  • 🏠 Main configuration menu
  • 🏆 Reward system setup
  • 📊 Input configuration
  • 🎯 Training control panel
  • 📈 Performance monitoring
  • 📋 Template management

Compatibility 🔧

  • 🎮 Minecraft Version: 1.16.5
  • ⚡ Forge Version: 36.2.42+
  • 💻 Operating System: Windows (primary), other platforms may work with CPU-only mode
  • 💾 Memory: Minimum 4GB RAM recommended

License 📄

This project is licensed under the MIT License.


Note: This mod requires computational resources and is intended for users familiar with at least basic machine learning concepts. Training times can vary greatly depending on hardware configuration and complexity of the learning task.

Галерея

Reward SettingsReward TemplatesPerformance MonitorTraining Parameters

Последние версии

Все версии →
beta

ReinforceMC 2.0 Beta

2.0
7 авг. 2025 г.371Minecraft: 1.16.5forge
Скачать
Что нового
## 🛠️ **ReinforceMC 2.0 Beta – Changelog** **Релиз версии 2.0** знаменует собой переход к более масштабной архитектуре ReinforceMC, ориентированной на расширение возможностей автономного обучения и упрощение пользовательского взаимодействия. ### ✨ Основные изменения: * ⚙️ **Переработана система принятия решений нейросетью**: * 🤖 Нейросеть стала на 50% реже путаться в выборе действий благодаря улучшению в алгоритме. * 🧭 **Agentic Mode** полностью заменил старую систему DeepSeek: * 📚 Контекст включает всю цепочку предыдущих действий. * 📄 Системный промпт теперь задаётся через внешний `.txt` файл в папке `systemprompt`. * 🖱️ Интерфейс включает кнопки для открытия папки и сброса промпта к исходному состоянию. * 🖥️ **Обновлённый GUI**: * 🧩 Новый экран управления конфигурациями и шаблонами. * ⬆️⬇️ Импорт и экспорт параметров обучения, наград, доступных клавиш. * 📦 Поддержка создания `.rmc`-конфигов с выборочными настройками. * 💡 Поддержка создания отдельных JSON конфигов для: * Параметров обучения, * Наград, * Редактора клавиш, * Остановки при Hub. * ⛔ **Новая функция "Остановка при hub"**: * 🧮 Сравнение хотбара с заданным паттерном и автоматическая приостановка RL при совпадении. * 💾 Конфигурация сохраняется в глобальный файл и отдельный `hub_stop.json`. * 🧰 **Добавлена поддержка кастомных действий**: * 🎯 TargetPearl, AutoMance и другие действия, активируемые через GUI. ### 🧠 Под капотом: * 🛡️ Повышена стабильность обучения с подкреплением. * 🐞 Исправлены мелкие ошибки в интерфейсе. --- 🔄 **Что дальше:** * 🚀 Поддержка Simulation-Based RL (фантомные модели миров, ускоряющие обучение нейросети в 10–100 раз) — **перенесена в ReinforceMC 2.1** * 🧪 Поддержка Python Input Plugin — **также ожидается в версии 2.1**
release

ReinforceMC 1.9

1.9
24 июл. 2025 г.250Minecraft: 1.16.5forge
Скачать
Что нового
### 🛠 **ReinforceMC v1.9 — Боевое обновление SmartAura & AutoPearl & Other enchantments!** #### ⚔️ **SmartAura — умная и незаметная автоатака** * **Автоматически атакует ближайших игроков или мобов** в радиусе от 3 до 3.5 блоков критами (критическими ударами после прыжка) — вы можете выбрать цель: только игроков, только мобов или обоих. * Работает **только при нужных выбранных вами условиях**, как настоящий игрок: с оружием, не во время еды, и только если цель находится в поле зрения. * Поддерживает **критические удары**, если игрок находится в прыжке — без лишней "палевности". * Реагирует на **блоки и стены** — если цель не видна, атака не произойдёт. * Включается и настраивается через интерфейс ReinforceMC: можно выбрать, нужна ли атака только когда оружие в руке, отключать ли удары во время еды и отключить ли атаку когда враг за спиной (FOV Check). #### 🧠 **AutoPearl — умное перемещение с эндер-перлами** * Автоматически бросает **эндер-перл к безопасной позиции** рядом с врагом — как будто вы сами быстро реагируете в бою! * Предсказывает движение цели и **выбирает нужную траекторию броска**, чтобы оказаться рядом и внезапно атаковать. * Работает **только с перлами в хотбаре** и с настраиваемой в GUI задержкой между бросками (чтобы не спамить). * Позволяет задать **расстояние от цели** и минимальное время между бросками.
release

ReinforceMC 1.8

1.8
29 июн. 2025 г.95Minecraft: 1.16.5forge
Скачать
Что нового
## RU: ### Что изменилось: - Добавлено переключение между DeepSeek V3 (модель по умолчанию, средняя скорость) и DeepSeek R1 (эффективная и умная, но гораздо медленнее) - Исправлены некоторые аспекты в системном промпте DeepSeek - DeepSeek теперь понимает, что находится в вашем инвентаре (слоты хотбара и другие слоты инвентаря) - Прочие исправления ошибок и багов ### Инструкция по первоначальной настройке: - Перейдите на openrouter.ai -> API Keys -> Create new API Key - предоставляется 50 бесплатных запросов в день - В Telegram создайте нового бота и получите его API-ключ - Используйте /openrouter <ваш_api_ключ> для установки ключа OpenRouter, который вы получили - Используйте /tgtoken <токен_вашего_бота> - Перейдите в главное меню ReinforceMC (по умолчанию R) - На странице "[NEW] DeepSeek + Baritone" нажмите кнопку Telegram, чтобы запустить бота -> Она станет зеленой - Теперь вы можете отправлять сообщения Telegram-боту, который будет выполнять действия в Minecraft, используя DeepSeek AI! ------- ## EN: ### What changed: - Added switch between DeepSeek V3 (default model, medium speed) and DeepSeek R1 (effective and smart, but a lot slower) - Fixed some aspects in DeepSeek system prompt - DeepSeek now understands what is in your inventory (Hotbar Slots & Other inv. slots - Other bugfixes ### First Setup Instruction: - Go to openrouter.ai -> API Keys -> Create new API Key - 50 requests free per day are given - In Telegram, Create a new bot, and get it's API key - Use /openrouter <your_api_key> to set OpenRouter Key that you got - Use /tgtoken <your_bot_token> - Go to ReinforceMC main menu (R by default) - In "[NEW] DeepSeek + Baritone" page, click Telegram button to start the bot -> It will become green - Congrats! You can now message the Telegram Bot that will perform multiple actions in Minecraft using DeepSeek AI! #### P.S. Baritone is essential for ReinforceMC mod to work properly
release

ReinforceMC 1.7

1.7
26 июн. 2025 г.63Minecraft: 1.16.5forge
Скачать
Что нового
## Release 1.7: Added DeepSeek + Baritone (so, download and put Baritone in mods/ folder as well) ### Setup: - Go to openrouter.ai -> API Keys -> Create new API Key - 50 requests free per day are given - In Telegram, Create a new bot, and get it's API key - Use /openrouter <your_api_key> to set OpenRouter Key that you got - Use /tgtoken <your_bot_token> - Go to ReinforceMC main menu (R by default) - In "[NEW] DeepSeek + Baritone" page, click Telegram button to start the bot -> It will become green - Congrats! You can now message the Telegram Bot that will perform multiple actions in Minecraft using DeepSeek AI! — ## Other Changes: - Added Smart Aura: it intelligently locks onto another player within a 3-block radius and attacks them (improvement coming in v1.9). - AutoMance feature in development: it dodges around another player by circling them with jumps (Edit: released in 1.8, upgrade coming in 1.9)
beta

ReinforceMC 1.6

1.6
22 июн. 2025 г.40Minecraft: 1.16.5forge
Скачать
Что нового
#### 1. Bugfix - Batch size fix - Syncronized set camera tresholds from GUI with real tresholds in Neural Network --- #### 2. Changes: - Added support for running in pause menu (Esc) --- **Plans for 1.7:** *DeepSeek + Baritone integration soon...*
beta

ReinforceMC 1.5

1.5
12 июн. 2025 г.47Minecraft: 1.16.5forge
Скачать
Что нового
- Fix: Added full compatibility with speeding up Minecraft process
beta

ReinforceMC 1.4

1.4
11 июн. 2025 г.38Minecraft: 1.16.5forge
Скачать
Что нового
#### Added actions to the neural network action settings: - Aim at the nearest player (Beta) - Aim at the nearest mob (Beta) - Anti-Cheat Bypass (Alpha) available for both functions --- #### Добавлены действия в настройки действий нейросети: - Навестись на ближайшего игрока (Beta) - Навестись на ближайшего моба (Beta) - Для обеих функий доступны Anti-Cheat Bypass (Alpha)
beta

ReinforceMC 1.3

1.3
10 июн. 2025 г.38Minecraft: 1.16.5forge
Скачать
Что нового
### 🆕 Three New Neural Network Input Types - **Mob Tracker**: Tracks relative coordinates, distance, and type of up to 20 nearby mobs - Configurable through GUI (5-20 mobs) - Provides detailed situational awareness of hostile creatures - **Block Environment Tracker**: Scans blocks in a 3x3x3 area around the player - 27 block IDs for terrain analysis - Essential for navigation and obstacle avoidance - **Combat Tracker**: Monitors 7 key combat stats - Health, armor, hunger, XP, weapon damage, attack speed, armor protection - Critical for combat decision-making ### 🎛️ Enhanced Input Configuration - Settings for: - Max tracked mobs (5-20) - Screenshot resolution presets (6 options) - Nearby player tracking (1-10 players)
beta

ReinforceMC 1.2 (Mini-Bugfix)

1.2
9 июн. 2025 г.38Minecraft: 1.16.5forge
Скачать
Что нового
### Mini-Bugfix #### What changed: - Removed all of sus Unicode symbols appearing (Mainly in training control menu)
beta

ReinforceMC 1.1

1.1
8 июн. 2025 г.34Minecraft: 1.16.5forge
Скачать
Что нового
### Changelog Fixed English translations