mod-dev-talk Tuesday 27 August 2024

2 messages2 people

  1. gufl

    hey 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
    private static final Identifier WHITE_BORDER_TEXTURE = new Identifier.("minecraft", "textures/misc/white_border_16x16.png");
    and im getting this error when trying to compile the mod, if anyone can help that would be greatly appreciated
    Image shared by gufl
  2. DafuqsTeam

    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 like Identifier.of(...) and similar other methods now
    • :this:3