#help for displaying the image of an item on the texture of a block

1 messages · Page 1 of 1 (latest)

restive helm
#

Hello everyone,

I've been advised to write a message here for help.
I hope you enjoy reading (and the bad French-English translation).

5 years ago I set out to create a new plugin. For reasons linked to my life, I had to stop my project very quickly. Today I've decided to start again and finish it.

5 years ago I was faced with a difficulty in developing a certain functionality. I dare to hope that, 5 years later, with all the updates, new possibilities have arisen.

I 'simply' wanted to display the image of the most numerous item inside a chest on the texture. For example, a chest with 3 stacks of diamonds and 1 stack of emeralds should display the image of the diamond on its texture. (on the front face of the chest and the top face).

The constraints are as follows:

  • The image of the item must not be considered as an entity.
  • It must work with each player's personalised texture pack.
  • It must be taken into account that many chests can be located in the same area and therefore each display the image of item (low fps).
  • This must be a plugin. No mod. (datapack ok)

The freedoms are as follows:

  • It does not have to be a chest. A "non-vanilla" block might suit me. (datapack?)

I want to achieve my goal, so I can be flexible with the constraints.

My question is as follows:

What are the existing ways of displaying the image of an item on the texture of a chest (or any other block)?

Note that at this stage I'm not looking for code, just ideas.

Thank you in advance for your answers.