Skip to content

fix: 修复禁用方块世界生成替换 - #72

Merged
JIAFALSEDREAM merged 2 commits into
1.21.1from
fix-disabled-block-worldgen
Jun 28, 2026
Merged

fix: 修复禁用方块世界生成替换#72
JIAFALSEDREAM merged 2 commits into
1.21.1from
fix-disabled-block-worldgen

Conversation

@JIAFALSEDREAM

Copy link
Copy Markdown

Summary

  • 拦截 ProtoChunk、LevelChunk 和 ImposterProtoChunk 的 setBlockState,覆盖基岩等 chunk 生成写入路径
  • 调整 replaceGeneratedWith 语义:单独调用时保留默认禁用策略,和显式策略组合时始终保留替换策略
  • 更新 Disabled Content KubeJS API 文档

Test

  • rtk .\gradlew.bat compileJava --offline --no-daemon --no-configuration-cache --stacktrace

@JIAFALSEDREAM
JIAFALSEDREAM force-pushed the fix-disabled-block-worldgen branch from 0ac8df2 to 7eb686e Compare June 28, 2026 06:51
@JIAFALSEDREAM
JIAFALSEDREAM changed the base branch from feat/migrate-core-registries to 1.21.1 June 28, 2026 06:51
@JIAFALSEDREAM
JIAFALSEDREAM merged commit 608d9e6 into 1.21.1 Jun 28, 2026
1 check passed
@JIAFALSEDREAM
JIAFALSEDREAM deleted the fix-disabled-block-worldgen branch June 28, 2026 06:52
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

Successfully merging this pull request may close these issues.

1 participant