9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-28 19:39:11 +00:00

feat(block): 添加镐方块和放置方块行为

This commit is contained in:
jhqwqmc
2025-06-22 19:58:03 +08:00
parent f3a8f245f9
commit 4073f40c08
8 changed files with 362 additions and 2 deletions

View File

@@ -267,6 +267,10 @@ warning.config.block.behavior.stairs.missing_facing: "<yellow>Issue found in fil
warning.config.block.behavior.stairs.missing_half: "<yellow>Issue found in file <arg:0> - The block '<arg:1>' is missing the required 'half' property for 'stairs_block' behavior.</yellow>"
warning.config.block.behavior.stairs.missing_shape: "<yellow>Issue found in file <arg:0> - The block '<arg:1>' is missing the required 'shape' property for 'stairs_block' behavior.</yellow>"
warning.config.block.behavior.pressure_plate.missing_powered: "<yellow>Issue found in file <arg:0> - The block '<arg:1>' is missing the required 'powered' property for 'pressure_plate_block' behavior.</yellow>"
warning.config.block.behavior.pickaxe.missing_facing: "<yellow>Issue found in file <arg:0> - The block '<arg:1>' is missing the required 'facing' property for 'pickaxe_block' behavior.</yellow>"
warning.config.block.behavior.pickaxe.missing_triggered: "<yellow>Issue found in file <arg:0> - The block '<arg:1>' is missing the required 'triggered' property for 'pickaxe_block' behavior.</yellow>"
warning.config.block.behavior.place_block.missing_facing: "<yellow>Issue found in file <arg:0> - The block '<arg:1>' is missing the required 'facing' property for 'place_block' behavior.</yellow>"
warning.config.block.behavior.place_block.missing_triggered: "<yellow>Issue found in file <arg:0> - The block '<arg:1>' is missing the required 'triggered' property for 'place_block' behavior.</yellow>"
warning.config.model.generation.missing_parent: "<yellow>Issue found in file <arg:0> - The config '<arg:1>' is missing the required 'parent' argument in 'generation' section.</yellow>"
warning.config.model.generation.invalid_display_position: "<yellow>Issue found in file <arg:0> - The config '<arg:1>' is using an invalid display position '<arg:2>' in 'generation.display' section. Allowed display positions: [<arg:3>]</yellow>"
warning.config.model.generation.invalid_gui_light: "<yellow>Issue found in file <arg:0> - The config '<arg:1>' is using an invalid gui-light option '<arg:2>' in 'generation' section. Allowed gui light options: [<arg:3>]</yellow>"

View File

@@ -267,6 +267,10 @@ warning.config.block.behavior.stairs.missing_facing: "<yellow>在文件 <arg:0>
warning.config.block.behavior.stairs.missing_half: "<yellow>在文件 <arg:0> 发现问题 - 方块 '<arg:1>' 的 'stairs_block' 行为缺少必需的 'half' 属性</yellow>"
warning.config.block.behavior.stairs.missing_shape: "<yellow>在文件 <arg:0> 发现问题 - 方块 '<arg:1>' 的 'stairs_block' 行为缺少必需的 'shape' 属性</yellow>"
warning.config.block.behavior.pressure_plate.missing_powered: "<yellow>在文件 <arg:0> 发现问题 - 方块 '<arg:1>' 的 'pressure_plate_block' 行为缺少必需的 'powered' 属性</yellow>"
warning.config.block.behavior.pickaxe.missing_facing: "<yellow>在文件 <arg:0> 发现问题 - 方块 '<arg:1>' 的 'pickaxe_block' 行为缺少必需的 'facing' 属性</yellow>"
warning.config.block.behavior.pickaxe.missing_triggered: "<yellow>在文件 <arg:0> 发现问题 - 方块 '<arg:1>' 的 'pickaxe_block' 行为缺少必需的 'triggered' 属性</yellow>"
warning.config.block.behavior.place_block.missing_facing: "<yellow>在文件 <arg:0> 发现问题 - 方块 '<arg:1>' 的 'place_block' 行为缺少必需的 'facing' 属性</yellow>"
warning.config.block.behavior.place_block.missing_triggered: "<yellow>在文件 <arg:0> 发现问题 - 方块 '<arg:1>' 的 'place_block' 行为缺少必需的 'triggered' 属性</yellow>"
warning.config.model.generation.missing_parent: "<yellow>在文件 <arg:0> 发现问题 - 配置项 '<arg:1>' 的 'generation' 段落缺少必需的 'parent' 参数</yellow>"
warning.config.model.generation.conflict: "<yellow>在文件 <arg:0> 发现问题 - 无法为 '<arg:1>' 生成模型 存在多个配置尝试使用相同路径 '<arg:2>' 生成不同的 JSON 模型</yellow>"
warning.config.model.generation.invalid_display_position: "<yellow>在文件 <arg:0> 发现问题 - 配置项 '<arg:1>' 在 'generation.display' 区域使用了无效的 display 位置类型 '<arg:2>'. 可用展示类型: [<arg:3>]</yellow>"