Skip to content

fix: Use GatherDataEvent.Client for language generation (26.1.2)#2

Open
xingluo01 wants to merge 1 commit into
gate-guardian:26.1.2from
xingluo01:26.1.2
Open

fix: Use GatherDataEvent.Client for language generation (26.1.2)#2
xingluo01 wants to merge 1 commit into
gate-guardian:26.1.2from
xingluo01:26.1.2

Conversation

@xingluo01

Copy link
Copy Markdown
Collaborator

变更内容

修复 26.1.2 分支的 DataGenerator 数据生成触发条件:

  • includeDev() → 监听 GatherDataEvent.Client 子事件
  • 这是 NeoForge 26.1.2 的正确做法,includeClient() 已从 GatherDataEvent 中移除
  • 语言文件生成在客户端数据生成时自动触发,无需额外的 flag 检查

- Replace includeDev() with GatherDataEvent.Client event
- This is the correct NeoForge 26.1.2 pattern for client-side data generation
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