diamonddevv / luafy

lua scripting language in minecraft datapacks
Creative Commons Zero v1.0 Universal
5 stars 2 forks source link

Add support for directly applying a static resource `png` to a text display's component field #32

Closed MulverineX closed 1 month ago

MulverineX commented 1 month ago

~~PNG Decoding: https://github.com/leonbloy/pngj ~~ (superseded by Java's BufferedImage)

Prior Art: https://github.com/AjaxGb/mc-text-image/blob/master/text-image.js

For performance reasons this doesn't return the text component and is something you directly apply to a text display's EntityScriptObject.

Should support client-side text displays from #7

diamonddevv commented 1 month ago

complete, par #7 integration