-
Notifications
You must be signed in to change notification settings - Fork 0
Debug command
wiki 版本:
0.0.1.1
/customgun debug [enable]
开启或关闭调试模式
-
enable(bool):调试模式开关
/customgun debug testIO [lenient]
测试JSON输入/输出序列化
-
lenient(bool):是否宽松模式
/customgun debug testGunData [rl]
测试读取指定枪械数据并输出到文件
-
rl(字符串):枪械数据的ResourceLocation
/customgun debug testAllData [indent] [path]
将所有已加载的数据包导出到指定路径
-
indent(整数):JSON缩进空格数 -
path(字符串):导出目录路径
/customgun debug mixinTest [target]
验证Mixin是否正确应用
-
target(字面量):测试目标,可选值为ILivingShooter、GunProjectile、IEntityHitboxHistory
/customgun debug testGetSound [rl]
测试指定声音文件是否可被资源管理器加载
-
rl(字符串):声音文件的ResourceLocation
wiki verison:
0.0.1.1
/customgun debug [enable]
Enable or disable debug mode
-
enable(bool): Debug mode toggle
/customgun debug testIO [lenient]
Test JSON input/output serialization
-
lenient(bool): Lenient mode
/customgun debug testGunData [rl]
Read specified gun data and output to file
-
rl(string): ResourceLocation of the gun data
/customgun debug testAllData [indent] [path]
Export all loaded data packs to the specified path
-
indent(integer): Number of JSON indent spaces -
path(string): Export directory path
/customgun debug mixinTest [target]
Verify that Mixin is correctly applied
-
target(literal): Test target, options areILivingShooter,GunProjectile,IEntityHitboxHistory
/customgun debug testGetSound [rl]
Test whether the specified sound file can be loaded by the resource manager
-
rl(string): ResourceLocation of the sound file
🌐 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