nulli0n / ExcellentCrates-spigot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature] ItemsAdder

dinobossytnew opened this issue · comments

Hello, today I'm here to comment on a new feature that I believe is very necessary for your plugin when adding an AI item (ItemsAdder). The issue arises when the model is visible in the preview, but the problem occurs when the AI changes the custom data model. As you know, AI always assigns custom data model whenever it restarts or new content is added. It's a bit confusing to understand, but basically, in the crate preview, when the custom data model changes, the model is either not visible or another one is directly shown in that crate. This problem arises due to the custom model data factor; that small ID change creates a big mess. So, I propose using a unique identifier. There's only one way to save an ItemsAdder without losing the model and attributes in the preview, and that is by adding support to the same ItemsAdder. For this, ExcellentCrate for the preview menu needs to save AI as material. An example would be: Material: ItemsAdder:namespace:iditem. This specifically saves the path where the item is located. This path can be found in your API, and I'll leave the plugin link clearly for you.
https://github.com/LoneDev6/API-ItemsAdder
https://itemsadder.devs.beer/developers/java-api
spigot contact: https://www.spigotmc.org/resources/authors/lonedev.88296/