## Easy Shop Mod 6.7.2
### ✨ New Features & Major Updates
* 🔄 **Migration to Official Mappings**:
* The mod has been fully migrated from Yarn to **Official Mappings**.
* This ensures better **long-term compatibility with future Minecraft versions** beyond 1.21.11.
* Also prepares the mod for **upcoming Forge support**.
* 🧑🤝🧑 **Shop Move System (NEW)**:
* Added a new toggle button: **Shop Move: ON / OFF**.
* This feature allows your NPC Shop to follow you dynamically based on distance:
| State | Behavior |
| ------------------------------- | ----------------------------------------------------------------------- |
| **OFF** | NPC stands still (`No AI`) and looks at nearby players within 8 blocks. |
| **ON + Close (<3 blocks)** | NPC stays still and focuses only on the owner. |
| **ON + Medium Distance (3–25)** | NPC walks toward the owner using navigation (`moveTo`) with speed 0.8. |
| **ON + Far (≥25)** | NPC instantly teleports to the owner. |
| **Different Dimension** | NPC remains in place (no cross-dimension movement). |
* 🖥️ **Improved GUI Layout**:
* Enhanced UI for:
* **Owner's Shop (Buyer)**
* **Shop Manager (Owner)**
* Interfaces now use a **clean grid-based layout** for a better and more organized experience.
* 💬 **NPC Death Notification**:
* Added a chat notification system.
* When your NPC Shop is killed, you will be **notified with the name of the player who killed it**.
* 🔌 **Mod Compatibility Improvements (NEW)**:
* The mod is now fully ready to work with **other mods that add new items or resources**.
* You can use custom items as:
* 💰 Prices (currency alternatives)
* 📦 Products (items being sold)
* Ensures seamless integration with most content-based mods without additional configuration.
---
### 🐞 Bug Fixes & Stability Improvements
* 🧠 **Player Face Saving Issue Fixed**:
* Fixed an issue where player faces in **Shops List (All)** were not saved correctly.
* Faces are now properly stored and displayed.
* 🔄 Skins are now **updated dynamically**:
* Whenever a player changes their skin, it will be refreshed to ensure the correct face is shown.
* ✅ This behavior has been **tested in a real scenario**:
* Logged in as **Player1** to store their skin.
* Then logged in as **Player2** to store a different skin.
* Verified that **Player1's face still appears correctly**, confirming proper and persistent storage.
* ⚠️ Note:
* This feature has **not been tested on a real multiplayer server yet**.
* If you manage to test it on a server, please report your results on **GitHub** so it can be verified and improved if needed.
* 🔄 **Inventory Sync Issue Resolved**:
* Fixed a critical sync issue between client and server inventories.
* Previously caused:
* Items not being removed when creating offers.
* Items returning incorrectly after canceling offers.
* Potential item duplication exploit 😅
* Now fully synchronized and working correctly.
* 📦 **Full Inventory Handling Fix**:
* Fixed a bug where canceling an offer would return items to a full inventory.
* Now:
* If the inventory is full → items are safely returned to **NPC Storage** instead.
* 📝 **Incorrect Message Fix**:
* Fixed a misleading message when using `/close_shop` while the NPC is dead.
* Previously showed: **"Data Cleared"** (which was incorrect).
* Now replaced with a more accurate and clear message.
* 🔢 **Item Quantity Limit Fix**:
* Manual item quantity input is now limited to a maximum of **64 items** in:
* `Set Quantity (Owner)` window.
---
### ⚠️ Important Notice
* Due to the migration to **Official Mappings**:
* ❗ **Enchanted items (such as books and weapons) may not be restored correctly** from:
* Storage
* Offers
* Trades
* ✅ To prevent any loss of items, please follow these steps carefully:
1. Use version **V5.0.0 (Yarn)**.
2. Retrieve all your enchanted items from:
* Storage / Offers
3. After retrieving them, update the mod to **V6.7.2**.
4. Recreate your offers again.
* 💡 After completing these steps:
* The mod will fully support **all enchanted items** without any issues.
---
### 🔗 GitHub
* You can find the official GitHub repository for this project in the **description**.
* Feel free to:
* 🐞 Report bugs
* 💡 Suggest improvements
* 📩 Share feedback
* If you test the mod on a real multiplayer server, please share your results there to help confirm stability and behavior.
---
### 📌 Notes
* If you encounter any bugs or issues, please report them so they can be fixed as quickly as possible.
* A lot of time and effort went into this update — your feedback really matters ❤️
* Enjoy a more stable, improved, and feature-rich shop system!
---
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" }