@@ -28,21 +28,21 @@ public final class ModConfig extends Settings<ModConfig> {
2828
2929 private static final Path MOD_CONFIG = new File ("./config/caramel.chameleon.properties" ).toPath ();
3030 private static final int CURRENT_CONFIG_VERSION = 1 ;
31- public static final ResourceLocation ORIGINAL_MAC_ICON = new ResourceLocation ("icons/minecraft.icns" );
32- public static final ResourceLocation ORIGINAL_WIN_ICON = new ResourceLocation ("icons/icon_128x128.png" );
31+ public static final ResourceLocation ORIGINAL_MAC_ICON = ResourceLocation . withDefaultNamespace ("icons/minecraft.icns" );
32+ public static final ResourceLocation ORIGINAL_WIN_ICON = ResourceLocation . withDefaultNamespace ("icons/icon_128x128.png" );
3333 public static final Map <ResourceLocation , String []> VANILLA_ICON_SET = new Object2ObjectOpenHashMap <>();
3434 static {
3535 VANILLA_ICON_SET .put (ORIGINAL_MAC_ICON , new String []{ "icons" , "minecraft.icns" });
36- VANILLA_ICON_SET .put (new ResourceLocation ("icons/icon_16x16.png" ), new String []{ "icons" , "icon_16x16.png" });
37- VANILLA_ICON_SET .put (new ResourceLocation ("icons/icon_32x32.png" ), new String []{ "icons" , "icon_32x32.png" });
38- VANILLA_ICON_SET .put (new ResourceLocation ("icons/icon_48x48.png" ), new String []{ "icons" , "icon_48x48.png" });
36+ VANILLA_ICON_SET .put (ResourceLocation . withDefaultNamespace ("icons/icon_16x16.png" ), new String []{ "icons" , "icon_16x16.png" });
37+ VANILLA_ICON_SET .put (ResourceLocation . withDefaultNamespace ("icons/icon_32x32.png" ), new String []{ "icons" , "icon_32x32.png" });
38+ VANILLA_ICON_SET .put (ResourceLocation . withDefaultNamespace ("icons/icon_48x48.png" ), new String []{ "icons" , "icon_48x48.png" });
3939 VANILLA_ICON_SET .put (ORIGINAL_WIN_ICON , new String []{ "icons" , "icon_128x128.png" });
40- VANILLA_ICON_SET .put (new ResourceLocation ("icons/icon_256x256.png" ), new String []{ "icons" , "icon_256x256.png" });
41- VANILLA_ICON_SET .put (new ResourceLocation ("snapshot/icons/icon_16x16.png" ), new String []{ "icons" , "snapshot" , "icon_16x16.png" });
42- VANILLA_ICON_SET .put (new ResourceLocation ("snapshot/icons/icon_32x32.png" ), new String []{ "icons" , "snapshot" , "icon_32x32.png" });
43- VANILLA_ICON_SET .put (new ResourceLocation ("snapshot/icons/icon_48x48.png" ), new String []{ "icons" , "snapshot" , "icon_48x48.png" });
44- VANILLA_ICON_SET .put (new ResourceLocation ("snapshot/icons/icon_128x128.png" ), new String []{ "icons" , "snapshot" , "icon_128x128.png" });
45- VANILLA_ICON_SET .put (new ResourceLocation ("snapshot/icons/icon_256x256.png" ), new String []{ "icons" , "snapshot" , "icon_256x256.png" });
40+ VANILLA_ICON_SET .put (ResourceLocation . withDefaultNamespace ("icons/icon_256x256.png" ), new String []{ "icons" , "icon_256x256.png" });
41+ VANILLA_ICON_SET .put (ResourceLocation . withDefaultNamespace ("snapshot/icons/icon_16x16.png" ), new String []{ "icons" , "snapshot" , "icon_16x16.png" });
42+ VANILLA_ICON_SET .put (ResourceLocation . withDefaultNamespace ("snapshot/icons/icon_32x32.png" ), new String []{ "icons" , "snapshot" , "icon_32x32.png" });
43+ VANILLA_ICON_SET .put (ResourceLocation . withDefaultNamespace ("snapshot/icons/icon_48x48.png" ), new String []{ "icons" , "snapshot" , "icon_48x48.png" });
44+ VANILLA_ICON_SET .put (ResourceLocation . withDefaultNamespace ("snapshot/icons/icon_128x128.png" ), new String []{ "icons" , "snapshot" , "icon_128x128.png" });
45+ VANILLA_ICON_SET .put (ResourceLocation . withDefaultNamespace ("snapshot/icons/icon_256x256.png" ), new String []{ "icons" , "snapshot" , "icon_256x256.png" });
4646 }
4747 public static final Function <Minecraft , Set <ResourceLocation >> GET_ICON_SET = client -> {
4848 final Set <ResourceLocation > iconSet = new ObjectOpenHashSet <>();
0 commit comments