diff --git a/common/src/lib/java/dev/engine_room/flywheel/lib/model/part/VertexWriter.java b/common/src/lib/java/dev/engine_room/flywheel/lib/model/part/VertexWriter.java index 9921428ed..00d808ee3 100644 --- a/common/src/lib/java/dev/engine_room/flywheel/lib/model/part/VertexWriter.java +++ b/common/src/lib/java/dev/engine_room/flywheel/lib/model/part/VertexWriter.java @@ -84,7 +84,7 @@ class VertexWriter implements VertexConsumer { } private long vertexPtr() { - return data.ptr() + vertexCount * STRIDE; + return data.ptr() + (vertexCount - 1) * STRIDE; } private void endLastVertex() { diff --git a/forge/src/main/resources/META-INF/neoforge.mods.toml b/forge/src/main/resources/META-INF/neoforge.mods.toml index f5d547387..d03c57ab8 100644 --- a/forge/src/main/resources/META-INF/neoforge.mods.toml +++ b/forge/src/main/resources/META-INF/neoforge.mods.toml @@ -1,5 +1,5 @@ modLoader = "javafml" -# The loader version doesn't matter. Modify the Forge and/or Minecraft version ranges instead. +# The loader version doesn't matter. Modify the NeoForge and/or Minecraft version ranges instead. loaderVersion = "[0,)" license = "${mod_license}" issueTrackerURL = "${mod_issues}" diff --git a/forge/src/main/resources/pack.mcmeta b/forge/src/main/resources/pack.mcmeta index ae03c9b7f..77bed856b 100644 --- a/forge/src/main/resources/pack.mcmeta +++ b/forge/src/main/resources/pack.mcmeta @@ -1,6 +1,6 @@ { "pack": { "description": "${mod_name} resources", - "pack_format": 15 + "pack_format": 34 } }