You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some modules might need to have Image, Video, Sound, or any assets for them to work, and in OpenBlocks' module system, you can't really get/extract any resources because it only loads the class and runs it.
I'm thinking to create some kind of "assets" folder inside the zip file along with the compiled jar. The module manager will extract the assets to a certain location, and the module will have a way to access that asset using an API.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Some modules might need to have Image, Video, Sound, or any assets for them to work, and in OpenBlocks' module system, you can't really get/extract any resources because it only loads the class and runs it.
I'm thinking to create some kind of "assets" folder inside the zip file along with the compiled jar. The module manager will extract the assets to a certain location, and the module will have a way to access that asset using an API.
Beta Was this translation helpful? Give feedback.
All reactions