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

Cant replace vanilla texture #38

Open
Cardistymo opened this issue Aug 25, 2021 · 7 comments
Open

Cant replace vanilla texture #38

Cardistymo opened this issue Aug 25, 2021 · 7 comments

Comments

@Cardistymo
Copy link

Hello,

I am trying to replace a vanilla texture via ARRP.
But if I add a texture like RESOURCE_PACK.addTexture(new Identifier("minecraft", "/gui/options_background"), image);,
it changes nothing.

@Devan-Kerman
Copy link
Owner

This is likely because of how you're registering the pack

@Cardistymo
Copy link
Author

I am registering the pack like this: RuntimeResourcePack.create(MODID + ":resource");. How to register the pack, so I can replace vanilla textures?

@Cardistymo
Copy link
Author

Ohh sry. This is how i am register the pack: RRPCallback.AFTER_VANILLA.register(a -> a.add(RESOURCE_PACK));

@Devan-Kerman
Copy link
Owner

use BEFORE_VANILLA it says it in the documentation

@Cardistymo
Copy link
Author

@Devan-Kerman tried this already and now again, it doesnt work...

@Devan-Kerman Devan-Kerman reopened this Aug 27, 2021
@Devan-Kerman
Copy link
Owner

I'll take a look when I get back

@Devan-Kerman
Copy link
Owner

ensure your path is correct, try dumping resources with RuntimeResourcePack#dump

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

No branches or pull requests

2 participants