game-client-add-setting
Adds a new setting to the game client. Use this when explicitly asked to add a new setting.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Adds a new setting to the game client. Use this when explicitly asked to add a new setting.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Advanced block functionality, event handlers (dig, tap, step-on, interact), extended data (simple_data, inventories, custom protobuf data), client extended data, and block mutation APIs. Use alongside define_new_block. Does not cover timers or circuits.
Defines a new block using BlockBuilder. Use this when asked to add a new block type to the game. Also provides guidance on textures.
Testing strategies and infrastructure for game block behavior in perovskite_game_api. Use when asked to write tests for block placement, dig handlers, timers, inventories, or other game mechanics.
Testing strategies and infrastructure for game entity behavior in perovskite_game_api. Use when asked to write tests for entities, including animals, minecarts, etc.
Ask the user to demonstrate in-game actions via the dev server when you need sample gameplay input, in-game builds, or other game input you cannot determine from code or prose text alone.
How to structure a new mod or subsystem in perovskite_game_api — registration pattern, GameBuilder/GameState extensions, BlockBuilder extension traits, and cross-mod ecosystem hooks.
| name | game_client_add_setting |
| description | Adds a new setting to the game client. Use this when explicitly asked to add a new setting. |
To add a setting to the game client:
draw_... and add an egui control, consistent with existing controls in the file.In most cases, unless special migration code is required to infer a new setting from old settings, it's enough to add the setting to the default implementation; the settings file parser will handle the rest.