Decoration skill

From Justcnds/mc-ai-builder · View interactive version

Decoration skill is an AI agent skill from the GitHub repository Justcnds/mc-ai-builder. 添加装饰元素。包括植被、家具、灯光、做旧效果。

How to use this skill

Skill file

🎨 Decoration Skill

为建筑添加高质量内饰、外饰、植被与氛围灯光。

使用时机

装饰类型

植被与自然散布

// 地面花草散布 (density: 0.1~0.3)
builder.scatter(-15, 1, -15, 15, 15, 0.2, ['poppy', 'dandelion']);

// 悬挂藤蔓与垂泪藤
builder.drawHangingRing(0, 10, 0, 8, { length: 5, type: 'vine' });

家具与内饰 (必须使用 Minecraft 1.21 合法方块 ID)

| 房间 | 推荐搭配方块 |

|------|-------------|

| 卧室 | red_bed / white_bed, chest, lantern, white_carpet |

| 厨房 | smoker, cauldron, barrel, furnace |

| 客厅 | oak_stairs?facing=north (作为沙发/椅子), crafting_table, flower_pot, bookshelf |

| 书房 | bookshelf, lectern, lantern, oak_stairs?facing=east |

灯光配置

做旧与自然侵蚀 (Weathering)

// 墙面局部藤蔓点缀
builder.scatter(-10, 2, -10, 10, 8, 0.15, ['vine']);

优先级规范

装饰必须放置在独立的低优先级分组中,严禁覆盖墙体和结构梁柱:

builder.beginGroup('decoration', { priority: 20 });
// ... 放置内饰家具与花草 ...
builder.endGroup();
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.