### **Create Dup Fix — версия 1.2.0**

**Обновление!**
Мод получил новые возможности и исправления. Рекомендуется к установке всем пользователям.
---
### **🚀 Что нового**
- **Добавлен фикс для полок и скатертей (Create: Tradeworks)** — устраняет дюп ресурсов со столов, полок (`ShelfBlock`, `SideShelfBlock`, `MetalShelfBlock`) и скатертей при сборке и разборке физических конструкций (кораблей).
- **Автоматическая проверка обновлений** — теперь мод проверяет наличие новых версий на Modrinth при запуске и выводит сообщение в консоль сервера или чат одиночной игры с кликабельной ссылкой на скачивание.
- **Обновлённый конфигурационный файл** — в `config/create_dupe_fix.json` добавлены опции `fixTableClothDupe`, `fixChainConveyorDupe`, `fixCBCSableCompat` и `checkForUpdates`.
---
### **🛠️ Исправленные проблемы**
- **Дюп предметов со скатертей и полок** — при физичении конструкции вызов `TableClothBlockEntity.destroy()` выбрасывал предметы на пол. Теперь `destroy()` блокируется при сборке/разборке.
- **Дюп через цепной привод** — добавлена строгая проверка соединений на сервере при снятии цепей гаечным ключом (шифт + ПКМ).
- **Ошибка `@Mixin target not found`** — исправлено выравнивание клиентских миксинов для корректной работы на выделенных серверах.
- **Оптимизация зависимостей** — сняты жесткие обязательные требования к некритичным аддонам.
---
### **⚙️ Дополнительно**
- **Конфигурационный файл** `config/create_dupe_fix.json` — позволяет индивидуально включать или отключать каждый фикс и автопроверку обновлений.
- **Оптимизация производительности** — минимальное влияние на серверный тик.
---
### **🔧 Совместимость**
- **Minecraft:** 1.21.1
- **NeoForge:** 21.1.230+
- **Зависимости:** Create 6.0.10+, Sable 1.2.1+, Copycats+ 3.0.4+
---
### **📌 Установка**
1. Скачайте `.jar` файл и поместите его в папку `mods`.
2. Запустите игру (или сервер). Конфиг создастся автоматически.
3. При необходимости отредактируйте `config/create_dupe_fix.json`.
---
### **💬 Обратная связь**
По всем вопросам, багам и предложениям — присоединяйтесь к нашему Discord-серверу:
**[https://discord.gg/rwDtNNq4dj](https://discord.gg/rwDtNNq4dj)**
---
### **🇬🇧 English Version**
### **Create Dup Fix — version 1.2.0**
**Update!**
The mod has received new features and fixes. Recommended for all users.
---
### **🚀 What's New**
- **Added fix for shelves and tablecloths (Create: Tradeworks)** — eliminates resource duplication from tables, shelves (`ShelfBlock`, `SideShelfBlock`, `MetalShelfBlock`) and tablecloths during assembly and disassembly of physical structures (ships).
- **Automatic update checker** — the mod now checks for new versions on Modrinth at startup and notifies server console or singleplayer chat with a clickable download link.
- **Updated configuration file** — added `fixTableClothDupe`, `fixChainConveyorDupe`, `fixCBCSableCompat` and `checkForUpdates` options in `config/create_dupe_fix.json`.
---
### **🛠️ Fixed Issues**
- **Item duplication from tablecloths and shelves** — when physicing a structure, `TableClothBlockEntity.destroy()` dropped items on the floor. Now `destroy()` is blocked during assembly/disassembly.
- **Chain drive duplication glitch** — added strict server connection checks when removing chains with a wrench.
- **`@Mixin target not found` error** — fixed client mixin alignment for proper dedicated server compatibility.
- **Dependency optimization** — removed hard requirement locks for non-critical addon mods.
---
### **⚙️ Additional Features**
- **Configuration file** `config/create_dupe_fix.json` — allows configuring each fix and update check individually.
- **Performance optimisation** — minimal impact on server tick rate.
---
### **🔧 Compatibility**
- **Minecraft:** 1.21.1
- **NeoForge:** 21.1.230+
- **Dependencies:** Create 6.0.10+, Sable 1.2.1+, Copycats+ 3.0.4+
---
### **📌 Installation**
1. Download the `.jar` file and place it into your `mods` folder.
2. Launch the game (or server). The config will be created automatically.
3. If needed, edit `config/create_dupe_fix.json`.
---
### **💬 Feedback**
For bug reports, questions or suggestions — join our Discord server:
**[https://discord.gg/rwDtNNq4dj](https://discord.gg/rwDtNNq4dj)**
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }