Coder Social home page Coder Social logo

peppercode1 / connectedtexturesmod-fabric Goto Github PK

View Code? Open in Web Editor NEW
29.0 29.0 19.0 553 KB

An unofficial Fabric port of the original ConnectedTexturesMod. Adds extensions to the vanilla model and texture system to allow resource packs to create complex models.

License: GNU General Public License v2.0

Java 100.00%

connectedtexturesmod-fabric's People

Contributors

mrjoshuat avatar peppercode1 avatar titaniumtown avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

connectedtexturesmod-fabric's Issues

Notexture bug with Indium and Iris

image
This happens when I try to run this mod. I have Iris+Sodium, Indium and other performance mods (such as Krypton or Ferrite).

Can you help me find the problem? I'm trying to use MC Connected or Simple Connected Textures and they both produce that bug.

failing to launch

whenever i try to launch it crashes and says "Could not find required mod: ctm requires {fabric @ [>=0.34.7+1.16]}" along with "Creating Empty clause ?"

Different Textures Based on Y-Level

Is it possible to make an option to have different block textures based on what y-level the block is on? MCPatcher has an option to where blocks can be changed based on a set height range and I was wondering if something similar could be implemented into CTM. I was trying to make a pack where the blocks at the height limit are a different color, but I can't find a way to put that into CTM.

Error with modmenu

When I try loading the latest release of this mod with modmenu, I get this error:

java.lang.RuntimeException: Could not execute entrypoint stage 'client' due to errors, provided by 'modmenu'!
	at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:53)
	at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke(EntrypointUtils.java:36)
	at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointClient.start(EntrypointClient.java:33)
	at net.minecraft.class_310.<init>(class_310.java:437)
	at net.minecraft.client.main.Main.main(Main.java:177)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:226)
	at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:139)
	at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:27)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:196)
	at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:231)
	at org.multimc.EntryPoint.listen(EntryPoint.java:143)
	at org.multimc.EntryPoint.main(EntryPoint.java:34)
Caused by: java.lang.NoClassDefFoundError: com/terraformersmc/modmenu/api/ModMenuApi
	at java.base/java.lang.ClassLoader.defineClass1(Native Method)
	at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017)
	at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)
	at net.fabricmc.loader.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:163)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
	at java.base/java.lang.Class.forName0(Native Method)
	at java.base/java.lang.Class.forName(Class.java:398)
	at net.fabricmc.loader.util.DefaultLanguageAdapter.create(DefaultLanguageAdapter.java:45)
	at net.fabricmc.loader.EntrypointStorage$NewEntry.create(EntrypointStorage.java:112)
	at net.fabricmc.loader.EntrypointStorage$NewEntry.getOrCreate(EntrypointStorage.java:99)
	at net.fabricmc.loader.EntrypointStorage.lambda$getEntrypointContainers$1(EntrypointStorage.java:184)
	at net.fabricmc.loader.entrypoint.EntrypointContainerImpl.getEntrypoint(EntrypointContainerImpl.java:37)
	at io.github.prospector.modmenu.ModMenu.lambda$onInitializeClient$0(ModMenu.java:75)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
	at io.github.prospector.modmenu.ModMenu.onInitializeClient(ModMenu.java:74)
	at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:50)
	... 19 more
Caused by: java.lang.ClassNotFoundException: com.terraformersmc.modmenu.api.ModMenuApi
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
	at net.fabricmc.loader.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:168)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
	... 35 more

blocks doesnt connect

i have the CTMF mod and the textures
Zrzut ekranu 2021-06-26 o 11 04 23
and when i turn on these its doesnt connect
this is my mod folder.
Zrzut ekranu 2021-06-26 o 11 05 32

Not Working with Simple Connected Textures

I cannot get the Simple Connected Textures resource pack to work. I've tried updating the pack and ctmf, but the textures are not connecting. I don't have Sodium or Indium installed. Are they required to get the mod to run?

2021-07-07_12 16 25

Huge performance impact

When I am using the Simple CT resource pack on the "Redstone Ready" superflat preset, I go from around 200 fps to 5 fps. This is obviously because of the huge amount of sandstone in the world, and is fixed if I remove sandstone from the resource pack. I don't know if there is a simple way to fix this, but I figured I would submit this issue anyway as I can't see anyone else mentioning this.

Feature Request: Block Face Culling Between Glass Panes

If possible could you make it so the side faces of glass panes get culled so that you will not need to use resource packs like this to remove the lines between the glass. This should properly fix the issue fixed with that resource pack, it is used to remove the side texture of the glass meaning it won't even render if the side of the glass pane is exposed to air. This is done because even though the glass texture will be connected you will see lines in the glass from the sides of the panes. If that face was properly culled you would not need to use that alongside it's corresponding resource pack. Plus it would have the benefit of the side textures being visible when the panes are not up against something it would look more natural. I'm not sure if it is better to cull the sides only when touching other glass and glass panes or it should be culled for all blocks. (In terms of the way it looks) It would probably be best to do what Optifine used to do unless if you can make it look better.

Weird bug

Error loading metadata for sprite minecraft:missingno.
java.io.FileNotFoundException: minecraft:textures/missingno.png
at Not Enough Crashes deobfuscated stack trace.(1.16.5+build.4)
at net.minecraft.resource.NamespaceResourceManager.getResource(NamespaceResourceManager:67)
at net.minecraft.resource.ReloadableResourceManagerImpl.getResource(ReloadableResourceManagerImpl:64)
at team.chisel.ctm.client.util.ResourceUtil.getResource(ResourceUtil.java:29)
at team.chisel.ctm.client.util.ResourceUtil.getMetadata(ResourceUtil.java:51)
at team.chisel.ctm.client.util.ResourceUtil.getMetadata(ResourceUtil.java:63)
at team.chisel.ctm.client.util.ResourceUtil.getMetadataSafe(ResourceUtil.java:90)
at team.chisel.ctm.client.util.TextureUtil.initializeTextures(TextureUtil.java:23)
at team.chisel.ctm.client.model.CTMUnbakedModel.bake(CTMUnbakedModel.java:54)
at net.minecraft.client.render.model.ModelLoader.bake(ModelLoader:486)
at net.minecraft.client.render.model.ModelLoader.method_4733(ModelLoader:249)
at net.minecraft.class_1088$$Lambda$9160/437027051.accept(Unknown Source)
at it.unimi.dsi.fastutil.objects.Object2ObjectOpenHashMap$KeySet.forEach(Object2ObjectOpenHashMap.java:744)
at net.minecraft.client.render.model.ModelLoader.upload(ModelLoader:246)
at net.minecraft.client.render.model.BakedModelManager.apply(BakedModelManager:67)
at net.minecraft.client.render.model.BakedModelManager.apply(BakedModelManager:19)
at net.minecraft.resource.SinglePreparationResourceReloadListener.method_18790(SinglePreparationResourceReloadListener:13)
at net.minecraft.class_4080$$Lambda$8805/497604262.accept(Unknown Source)
at java.util.concurrent.CompletableFuture.uniAccept(CompletableFuture.java:656)
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:632)
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442)
at net.minecraft.resource.ResourceReloader.method_18365(ResourceReloader:71)
at net.minecraft.class_4014$$Lambda$9132/825867891.run(Unknown Source)
at net.minecraft.util.thread.ThreadExecutor.execute(ThreadExecutor:94)
at net.minecraft.resource.ResourceReloader.method_18367(ResourceReloader:70)
at net.minecraft.class_4014$$Lambda$8799/593286508.execute(Unknown Source)
at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:529)
at java.util.concurrent.CompletableFuture.uniAccept(CompletableFuture.java:653)
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:632)
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:561)
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:635)
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442)
at net.minecraft.resource.ResourceReloader.method_18365(ResourceReloader:71)
at net.minecraft.class_4014$$Lambda$9132/825867891.run(Unknown Source)
at net.minecraft.util.thread.ThreadExecutor.execute(ThreadExecutor:94)
at net.minecraft.resource.ResourceReloader.method_18367(ResourceReloader:70)
at net.minecraft.class_4014$$Lambda$8799/593286508.execute(Unknown Source)
at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:529)
at java.util.concurrent.CompletableFuture.uniAccept(CompletableFuture.java:653)
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:632)
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:561)
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:635)
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442)
at net.minecraft.resource.ResourceReloader.method_18365(ResourceReloader:71)
at net.minecraft.class_4014$$Lambda$9132/825867891.run(Unknown Source)
at net.minecraft.util.thread.ThreadExecutor.execute(ThreadExecutor:94)
at net.minecraft.resource.ResourceReloader.method_18367(ResourceReloader:70)
at net.minecraft.class_4014$$Lambda$8799/593286508.execute(Unknown Source)
at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:529)
at java.util.concurrent.CompletableFuture.uniAccept(CompletableFuture.java:653)
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:632)
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:561)
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:635)
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442)
at net.minecraft.resource.ResourceReloader.method_18365(ResourceReloader:71)
at net.minecraft.class_4014$$Lambda$9132/825867891.run(Unknown Source)
at net.minecraft.util.thread.ThreadExecutor.execute(ThreadExecutor:94)
at net.minecraft.resource.ResourceReloader.method_18367(ResourceReloader:70)
at net.minecraft.class_4014$$Lambda$8799/593286508.execute(Unknown Source)
at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:529)
at java.util.concurrent.CompletableFuture.uniAccept(CompletableFuture.java:653)
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:632)
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:561)
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:635)
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442)
at net.minecraft.resource.ResourceReloader.method_18365(ResourceReloader:71)
at net.minecraft.class_4014$$Lambda$9132/825867891.run(Unknown Source)
at net.minecraft.util.thread.ThreadExecutor.execute(ThreadExecutor:94)
at net.minecraft.resource.ResourceReloader.method_18367(ResourceReloader:70)
at net.minecraft.class_4014$$Lambda$8799/593286508.execute(Unknown Source)
at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:529)
at java.util.concurrent.CompletableFuture.uniAccept(CompletableFuture.java:653)
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:632)
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:561)
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:635)
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442)
at net.minecraft.resource.ResourceReloader.method_18365(ResourceReloader:71)
at net.minecraft.class_4014$$Lambda$9132/825867891.run(Unknown Source)
at net.minecraft.util.thread.ThreadExecutor.execute(ThreadExecutor:94)
at net.minecraft.resource.ResourceReloader.method_18367(ResourceReloader:70)
at net.minecraft.class_4014$$Lambda$8799/593286508.execute(Unknown Source)
at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:529)
at java.util.concurrent.CompletableFuture.uniAccept(CompletableFuture.java:653)
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:632)
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:561)
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:635)
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442)
at net.minecraft.class_1060$$Lambda$9144/1636052765.execute(Unknown Source)
at com.mojang.blaze3d.systems.RenderSystem.replayQueue(RenderSystem:116)
at com.mojang.blaze3d.systems.RenderSystem.flipFrame(RenderSystem:103)
at net.minecraft.client.util.Window.swapBuffers(Window:308)
at net.minecraft.client.MinecraftClient.render(MinecraftClient:1068)
at net.minecraft.client.MinecraftClient.run(MinecraftClient:681)
at net.minecraft.client.main.Main.main(Main:215)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:226)
at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:139)
at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:27)

Unable to get this to work with Sodium + Indium

Not sure why, but I can't get this to work with Sodium, Indium, FabricAPI, and ModMenu.

I've downloaded the recommended texture pack, and it has been enabled. I'm running JDK 15 to prevent a crash with the latest build of Sodium from the github actions artifacts. Connected Textures aren't disabled in the CTM options.
As far as I can tell, this should work.

2021-02-23_19 17 45
2021-02-23_19 17 49
2021-02-23_19 17 52
2021-02-23_19 17 57

not working with the 1.17 fabulously optimized modpack

i use the 1.17 fabulously optimized modpack as it uses iris shaders which includes indium and other mods, and it doesn't work. I've already tried removing all the mods but it still doesn't work. If you need to know what mods are there or resource pack here are some images
Screenshot 2021-08-03 002830
Screenshot 2021-08-03 002909
Screenshot 2021-08-03 002719

Some Item in Give Me Hats Cause Game to Crash

 Good day, I'd like to report an issue with the Mod. So I decided to used the Mod alongside the Modpack called "All of Fabric 3" and every time certain items(ie: Space Helmet & Leprechaun Hat) in the Mod "Give me Hats" is dropped on the ground or if the player dies, the game would crash. Here are the different crash logs that I got when I was testing out the problem and recreating it.

First Encounter With the Problem
https://pastebin.com/KH9C1vzz
Disabled CTM but didn't Restart Minecraft
https://pastebin.com/Q7KhUxZt
Restarted the Game after I disabled CTM
https://pastebin.com/y5xVqcRA

 When I took CTM out of my mods folder, I was able to enter the world where the problem occurred.

Specs
CPU: AMD a10-9700 APU 4C + 6G
RAM: 8GB 2400mhz
GPU: Integrated Graphics (AMD Radeon R7 Graphics)
OS: Windows 10 Pro 64-Bit(10.0, Build 19042)
Version of All of Fabric 3: 2.6.10 (Modifications: I added Sodium and Indium because my potato, or as I would like to call it, My PC, can't handle the mod pack smoothly without those 2 additional mods)

PS: This is what the member of the AOF team said when I asked for help and reported the problem, I understand that this may very well be caused by user error 'cause I'm not smart. Thanks for the time reading and giving attention to this post. Have a good day.
image

Massive console spam

Using 0.4.0 on Fabric 0.11.3, MC 1.16.5, I get errors like this bloating my console -

[13:10:53] [main/ERROR]: Error loading metadata for sprite minecraft:missingno.
java.io.FileNotFoundException: minecraft:textures/missingno.png
	at Not Enough Crashes deobfuscated stack trace.(1.16.5+build.6) ~[?:?]
	at net.minecraft.resource.NamespaceResourceManager.getResource(NamespaceResourceManager:67) ~[?:?]
	at net.minecraft.resource.ReloadableResourceManagerImpl.getResource(ReloadableResourceManagerImpl:64) ~[?:?]
	at team.chisel.ctm.client.util.ResourceUtil.getResource(ResourceUtil.java:29) ~[ctm-fabric-0.4.0.jar:?]
	at team.chisel.ctm.client.util.ResourceUtil.getMetadata(ResourceUtil.java:51) ~[ctm-fabric-0.4.0.jar:?]
	at team.chisel.ctm.client.util.ResourceUtil.getMetadata(ResourceUtil.java:63) ~[ctm-fabric-0.4.0.jar:?]
	at team.chisel.ctm.client.util.ResourceUtil.getMetadataSafe(ResourceUtil.java:90) ~[ctm-fabric-0.4.0.jar:?]
	at team.chisel.ctm.client.util.TextureUtil.initializeTextures(TextureUtil.java:23) ~[ctm-fabric-0.4.0.jar:?]
	at team.chisel.ctm.client.model.CTMUnbakedModel.bake(CTMUnbakedModel.java:54) ~[ctm-fabric-0.4.0.jar:?]
	at net.minecraft.client.render.model.ModelLoader.bake(ModelLoader:486) ~[?:?]
	at net.minecraft.client.render.model.json.WeightedUnbakedModel.bake(WeightedUnbakedModel:77) ~[?:?]
	at net.minecraft.client.render.model.MultipartUnbakedModel.bake(MultipartUnbakedModel:90) ~[?:?]
	at team.chisel.ctm.client.model.CTMUnbakedModel.bake(CTMUnbakedModel.java:55) ~[ctm-fabric-0.4.0.jar:?]
	at net.minecraft.client.render.model.ModelLoader.bake(ModelLoader:486) ~[?:?]
	at net.minecraft.client.render.model.ModelLoader.method_4733(ModelLoader:249) ~[?:?]
	at java.util.HashMap$KeySet.forEach(Unknown Source) ~[?:1.8.0_271]
	at net.minecraft.client.render.model.ModelLoader.upload(ModelLoader:246) ~[?:?]
	at net.minecraft.client.render.model.BakedModelManager.apply(BakedModelManager:67) ~[?:?]
	at net.minecraft.client.render.model.BakedModelManager.apply(BakedModelManager:19) ~[?:?]
	at net.minecraft.resource.SinglePreparationResourceReloadListener.method_18790(SinglePreparationResourceReloadListener:13) ~[?:?]
	at java.util.concurrent.CompletableFuture.uniAccept(Unknown Source) ~[?:1.8.0_271]
	at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_271]
	at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_271]
	at net.minecraft.resource.ResourceReloader.method_18365(ResourceReloader:71) ~[?:?]
	at net.minecraft.util.thread.ThreadExecutor.execute(ThreadExecutor:94) ~[?:?]
	at net.minecraft.resource.ResourceReloader.method_18367(ResourceReloader:70) ~[?:?]
	at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_271]
	at java.util.concurrent.CompletableFuture.uniAccept(Unknown Source) ~[?:1.8.0_271]
	at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_271]
	at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_271]
	at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_271]
	at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_271]
	at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_271]
	at net.minecraft.resource.ResourceReloader.method_18365(ResourceReloader:71) ~[?:?]
	at net.minecraft.util.thread.ThreadExecutor.execute(ThreadExecutor:94) ~[?:?]
	at net.minecraft.resource.ResourceReloader.method_18367(ResourceReloader:70) ~[?:?]
	at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_271]
	at java.util.concurrent.CompletableFuture.uniAccept(Unknown Source) ~[?:1.8.0_271]
	at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_271]
	at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_271]
	at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_271]
	at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_271]
	at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_271]
	at net.minecraft.resource.ResourceReloader.method_18365(ResourceReloader:71) ~[?:?]
	at net.minecraft.util.thread.ThreadExecutor.execute(ThreadExecutor:94) ~[?:?]
	at net.minecraft.resource.ResourceReloader.method_18367(ResourceReloader:70) ~[?:?]
	at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_271]
	at java.util.concurrent.CompletableFuture.uniAccept(Unknown Source) ~[?:1.8.0_271]
	at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_271]
	at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_271]
	at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_271]
	at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_271]
	at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_271]
	at net.minecraft.resource.ResourceReloader.method_18365(ResourceReloader:71) ~[?:?]
	at net.minecraft.util.thread.ThreadExecutor.execute(ThreadExecutor:94) ~[?:?]
	at net.minecraft.resource.ResourceReloader.method_18367(ResourceReloader:70) ~[?:?]
	at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_271]
	at java.util.concurrent.CompletableFuture.uniAccept(Unknown Source) ~[?:1.8.0_271]
	at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_271]
	at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_271]
	at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_271]
	at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_271]
	at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_271]
	at net.minecraft.resource.ResourceReloader.method_18365(ResourceReloader:71) ~[?:?]
	at net.minecraft.util.thread.ThreadExecutor.execute(ThreadExecutor:94) ~[?:?]
	at net.minecraft.resource.ResourceReloader.method_18367(ResourceReloader:70) ~[?:?]
	at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_271]
	at java.util.concurrent.CompletableFuture.uniAccept(Unknown Source) ~[?:1.8.0_271]
	at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_271]
	at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_271]
	at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_271]
	at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_271]
	at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_271]
	at net.minecraft.resource.ResourceReloader.method_18365(ResourceReloader:71) ~[?:?]
	at net.minecraft.util.thread.ThreadExecutor.execute(ThreadExecutor:94) ~[?:?]
	at net.minecraft.resource.ResourceReloader.method_18367(ResourceReloader:70) ~[?:?]
	at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_271]
	at java.util.concurrent.CompletableFuture.uniAccept(Unknown Source) ~[?:1.8.0_271]
	at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_271]
	at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_271]
	at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_271]
	at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_271]
	at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_271]
	at com.mojang.blaze3d.systems.RenderSystem.replayQueue(RenderSystem:116) ~[1.16.5.jar:?]
	at com.mojang.blaze3d.systems.RenderSystem.flipFrame(RenderSystem:103) ~[1.16.5.jar:?]
	at net.minecraft.client.util.Window.swapBuffers(Window:308) ~[?:?]
	at net.minecraft.client.MinecraftClient.render(MinecraftClient:1068) ~[?:?]
	at net.minecraft.client.MinecraftClient.run(MinecraftClient:681) ~[?:?]
	at net.minecraft.client.main.Main.main(Main:215) ~[1.16.5.jar:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_271]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_271]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_271]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_271]
	at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:226) ~[fabric-loader-0.11.3.jar:?]
	at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:146) ~[fabric-loader-0.11.3.jar:?]
	at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28) ~[fabric-loader-0.11.3.jar:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_271]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_271]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_271]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_271]
	at link.infra.jumploader.Jumploader.onLoad(Jumploader.java:171) ~[?:?]
	at cpw.mods.modlauncher.TransformationServiceDecorator.onLoad(TransformationServiceDecorator.java:53) ~[?:?]
	at cpw.mods.modlauncher.TransformationServicesHandler.lambda$loadTransformationServices$11(TransformationServicesHandler.java:131) ~[?:?]
	at java.util.HashMap$Values.forEach(Unknown Source) [?:1.8.0_271]
	at cpw.mods.modlauncher.TransformationServicesHandler.loadTransformationServices(TransformationServicesHandler.java:131) [modlauncher-8.0.9.jar:?]
	at cpw.mods.modlauncher.TransformationServicesHandler.initializeTransformationServices(TransformationServicesHandler.java:56) [modlauncher-8.0.9.jar:?]
	at cpw.mods.modlauncher.Launcher.run(Launcher.java:76) [modlauncher-8.0.9.jar:?]
	at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.0.9.jar:?]

They all seem to mention the same missingno.png

`Edges` type connector does not return correct submap

The TextureEdges.getSubmapId method seems to return the incorrect index for some cases. I've added the .mcmeta and .png files, and the current result and my fix. The issue seems to stem from incorrect ordering of conditions.

Given a ctm json of:
{ "ctm": { "ctm_version": 1, "type": "edges", "textures": [ "block/coarse_dirt_ctm", "block/coarse_dirt_ctm" ], "extra": { "connect_to": [ { "block": "grass_block" } ] } } }

Given a ctm png of (ignore the horrid png, I just threw it together to see the result):
coarse_dirt_ctm

It produces an incorrect result of:
2021-08-09_17 48 37

Of which the correct should be:
2021-08-09_17 47 42

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.