Starchasers / OCGlasses

mod for minecraft and addon for Open Computers
zlib License
30 stars 17 forks source link

Add a texture widget? #104

Open shBLOCK opened 3 years ago

shBLOCK commented 3 years ago

Describe the solution you'd like Add a texture widget for render a png file in the filesystem

Additional context I know this will be difficult because of minecraft ResourseLocation system, but it will also be super cool!

fan87 commented 2 years ago

Binding a raw byte array as texture isn't really that hard, and that's also how textures are loaded in Minecraft - it opens the stream, and load into a byte buffer, and add the texture, the hard part is you can't send that large amount of data with the packet system