Jump to content

[1.16.5] Getting a TextureAtlasSprite


Recommended Posts

Hello I need an TextureAtlasSprite from an ResourceLocation, but i cannot find how to get it.

    public static class RegistryEvents {

        public void onTextureStiching(final TextureStitchEvent event) {
            Sprites.GURADIAN_EYE = event.getMap().getSprite(Sprites.guradianEyeSprite);

This i tried, but it seems to be null.

Link to comment
Share on other sites

This topic is now closed to further replies.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.