Exclude namespaces in ResourcePack
Hey there! On every restart of server I'm getting some warns like
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: Caused by: java.util.zip.ZipException: incorrect data check
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: at java.base/java.util.zip.InflaterInputStream.read(InflaterInputStream.java:181)
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: at java.base/java.io.BufferedInputStream.fill(BufferedInputStream.java:291)
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: at java.base/java.io.BufferedInputStream.read1(BufferedInputStream.java:347)
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: at java.base/java.io.BufferedInputStream.implRead(BufferedInputStream.java:420)
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:399)
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: at java.base/java.io.DataInputStream.readFully(DataInputStream.java:208)
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: at java.desktop/com.sun.imageio.plugins.png.PNGImageReader.decodePass(PNGImageReader.java:1243)
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: at java.desktop/com.sun.imageio.plugins.png.PNGImageReader.decodeImage(PNGImageReader.java:1379)
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: at java.desktop/com.sun.imageio.plugins.png.PNGImageReader.readImage(PNGImageReader.java:1519)
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: ... 18 more
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: com.loohp.interactivechatdiscordsrvaddon.resources.ResourceLoadingException: Unable to load BitmapFont provider 298 in betterhud:default
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: at InteractiveChatDiscordSrvAddon-4.3.2.0.jar//com.loohp.interactivechatdiscordsrvaddon.resources.fonts.FontProvider.reloadFonts(FontProvider.java:132)
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: at InteractiveChatDiscordSrvAddon-4.3.2.0.jar//com.loohp.interactivechatdiscordsrvaddon.resources.fonts.FontManager.reload(FontManager.java:156)
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: at InteractiveChatDiscordSrvAddon-4.3.2.0.jar//com.loohp.interactivechatdiscordsrvaddon.resources.ResourceManager.loadAssets(ResourceManager.java:525)
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: at InteractiveChatDiscordSrvAddon-4.3.2.0.jar//com.loohp.interactivechatdiscordsrvaddon.resources.ResourceManager.loadResources(ResourceManager.java:371)
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: at InteractiveChatDiscordSrvAddon-4.3.2.0.jar//com.loohp.interactivechatdiscordsrvaddon.InteractiveChatDiscordSrvAddon.lambda$reloadTextures$18(InteractiveChatDiscordSrvAddon.java:770)
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:78)
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: at org.bukkit.craftbukkit.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57)
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: at java.base/java.lang.Thread.run(Thread.java:1583)
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: Caused by: java.io.UncheckedIOException: Unable to load image betterhud:text_font1_298 from /home/container/plugins/InteractiveChatDiscordSrvAddon/server-resource-packs/9e902a3e1ab8ec0ee4bc83a056e960a663c47770/assets/betterhud/textures/text_font1_298.png
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: at InteractiveChatDiscordSrvAddon-4.3.2.0.jar//com.loohp.interactivechatdiscordsrvaddon.resources.textures.TextureResource.loadImage(TextureResource.java:98)
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: at InteractiveChatDiscordSrvAddon-4.3.2.0.jar//com.loohp.interactivechatdiscordsrvaddon.resources.textures.TextureResource.getTexture(TextureResource.java:147)
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: at InteractiveChatDiscordSrvAddon-4.3.2.0.jar//com.loohp.interactivechatdiscordsrvaddon.resources.textures.TextureResource.getTexture(TextureResource.java:143)
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: at InteractiveChatDiscordSrvAddon-4.3.2.0.jar//com.loohp.interactivechatdiscordsrvaddon.resources.fonts.BitmapFont.reloadFonts(BitmapFont.java:82)
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: at InteractiveChatDiscordSrvAddon-4.3.2.0.jar//com.loohp.interactivechatdiscordsrvaddon.resources.fonts.FontProvider.reloadFonts(FontProvider.java:130)
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: ... 10 more
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: Caused by: javax.imageio.IIOException: Error reading PNG image data
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: at java.desktop/com.sun.imageio.plugins.png.PNGImageReader.readImage(PNGImageReader.java:1528)
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: at java.desktop/com.sun.imageio.plugins.png.PNGImageReader.read(PNGImageReader.java:1845)
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: at java.desktop/javax.imageio.ImageIO.read(ImageIO.java:1466)
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: at java.desktop/javax.imageio.ImageIO.read(ImageIO.java:1363)
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: at InteractiveChatDiscordSrvAddon-4.3.2.0.jar//com.loohp.interactivechatdiscordsrvaddon.resources.textures.TextureResource.loadImage(TextureResource.java:91)
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: ... 14 more
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: Caused by: java.util.zip.ZipException: incorrect data check
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: at java.base/java.util.zip.InflaterInputStream.read(InflaterInputStream.java:181)
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: at java.base/java.io.BufferedInputStream.fill(BufferedInputStream.java:291)
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: at java.base/java.io.BufferedInputStream.read1(BufferedInputStream.java:347)
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: at java.base/java.io.BufferedInputStream.implRead(BufferedInputStream.java:420)
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:399)
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: at java.base/java.io.DataInputStream.readFully(DataInputStream.java:208)
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: at java.desktop/com.sun.imageio.plugins.png.PNGImageReader.decodePass(PNGImageReader.java:1243)
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: at java.desktop/com.sun.imageio.plugins.png.PNGImageReader.decodeImage(PNGImageReader.java:1379)
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: at java.desktop/com.sun.imageio.plugins.png.PNGImageReader.readImage(PNGImageReader.java:1519)
[02:02:39] [Craft Scheduler Thread - 14 - InteractiveChatDiscordSrvAddon/WARN]: ... 18 more
That all is because of ICDA want to read whole ResourcePack generated by ItemsAdder. Would be possible to add some namespace exclude rule? So I can filter out what NOT to use to prevent this tousands of lines long warns?
#80 related - Lone has added, in prior to support more versions in one resourcepack overlays, I'm utilizing them too trough BetterHUD plugin and those are causing the first half of those warns, the other one are custom models from ItemsAdder which are meant for entities for example.
Which version of ICD are you using?
I'm still on InteractiveChatDiscordSrvAddon version 4.3.2.0 but in changelog I don't see anything related to this.
https://github.com/LOOHP/InteractiveChat-DiscordSRV-Addon/commit/1cc7fca5761e2d9616bdf6a3cbf4b77df1f34d85 should have fixed incorrect data check errors for PNGs. Try updating to the latest dev build first.
But this will just prevent warns to appear and load them PNGs properly, but I'm still not getting to exclude for example hotbar (which is for this plugin particularly useless) and ItemsAdder type pf generated models from BlockBench extension etc. That's why I've suggested to exclude namespaces or overlays folders.
Hope I explained it good enough :D
Today the assets might be useless, tomorrow they might be useful because of a new plugin functionality or because of a Minecraft update requiring the use of them. Besides, textures are lazily loaded into memory. If the plugin reads an image, it means that it is using it somewhere, or it is a font texture. In your case, it is because it is a font texture. Perhaps I could add lazy loading to font textures as well in the future, but I don't want to implement too many configurations related to resource loading outside of vanilla behaviour, as it would increase maintenance workload when an update comes.
If you really want to exclude it, you can supply ICD with a custom stripe-down version of the resource pack that doesn't have these fonts I guess.
I know about that but this will heavily decrease workflow speed as it will add steps to more control what will be used trough different platforms. Then the thing is, with every new item/image will be needed to do those steps too.
As it loads whole RP it will load e.g. hotbar texture still while it's included in there (tell me if I'm wrong)
Excluding namespaces/overlays is good thing to even spare some server resources as it must not to load all the crap (even we can strip it, workflow and comfort).
I know it may not be easy but it will be really nice. ❤️
[20:47:37 WARN]: com.loohp.interactivechatdiscordsrvaddon.resources.ResourceLoadingException: Unable to load block model /home/container/plugins/InteractiveChatDiscordSrvAddon/server-resource-packs/9e902a3e1ab8ec0ee4bc83a056e960a663c47770/assets/cosmetics/models/entity/locomotive/locator_smoke.json
[20:47:37 WARN]: at InteractiveChatDiscordSrvAddon-4.3.3.0.jar//com.loohp.interactivechatdiscordsrvaddon.resources.models.ModelManager.loadDirectory(ModelManager.java:72)
[20:47:37 WARN]: at InteractiveChatDiscordSrvAddon-4.3.3.0.jar//com.loohp.interactivechatdiscordsrvaddon.resources.ResourceManager.loadAssets(ResourceManager.java:533)
[20:47:37 WARN]: at InteractiveChatDiscordSrvAddon-4.3.3.0.jar//com.loohp.interactivechatdiscordsrvaddon.resources.ResourceManager.loadResources(ResourceManager.java:430)
[20:47:37 WARN]: at InteractiveChatDiscordSrvAddon-4.3.3.0.jar//com.loohp.interactivechatdiscordsrvaddon.InteractiveChatDiscordSrvAddon.lambda$reloadTextures$18(InteractiveChatDiscordSrvAddon.java:770)
[20:47:37 WARN]: at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:78)
[20:47:37 WARN]: at org.bukkit.craftbukkit.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57)
[20:47:37 WARN]: at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
[20:47:37 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
[20:47:37 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
[20:47:37 WARN]: at java.base/java.lang.Thread.run(Thread.java:1583)
[20:47:37 WARN]: Caused by: java.lang.NullPointerException: Cannot invoke "com.loohp.interactivechat.libs.org.json.simple.JSONArray.get(int)" because "fromArray" is null
[20:47:37 WARN]: at InteractiveChatDiscordSrvAddon-4.3.3.0.jar//com.loohp.interactivechatdiscordsrvaddon.resources.mods.chime.ChimeBlockModel.fromJson(ChimeBlockModel.java:101)
[20:47:37 WARN]: at InteractiveChatDiscordSrvAddon-4.3.3.0.jar//com.loohp.interactivechatdiscordsrvaddon.resources.mods.chime.ChimeManager.lambda$static$0(ChimeManager.java:59)
[20:47:37 WARN]: at InteractiveChatDiscordSrvAddon-4.3.3.0.jar//com.loohp.interactivechatdiscordsrvaddon.resources.models.ModelManager.loadDirectory(ModelManager.java:69)
[20:47:37 WARN]: ... 9 more
[20:47:37 WARN]: com.loohp.interactivechatdiscordsrvaddon.resources.ResourceLoadingException: Unable to load block model /home/container/plugins/InteractiveChatDiscordSrvAddon/server-resource-packs/9e902a3e1ab8ec0ee4bc83a056e960a663c47770/assets/cosmetics/models/entity/locomotive/bone.json
[20:47:37 WARN]: at InteractiveChatDiscordSrvAddon-4.3.3.0.jar//com.loohp.interactivechatdiscordsrvaddon.resources.models.ModelManager.loadDirectory(ModelManager.java:72)
[20:47:37 WARN]: at InteractiveChatDiscordSrvAddon-4.3.3.0.jar//com.loohp.interactivechatdiscordsrvaddon.resources.ResourceManager.loadAssets(ResourceManager.java:533)
[20:47:37 WARN]: at InteractiveChatDiscordSrvAddon-4.3.3.0.jar//com.loohp.interactivechatdiscordsrvaddon.resources.ResourceManager.loadResources(ResourceManager.java:430)
[20:47:37 WARN]: at InteractiveChatDiscordSrvAddon-4.3.3.0.jar//com.loohp.interactivechatdiscordsrvaddon.InteractiveChatDiscordSrvAddon.lambda$reloadTextures$18(InteractiveChatDiscordSrvAddon.java:770)
[20:47:37 WARN]: at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:78)
[20:47:37 WARN]: at org.bukkit.craftbukkit.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57)
[20:47:37 WARN]: at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
[20:47:37 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
[20:47:37 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
[20:47:37 WARN]: at java.base/java.lang.Thread.run(Thread.java:1583)
[20:47:37 WARN]: Caused by: java.lang.NullPointerException: Cannot invoke "com.loohp.interactivechat.libs.org.json.simple.JSONArray.get(int)" because "fromArray" is null
[20:47:37 WARN]: at InteractiveChatDiscordSrvAddon-4.3.3.0.jar//com.loohp.interactivechatdiscordsrvaddon.resources.mods.chime.ChimeBlockModel.fromJson(ChimeBlockModel.java:101)
[20:47:37 WARN]: at InteractiveChatDiscordSrvAddon-4.3.3.0.jar//com.loohp.interactivechatdiscordsrvaddon.resources.mods.chime.ChimeManager.lambda$static$0(ChimeManager.java:59)
[20:47:37 WARN]: at InteractiveChatDiscordSrvAddon-4.3.3.0.jar//com.loohp.interactivechatdiscordsrvaddon.resources.models.ModelManager.loadDirectory(ModelManager.java:69)
[20:47:37 WARN]: ... 9 more
[20:47:37 WARN]: com.loohp.interactivechatdiscordsrvaddon.resources.ResourceLoadingException: Unable to load block model /home/container/plugins/InteractiveChatDiscordSrvAddon/server-resource-packs/9e902a3e1ab8ec0ee4bc83a056e960a663c47770/assets/minecraft/models/block/flower_pot_flower2.json
[20:47:37 WARN]: at InteractiveChatDiscordSrvAddon-4.3.3.0.jar//com.loohp.interactivechatdiscordsrvaddon.resources.models.ModelManager.loadDirectory(ModelManager.java:72)
[20:47:37 WARN]: at InteractiveChatDiscordSrvAddon-4.3.3.0.jar//com.loohp.interactivechatdiscordsrvaddon.resources.ResourceManager.loadAssets(ResourceManager.java:533)
[20:47:37 WARN]: at InteractiveChatDiscordSrvAddon-4.3.3.0.jar//com.loohp.interactivechatdiscordsrvaddon.resources.ResourceManager.loadResources(ResourceManager.java:430)
[20:47:37 WARN]: at InteractiveChatDiscordSrvAddon-4.3.3.0.jar//com.loohp.interactivechatdiscordsrvaddon.InteractiveChatDiscordSrvAddon.lambda$reloadTextures$18(InteractiveChatDiscordSrvAddon.java:770)
[20:47:37 WARN]: at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:78)
[20:47:37 WARN]: at org.bukkit.craftbukkit.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57)
[20:47:37 WARN]: at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
[20:47:37 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
[20:47:37 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
[20:47:37 WARN]: at java.base/java.lang.Thread.run(Thread.java:1583)
[20:47:37 WARN]: Caused by: java.lang.ClassCastException: class java.lang.String cannot be cast to class java.lang.Boolean (java.lang.String and java.lang.Boolean are in module java.base of loader 'bootstrap')
[20:47:37 WARN]: at InteractiveChatDiscordSrvAddon-4.3.3.0.jar//com.loohp.interactivechatdiscordsrvaddon.resources.mods.chime.ChimeBlockModel.fromJson(ChimeBlockModel.java:53)
[20:47:37 WARN]: at InteractiveChatDiscordSrvAddon-4.3.3.0.jar//com.loohp.interactivechatdiscordsrvaddon.resources.mods.chime.ChimeManager.lambda$static$0(ChimeManager.java:59)
[20:47:37 WARN]: at InteractiveChatDiscordSrvAddon-4.3.3.0.jar//com.loohp.interactivechatdiscordsrvaddon.resources.models.ModelManager.loadDirectory(ModelManager.java:69)
[20:47:37 WARN]: ... 9 more
For example with 4.3.3 I'm still getting this, that's why I think it would be good to add a way to ignore certain namespaces or overlays
I think the appropriate way to address this is to actually fix the problem. ICD's parser seems to be not handling your json file correctly. Can you show me one of those files so it can be fixed?
locomotive.json
{"textures":{},"elements":[{}]}
bone.json
{"textures":{},"elements":[{}]}
flower_pot_flower2.json
{
"credit": "Made with Blockbench",
"ambientocclusion": "false",
"textures": {
"particle": "#1",
"1": "block/flower_pot",
"b": "block/dirt"
},
"elements": [
{
"from": [5, 0, 5],
"to": [6, 6, 11],
"faces": {
"north": {"uv": [10, 10, 11, 16], "texture": "#1"},
"east": {"uv": [5, 10, 11, 16], "texture": "#1"},
"south": {"uv": [5, 10, 6, 16], "texture": "#1"},
"west": {"uv": [5, 10, 11, 16], "texture": "#1"},
"up": {"uv": [5, 5, 6, 11], "texture": "#1"},
"down": {"uv": [5, 5, 6, 11], "texture": "#1", "cullface": "down"}
}
},
{
"from": [10, 0, 5],
"to": [11, 6, 11],
"faces": {
"north": {"uv": [5, 10, 6, 16], "texture": "#1"},
"east": {"uv": [5, 10, 11, 16], "texture": "#1"},
"south": {"uv": [10, 10, 11, 16], "texture": "#1"},
"west": {"uv": [5, 10, 11, 16], "texture": "#1"},
"up": {"uv": [10, 5, 11, 11], "texture": "#1"},
"down": {"uv": [10, 5, 11, 11], "texture": "#1", "cullface": "down"}
}
},
{
"from": [6, 0, 5],
"to": [10, 6, 6],
"faces": {
"north": {"uv": [6, 10, 10, 16], "texture": "#1"},
"south": {"uv": [6, 10, 10, 16], "texture": "#1"},
"up": {"uv": [6, 5, 10, 6], "texture": "#1"},
"down": {"uv": [6, 10, 10, 11], "texture": "#1", "cullface": "down"}
}
},
{
"from": [6, 0, 10],
"to": [10, 6, 11],
"faces": {
"north": {"uv": [6, 10, 10, 16], "texture": "#1"},
"south": {"uv": [6, 10, 10, 16], "texture": "#1"},
"up": {"uv": [6, 10, 10, 11], "texture": "#1"},
"down": {"uv": [6, 5, 10, 6], "texture": "#1", "cullface": "down"}
}
},
{
"from": [6, 0, 6],
"to": [10, 4, 10],
"faces": {
"up": {"uv": [6, 6, 10, 10], "texture": "#b"},
"down": {"uv": [6, 12, 10, 16], "texture": "#1", "cullface": "down"}
}
},
{
"from": [4, 4, 8],
"to": [11.8, 13, 8],
"shade": false,
"rotation": {"angle": 0, "axis": "z", "origin": [8, 12.25, 10]},
"faces": {
"north": {"uv": [0, 0, 16, 16], "texture": "#0"},
"east": {"uv": [0, 0, 0, 0], "texture": "#0"},
"south": {"uv": [0, 0, 16, 16], "texture": "#0"},
"west": {"uv": [0, 0, 0, 0], "texture": "#0"}
}
},
{
"from": [8, 4, 4.2],
"to": [8, 13, 12],
"shade": false,
"rotation": {"angle": 0, "axis": "y", "origin": [8, 12.25, 10]},
"faces": {
"north": {"uv": [0, 0, 0, 0], "texture": "#0"},
"east": {"uv": [0, 0, 16, 16], "texture": "#0"},
"south": {"uv": [0, 0, 0, 0], "texture": "#0"},
"west": {"uv": [0, 0, 16, 16], "texture": "#0"}
}
},
{
"from": [2.8, 4, 8],
"to": [13.6, 16, 8],
"shade": false,
"rotation": {"angle": 45, "axis": "y", "origin": [8, 8.25, 8], "rescale": true},
"faces": {
"north": {"uv": [0, 0, 16, 16], "texture": "#0"},
"south": {"uv": [0, 0, 16, 16], "texture": "#0"}
}
},
{
"from": [8, 4, 2.8],
"to": [8, 16, 13.6],
"shade": false,
"rotation": {"angle": 45, "axis": "y", "origin": [8, 8.25, 8], "rescale": true},
"faces": {
"east": {"uv": [0, 0, 16, 16], "texture": "#0"},
"west": {"uv": [0, 0, 16, 16], "texture": "#0"}
}
}
],
"groups": [0, 1, 2, 3, 4,
{
"name": "group",
"origin": [8, 8, 8],
"children": [5, 6]
},
{
"name": "tinted_cross",
"origin": [8, 8, 8],
"children": [7, 8]
}
]
}
Then for example this
[20:47:44 WARN]: com.loohp.interactivechatdiscordsrvaddon.resources.ResourceLoadingException: Unable to load overlay ia_overlay_1_20_5_plus for pack 9e902a3e1ab8ec0ee4bc83a056e960a663c47770
[20:47:44 WARN]: at InteractiveChatDiscordSrvAddon-4.3.3.0.jar//com.loohp.interactivechatdiscordsrvaddon.resources.ResourceManager.loadResources(ResourceManager.java:437)
[20:47:44 WARN]: at InteractiveChatDiscordSrvAddon-4.3.3.0.jar//com.loohp.interactivechatdiscordsrvaddon.InteractiveChatDiscordSrvAddon.lambda$reloadTextures$18(InteractiveChatDiscordSrvAddon.java:770)
[20:47:44 WARN]: at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:78)
[20:47:44 WARN]: at org.bukkit.craftbukkit.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57)
[20:47:44 WARN]: at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
[20:47:44 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
[20:47:44 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
[20:47:44 WARN]: at java.base/java.lang.Thread.run(Thread.java:1583)
[20:47:44 WARN]: Caused by: java.lang.IllegalArgumentException: /home/container/plugins/InteractiveChatDiscordSrvAddon/server-resource-packs/9e902a3e1ab8ec0ee4bc83a056e960a663c47770/ia_overlay_1_20_5_plus/assets is not a directory.
[20:47:44 WARN]: at InteractiveChatDiscordSrvAddon-4.3.3.0.jar//com.loohp.interactivechatdiscordsrvaddon.resources.ResourceManager.loadAssets(ResourceManager.java:507)
[20:47:44 WARN]: at InteractiveChatDiscordSrvAddon-4.3.3.0.jar//com.loohp.interactivechatdiscordsrvaddon.resources.ResourceManager.loadResources(ResourceManager.java:434)
[20:47:44 WARN]: ... 7 more