diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..603b494 --- /dev/null +++ b/.gitignore @@ -0,0 +1,28 @@ +# ── 运行期产物(绝不该进版本库)──────────────────────────── +# ★ 这两类都曾被误提交过(35534b1 把 logs/ 与 __pycache__/ 一起带进去, +# 共 28 个文件)—— 根因是没有 .gitignore。 +logs/ +*.log +*.log.gz + +__pycache__/ +*.py[cod] +.pytest_cache/ +.mypy_cache/ +.ruff_cache/ + +# ── 加载器/mod 的运行时配置(属于**实例**,不属于仓库)──────── +# ★ Sodium 等会往**进程 cwd** 写 config/;正确落点应是实例目录 +# (base.py 已修:cwd=self.cwd or self.game_dir)。这里再兜一层。 +config/ +shaderpacks/ +options.txt +saves/ +datapacks/ +resourcepacks/ + +# ── 构建/工具缓存 ───────────────────────────────────────── +.mcfold-tools/ +build/ +dist/ +*.egg-info/ diff --git a/logs/2026-09-25-1.log.gz b/logs/2026-09-25-1.log.gz deleted file mode 100644 index 048ec35..0000000 Binary files a/logs/2026-09-25-1.log.gz and /dev/null differ diff --git a/logs/2026-09-25-2.log.gz b/logs/2026-09-25-2.log.gz deleted file mode 100644 index 90305b7..0000000 Binary files a/logs/2026-09-25-2.log.gz and /dev/null differ diff --git a/logs/2026-09-25-3.log.gz b/logs/2026-09-25-3.log.gz deleted file mode 100644 index cb7d06a..0000000 Binary files a/logs/2026-09-25-3.log.gz and /dev/null differ diff --git a/logs/2026-09-25-4.log.gz b/logs/2026-09-25-4.log.gz deleted file mode 100644 index 9b2b65b..0000000 Binary files a/logs/2026-09-25-4.log.gz and /dev/null differ diff --git a/logs/2026-09-25-5.log.gz b/logs/2026-09-25-5.log.gz deleted file mode 100644 index d8ad16b..0000000 Binary files a/logs/2026-09-25-5.log.gz and /dev/null differ diff --git a/logs/2026-09-25-6.log.gz b/logs/2026-09-25-6.log.gz deleted file mode 100644 index ca7c9e1..0000000 Binary files a/logs/2026-09-25-6.log.gz and /dev/null differ diff --git a/logs/2026-09-26-1.log.gz b/logs/2026-09-26-1.log.gz deleted file mode 100644 index 28d6b5b..0000000 Binary files a/logs/2026-09-26-1.log.gz and /dev/null differ diff --git a/logs/2026-09-26-2.log.gz b/logs/2026-09-26-2.log.gz deleted file mode 100644 index 679a779..0000000 Binary files a/logs/2026-09-26-2.log.gz and /dev/null differ diff --git a/logs/2026-09-26-3.log.gz b/logs/2026-09-26-3.log.gz deleted file mode 100644 index 8f0e183..0000000 Binary files a/logs/2026-09-26-3.log.gz and /dev/null differ diff --git a/logs/2026-09-26-4.log.gz b/logs/2026-09-26-4.log.gz deleted file mode 100644 index 8a19aee..0000000 Binary files a/logs/2026-09-26-4.log.gz and /dev/null differ diff --git a/logs/latest.log b/logs/latest.log deleted file mode 100644 index f9ac011..0000000 --- a/logs/latest.log +++ /dev/null @@ -1,62 +0,0 @@ -[00:23:03] [Datafixer Bootstrap/INFO]: 188 Datafixer optimizations took 79 milliseconds -[00:23:04] [main/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD' -[00:23:05] [main/ERROR]: Failed to verify authentication -com.mojang.authlib.exceptions.InvalidCredentialsException: Status: 401 - at com.mojang.authlib.exceptions.MinecraftClientHttpException.toAuthenticationException(MinecraftClientHttpException.java:56) ~[authlib-4.0.43.jar:?] - at com.mojang.authlib.yggdrasil.YggdrasilUserApiService.fetchProperties(YggdrasilUserApiService.java:156) ~[authlib-4.0.43.jar:?] - at com.mojang.authlib.yggdrasil.YggdrasilUserApiService.(YggdrasilUserApiService.java:55) ~[authlib-4.0.43.jar:?] - at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.createUserApiService(YggdrasilAuthenticationService.java:124) ~[authlib-4.0.43.jar:?] - at net.minecraft.client.Minecraft.createUserApiService(SourceFile:733) ~[client-named.jar:?] - at net.minecraft.client.Minecraft.(SourceFile:442) ~[client-named.jar:?] - at McfoldRenderServer.boot(McfoldRenderServer.java:788) ~[classes/:?] - at McfoldRenderServer.main(McfoldRenderServer.java:113) ~[classes/:?] -Caused by: com.mojang.authlib.exceptions.MinecraftClientHttpException: Status: 401 - at com.mojang.authlib.minecraft.client.MinecraftClient.readInputStream(MinecraftClient.java:85) ~[authlib-4.0.43.jar:?] - at com.mojang.authlib.minecraft.client.MinecraftClient.get(MinecraftClient.java:48) ~[authlib-4.0.43.jar:?] - at com.mojang.authlib.yggdrasil.YggdrasilUserApiService.fetchProperties(YggdrasilUserApiService.java:129) ~[authlib-4.0.43.jar:?] - ... 6 more -[00:23:05] [main/INFO]: Setting user: mcfold_cam -[00:23:05] [main/INFO]: Backend library: LWJGL version 3.3.1 build 7 -[00:23:05] [main/INFO]: [STDERR]: [LWJGL] [ThreadLocalUtil] Unsupported JNI version detected, this may result in a crash. Please inform LWJGL developers. -[00:23:05] [main/WARN]: Attempted to end step for load_time_pre_window_ms before starting it -[00:23:06] [main/INFO]: Reloading ResourceManager: vanilla -[00:23:06] [Worker-Main-3/INFO]: Found unifont_all_no_pua-15.0.06.hex, loading -[00:23:06] [main/INFO]: [STDERR]: [mcfold] Minecraft constructed -[00:24:06] [main/INFO]: [STDERR]: [mcfold] TIMEOUT TextureManager -[00:24:06] [main/WARN]: Missing sound for event: minecraft:item.goat_horn.play -[00:24:06] [main/WARN]: Missing sound for event: minecraft:entity.goat.screaming.horn_break -[00:24:06] [main/ERROR]: Error starting SoundSystem. Turning off sounds & music -java.lang.IllegalStateException: Failed to open OpenAL device - at com.mojang.blaze3d.audio.Library.openDeviceOrFallback(SourceFile:283) ~[client-named.jar:?] - at com.mojang.blaze3d.audio.Library.init(SourceFile:153) ~[client-named.jar:?] - at net.minecraft.client.sounds.SoundEngine.loadLibrary(SourceFile:116) ~[client-named.jar:?] - at net.minecraft.client.sounds.SoundEngine.reload(SourceFile:106) ~[client-named.jar:?] - at net.minecraft.client.sounds.SoundManager.apply(SourceFile:125) ~[client-named.jar:?] - at net.minecraft.client.sounds.SoundManager.apply(SourceFile:40) ~[client-named.jar:?] - at net.minecraft.server.packs.resources.SimplePreparableReloadListener.lambda$reload$1(SourceFile:13) ~[client-named.jar:?] - at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:718) ~[?:?] - at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?] - at java.util.concurrent.CompletableFuture.uniAcceptNow(CompletableFuture.java:754) ~[?:?] - at java.util.concurrent.CompletableFuture.uniAcceptStage(CompletableFuture.java:735) ~[?:?] - at java.util.concurrent.CompletableFuture.thenAcceptAsync(CompletableFuture.java:2223) ~[?:?] - at net.minecraft.server.packs.resources.SimplePreparableReloadListener.reload(SourceFile:13) ~[client-named.jar:?] - at McfoldRenderServer.reloadResources(McfoldRenderServer.java:1146) ~[classes/:?] - at McfoldRenderServer.boot(McfoldRenderServer.java:792) ~[classes/:?] - at McfoldRenderServer.main(McfoldRenderServer.java:113) ~[classes/:?] -[00:24:06] [main/INFO]: Found unifont_all_no_pua-15.0.06.hex, loading -[00:24:06] [main/INFO]: Created: 1024x512x4 minecraft:textures/atlas/blocks.png-atlas -[00:24:06] [main/INFO]: Created: 256x256x4 minecraft:textures/atlas/signs.png-atlas -[00:24:06] [main/INFO]: Created: 512x512x4 minecraft:textures/atlas/shield_patterns.png-atlas -[00:24:06] [main/INFO]: Created: 512x512x4 minecraft:textures/atlas/banner_patterns.png-atlas -[00:24:06] [main/INFO]: Created: 1024x1024x4 minecraft:textures/atlas/armor_trims.png-atlas -[00:24:06] [main/INFO]: Created: 128x64x4 minecraft:textures/atlas/decorated_pot.png-atlas -[00:24:06] [main/INFO]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas -[00:24:06] [main/INFO]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas -[00:24:06] [main/INFO]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas -[00:24:07] [main/WARN]: Shader rendertype_entity_translucent_emissive could not find sampler named Sampler2 in the specified shader program. -[00:24:07] [main/INFO]: Created: 256x256x0 minecraft:textures/atlas/particles.png-atlas -[00:24:07] [main/INFO]: Created: 256x256x0 minecraft:textures/atlas/paintings.png-atlas -[00:24:07] [main/INFO]: Created: 128x128x0 minecraft:textures/atlas/mob_effects.png-atlas -[00:24:07] [main/INFO]: [STDERR]: [mcfold] resources reloaded -[00:24:07] [main/WARN]: Shader rendertype_entity_translucent_emissive could not find sampler named Sampler2 in the specified shader program. -[00:24:07] [main/INFO]: [STDERR]: [mcfold] boot done diff --git a/mcfold/__pycache__/__init__.cpython-312.pyc b/mcfold/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index ce7512f..0000000 Binary files a/mcfold/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/mcfold/__pycache__/anvil.cpython-312.pyc b/mcfold/__pycache__/anvil.cpython-312.pyc deleted file mode 100644 index dc2df99..0000000 Binary files a/mcfold/__pycache__/anvil.cpython-312.pyc and /dev/null differ diff --git a/mcfold/__pycache__/chunk.cpython-312.pyc b/mcfold/__pycache__/chunk.cpython-312.pyc deleted file mode 100644 index b780982..0000000 Binary files a/mcfold/__pycache__/chunk.cpython-312.pyc and /dev/null differ diff --git a/mcfold/__pycache__/client.cpython-312.pyc b/mcfold/__pycache__/client.cpython-312.pyc deleted file mode 100644 index 210c4b1..0000000 Binary files a/mcfold/__pycache__/client.cpython-312.pyc and /dev/null differ diff --git a/mcfold/__pycache__/instance.cpython-312.pyc b/mcfold/__pycache__/instance.cpython-312.pyc deleted file mode 100644 index b7dc482..0000000 Binary files a/mcfold/__pycache__/instance.cpython-312.pyc and /dev/null differ diff --git a/mcfold/__pycache__/modjar.cpython-312.pyc b/mcfold/__pycache__/modjar.cpython-312.pyc deleted file mode 100644 index f8ee30d..0000000 Binary files a/mcfold/__pycache__/modjar.cpython-312.pyc and /dev/null differ diff --git a/mcfold/__pycache__/protodef.cpython-312.pyc b/mcfold/__pycache__/protodef.cpython-312.pyc deleted file mode 100644 index 3aa34c3..0000000 Binary files a/mcfold/__pycache__/protodef.cpython-312.pyc and /dev/null differ diff --git a/mcfold/__pycache__/provision.cpython-312.pyc b/mcfold/__pycache__/provision.cpython-312.pyc deleted file mode 100644 index 418fc6a..0000000 Binary files a/mcfold/__pycache__/provision.cpython-312.pyc and /dev/null differ diff --git a/mcfold/__pycache__/render.cpython-312.pyc b/mcfold/__pycache__/render.cpython-312.pyc deleted file mode 100644 index 263f3a6..0000000 Binary files a/mcfold/__pycache__/render.cpython-312.pyc and /dev/null differ diff --git a/mcfold/__pycache__/render_bridge.cpython-312.pyc b/mcfold/__pycache__/render_bridge.cpython-312.pyc deleted file mode 100644 index e548ea1..0000000 Binary files a/mcfold/__pycache__/render_bridge.cpython-312.pyc and /dev/null differ diff --git a/mcfold/__pycache__/version.cpython-312.pyc b/mcfold/__pycache__/version.cpython-312.pyc deleted file mode 100644 index 76a6478..0000000 Binary files a/mcfold/__pycache__/version.cpython-312.pyc and /dev/null differ diff --git a/mcfold/__pycache__/world.cpython-312.pyc b/mcfold/__pycache__/world.cpython-312.pyc deleted file mode 100644 index 370920b..0000000 Binary files a/mcfold/__pycache__/world.cpython-312.pyc and /dev/null differ diff --git a/mcfold/backends/__pycache__/__init__.cpython-312.pyc b/mcfold/backends/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index 99af561..0000000 Binary files a/mcfold/backends/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/mcfold/backends/__pycache__/base.cpython-312.pyc b/mcfold/backends/__pycache__/base.cpython-312.pyc deleted file mode 100644 index 5bb6b30..0000000 Binary files a/mcfold/backends/__pycache__/base.cpython-312.pyc and /dev/null differ diff --git a/mcfold/backends/__pycache__/gen_1_20.cpython-312.pyc b/mcfold/backends/__pycache__/gen_1_20.cpython-312.pyc deleted file mode 100644 index 45c7d92..0000000 Binary files a/mcfold/backends/__pycache__/gen_1_20.cpython-312.pyc and /dev/null differ diff --git a/mcfold/backends/__pycache__/gen_1_21.cpython-312.pyc b/mcfold/backends/__pycache__/gen_1_21.cpython-312.pyc deleted file mode 100644 index 2d368cd..0000000 Binary files a/mcfold/backends/__pycache__/gen_1_21.cpython-312.pyc and /dev/null differ diff --git a/mcfold/backends/__pycache__/gen_a_1_20.cpython-312.pyc b/mcfold/backends/__pycache__/gen_a_1_20.cpython-312.pyc deleted file mode 100644 index 73c36c2..0000000 Binary files a/mcfold/backends/__pycache__/gen_a_1_20.cpython-312.pyc and /dev/null differ