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

One-off (non-pack) resource support / per-plugin #13

Open
deathcap opened this issue May 7, 2014 · 0 comments
Open

One-off (non-pack) resource support / per-plugin #13

deathcap opened this issue May 7, 2014 · 0 comments

Comments

@deathcap
Copy link
Owner

deathcap commented May 7, 2014

Currently resources are loaded from 'packs', in resource pack format (zipped archives). This creates difficulty when creating new plugins which require their own new textures — you have to choose a texture in an existing pack, or add it to a new pack for this purpose (e.g., https://github.com/deathcap/ProgrammerArt).

Would be convenient of plugins could somehow include their own resources (textures/sounds/etc.), independent of any artpack.

These free-standing resources should be overridable by the loaded packs (i.e., they would have the lowest priority), but could be added without any kind of container archive. Maybe an API something like registerTexture(name, data), where data could be fs.readFileSync() with brfs.

example plugins that could benefit:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant