-
Notifications
You must be signed in to change notification settings - Fork 0
Reload command
XiaoColorful edited this page Jul 17, 2026
·
2 revisions
wiki 版本:
0.0.1.1
/customgun reload
重新加载全部枪包数据
- 在单人游戏中,该指令通过服务端线程触发,会同步等待客户端资源包重载完成后再执行服务端数据包重载,保证时序正确
/customgun reload_client
重新加载客户端资产包
- 该指令直接在渲染线程触发资源包重载(异步,不阻塞),避免渲染线程死锁
- 本质上和原版
F3+T行为一致,但更方便
wiki verison:
0.0.1.1
/customgun reload
Reload all gun pack data.
- In singleplayer, this command is triggered via the server thread. It synchronously waits for the client resource pack reload to complete before executing the server datapack reload, ensuring correct ordering.
/customgun reload_client
Reload client asset packs.
- This command triggers resource pack reload directly on the render thread (async, non-blocking), avoiding a render-thread deadlock.
- Functionally equivalent to vanilla
F3+Tbut more convenient.
🌐 Language / 语言
-
- 配置文件
- 指令
-
资源文件说明
- data
- assets
-
- Configuration
- Common configuration
- Client configuration
- Server configuration
- Command
-
Resource introduction
- data
- cgc_data
- attachments
- blocks
- guns
- cgc_index
- ammo
- attachments
- blocks
- guns
- cgc_meta
- cgc_recipe_filters
- cgc_scripts
- cgc_tags
- recipes
- cgc_data
- assets
- cgc_animations
- cgc_display
- ammo
- attachments
- blocks
- guns
- cgc_info
- cgc_models
- cgc_scripts
- cgc_sounds
- lang
- player_animator
- textures
- data
- Configuration