Skip to content

Commit

Permalink
fix: 世吞 update
Browse files Browse the repository at this point in the history
Signed-off-by: Liyan Zhao <return65535@qq.com>
  • Loading branch information
zly2006 committed May 15, 2024
1 parent 0b2bd92 commit 20193d1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -225,12 +225,14 @@ allprojects {
exclude(dependency("org.lwjgl:lwjgl-glfw"))
exclude(dependency("org.lwjgl:lwjgl-opengl"))

// glfw is embedded in minecraft
exclude("windows/x64/org/lwjgl/**")
exclude("windows/x86/org/lwjgl/**")
exclude("linux/x64/org/lwjgl/**")
exclude("linux/x86/org/lwjgl/**")
exclude("macos/x64/org/lwjgl/**")
exclude("macos/arm64/org/lwjgl/**")
exclude("org/lwjgl/**")
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ class YisibiteWorldEater : ImguiScreen() {
for (x in 0 until litematica.areaSizes[parts[1]]!!.x) {
for (y in 0 until litematica.areaSizes[parts[1]]!!.y) {
for (z in 0 until litematica.areaSizes[parts[1]]!!.z) {
val state = litematica.getSubRegionContainer(parts[0])!!.get(x, y, z)
val be = litematica.getBlockEntityMapForRegion(parts[0])!![BlockPos(x, y, z)]
val state = litematica.getSubRegionContainer(parts[1])!!.get(x, y, z)
val be = litematica.getBlockEntityMapForRegion(parts[1])!![BlockPos(x, y, z)]
val z = if (z < halfZ) z else z - litematica.areaSizes[parts[0]]!!.z + zSize.get().toInt()
repeat(stepTimes) {
val startX = litematica.areaSizes[parts[0]]!!.x + it * repeatStep
Expand Down
Binary file modified src/main/resources/无沟世吞-火弦月.litematic
Binary file not shown.

0 comments on commit 20193d1

Please sign in to comment.