Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some recipes (including vanilla) don't display properly (version 0.1.14+1.21.4) #25

Open
DentedLeft opened this issue Jan 18, 2025 · 0 comments

Comments

@DentedLeft
Copy link

DentedLeft commented Jan 18, 2025

Issue:
Some recipes do not display properly, showing up simply as text on the page. There is also log spam, and occasionally the game crashes when attempting to view the page. This appears to happen on vanilla recipes as well as custom recipes.

How to reproduce:
Make a test page and attempt to display <recipe;minecraft:andesite_stairs> and/or <recipe;minecraft:clock>. Other recipes may have this issue, but these are examples.

Logs:
[19:42:33] [Render thread/ERROR] (Minecraft) Error executing task on Client java.lang.IndexOutOfBoundsException: Index -1 out of bounds for length 6 at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:100) ~[?:?] at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:106) ~[?:?] at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:302) ~[?:?] at java.base/java.util.Objects.checkIndex(Objects.java:385) ~[?:?] at java.base/java.util.ArrayList.get(ArrayList.java:427) ~[?:?] at knot/io.wispforest.lavender.md.features.RecipeFeature$RecipePreviewBuilder.lambda$populateIngredientsGrid$0(RecipeFeature.java:194) ~[lavender-0.1.14+1.21.4-64b5720b4b825f21.jar:?] at knot/net.minecraft.recipe.RecipeGridAligner.alignRecipeToGrid(RecipeGridAligner.java:42) ~[minecraft-merged-abba00472f-1.21.4-net.fabricmc.yarn.1_21_4.1.21.4+build.7-v2.jar:?] at knot/net.minecraft.recipe.RecipeGridAligner.alignRecipeToGrid(RecipeGridAligner.java:9) ~[minecraft-merged-abba00472f-1.21.4-net.fabricmc.yarn.1_21_4.1.21.4+build.7-v2.jar:?] at knot/io.wispforest.lavender.md.features.RecipeFeature$RecipePreviewBuilder.populateIngredientsGrid(RecipeFeature.java:192) ~[lavender-0.1.14+1.21.4-64b5720b4b825f21.jar:?] at knot/io.wispforest.lavender.md.features.RecipeFeature$1.buildRecipePreview(RecipeFeature.java:42) ~[lavender-0.1.14+1.21.4-64b5720b4b825f21.jar:?] at knot/io.wispforest.lavender.md.features.RecipeFeature$RecipeNode.visitStart(RecipeFeature.java:163) ~[lavender-0.1.14+1.21.4-64b5720b4b825f21.jar:?] at knot/io.wispforest.lavendermd.Parser$Node.visit(Parser.java:123) ~[lavender-md-0.1.2+1.21.2-5d3f74377e3c066a.jar:?] at knot/io.wispforest.lavendermd.Parser$Node.visit(Parser.java:125) ~[lavender-md-0.1.2+1.21.2-5d3f74377e3c066a.jar:?] at knot/io.wispforest.lavendermd.MarkdownProcessor.process(MarkdownProcessor.java:75) ~[lavender-md-0.1.2+1.21.2-5d3f74377e3c066a.jar:?] at knot/io.wispforest.lavender.client.LavenderBookScreen$PageSupplier.parseMarkdown(LavenderBookScreen.java:575) ~[lavender-0.1.14+1.21.4-64b5720b4b825f21.jar:?] at knot/io.wispforest.lavender.client.LavenderBookScreen$EntryPageSupplier.<init>(LavenderBookScreen.java:1022) ~[lavender-0.1.14+1.21.4-64b5720b4b825f21.jar:?] at knot/io.wispforest.lavender.client.LavenderBookScreen$EntryPageSupplier.lambda$replicator$0(LavenderBookScreen.java:1050) ~[lavender-0.1.14+1.21.4-64b5720b4b825f21.jar:?] at knot/io.wispforest.lavender.client.LavenderBookScreen.rebuildContent(LavenderBookScreen.java:216) ~[lavender-0.1.14+1.21.4-64b5720b4b825f21.jar:?] at knot/io.wispforest.lavender.LavenderClientRecipeCache.handleRecipePayload(LavenderClientRecipeCache.java:72) ~[lavender-0.1.14+1.21.4-64b5720b4b825f21.jar:?] at knot/io.wispforest.lavender.LavenderClientRecipeCache.lambda$initializeClient$2(LavenderClientRecipeCache.java:63) ~[lavender-0.1.14+1.21.4-64b5720b4b825f21.jar:?] at knot/io.wispforest.owo.network.OwoNetChannel.lambda$new$10(OwoNetChannel.java:164) ~[owo-0.12.20+1.21.4-64b5720b4b825f21.jar:?] at knot/net.fabricmc.fabric.impl.networking.client.ClientPlayNetworkAddon.lambda$receive$0(ClientPlayNetworkAddon.java:73) ~[fabric-networking-api-v1-4.3.9+f371ccb904.jar:?] at knot/net.minecraft.util.thread.ThreadExecutor.executeTask(ThreadExecutor.java:144) [minecraft-merged-abba00472f-1.21.4-net.fabricmc.yarn.1_21_4.1.21.4+build.7-v2.jar:?] at knot/net.minecraft.util.thread.ReentrantThreadExecutor.executeTask(ReentrantThreadExecutor.java:24) [minecraft-merged-abba00472f-1.21.4-net.fabricmc.yarn.1_21_4.1.21.4+build.7-v2.jar:?] at knot/net.minecraft.util.thread.ThreadExecutor.runTask(ThreadExecutor.java:118) [minecraft-merged-abba00472f-1.21.4-net.fabricmc.yarn.1_21_4.1.21.4+build.7-v2.jar:?] at knot/net.minecraft.util.thread.ThreadExecutor.runTasks(ThreadExecutor.java:107) [minecraft-merged-abba00472f-1.21.4-net.fabricmc.yarn.1_21_4.1.21.4+build.7-v2.jar:?] at knot/net.minecraft.client.MinecraftClient.render(MinecraftClient.java:1295) [minecraft-merged-abba00472f-1.21.4-net.fabricmc.yarn.1_21_4.1.21.4+build.7-v2.jar:?] at knot/net.minecraft.client.MinecraftClient.run(MinecraftClient.java:930) [minecraft-merged-abba00472f-1.21.4-net.fabricmc.yarn.1_21_4.1.21.4+build.7-v2.jar:?] at knot/net.minecraft.client.main.Main.main(Main.java:240) [minecraft-merged-abba00472f-1.21.4-net.fabricmc.yarn.1_21_4.1.21.4+build.7-v2.jar:?] at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480) [fabric-loader-0.16.9.jar:?] at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.16.9.jar:?] at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) [fabric-loader-0.16.9.jar:?] at net.fabricmc.devlaunchinjector.Main.main(Main.java:86) [dev-launch-injector-0.2.1+build.8.jar:?]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant