Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Item CustomModelData support #28

Open
2 tasks done
CamperSamu opened this issue Dec 15, 2022 · 2 comments
Open
2 tasks done

Item CustomModelData support #28

CamperSamu opened this issue Dec 15, 2022 · 2 comments
Labels
Type: Enhancement Improvement or modification which is usually a new feature.

Comments

@CamperSamu
Copy link

Is your feature request related to a problem?

CustomModelData (coupled with custom fonts) is essential to achieve simple dynamic custom UIs in Minecraft, an essential feature for modern servers trying to deliver a more polished experience to their players.
It also allows for custom item textures and much more by simply adding a NBT tag (eg. {CustomModelData:69420}) to an item coupled with a resource pack with the right model predicate (look at https://minecraft.fandom.com/wiki/Player.dat_format#General_Tags and https://minecraft.fandom.com/wiki/Tutorials/Models#Item_predicates).

Describe the solution you'd like.

It would be useful to have an optional custom-model-data field inside the panel yml for each item entry allowing for setting this NBT.
Handling of the acutal textures is not requried since it's up to the final user to do all the leg work, this request is mainly to allow custom items and pre-baked ui elements to be showed inside panels.

Describe alternatives you've considered.

Someone could use ChestCommands or something like that, but why should we?
BentoBox already has something to handle panels for its plugins, there shouldn't be the need to use something else in this context (aka simple panles).

Agreements

  • I have searched for and ensured there isn't already an open issue regarding this.
  • I have ensured the feature I'm requesting isn't already in the latest supported BentoBox build or Addons.

Other

From my previous comment on #21:


Here some example of custom UIs from the Nova plugin and SlimeFun plugin (using the unofficial resource pack for SlimeFun):
image
image
image
image
image
(ignore the Italian lol)

@tastybento
Copy link
Member

@BONNe what do you think about this?

@BONNe
Copy link
Member

BONNe commented Feb 26, 2023

It is a todo. Need to rewrite some logic of CP.

@tastybento tastybento added the Type: Enhancement Improvement or modification which is usually a new feature. label Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Improvement or modification which is usually a new feature.
Projects
Development

No branches or pull requests

3 participants