#mod-dev-talk Tuesday 27 August 2024
2 messages2 people
- Ghey can any mod developers help me out with this one issue I've been having, so basically im making a mod that needs a custom texture so i use new Identifier cause it was the only way i could use textures here the full line
and im getting this error when trying to compile the mod, if anyone can help that would be greatly appreciatedprivate static final Identifier WHITE_BORDER_TEXTURE = new Identifier.("minecraft", "textures/misc/white_border_16x16.png");
- D
Replying toguflhey can any mod developers help me out with this one issue I've been having, so…
I guess you are modding on 1.21 or similar? The class now has a private constructor. You have to get an Identifier with something likeIdentifier.of(...)and similar other methods now
3