# Decoration Skill

> 添加装饰元素。包括植被、家具、灯光、做旧效果。

- Skill: `justcnds/decoration-skill` (Agent Skill, multi-file: 10 files)
- Install (CLI): `npx skillmds@latest add justcnds/decoration-skill`
- Raw SKILL.md: https://api.skillmd.com/api/skills/justcnds/decoration-skill/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: justcnds (https://skillmd.com/u/justcnds)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/justcnds/decoration-skill

---


# 🎨 Decoration Skill

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

## 使用时机

- 主体结构完成后
- 用户要求添加细节或内饰时
- 质检报告缺少内饰/外饰时

## 装饰类型

### 植被与自然散布
```javascript
// 地面花草散布 (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` |

### 灯光配置
- `lantern` - 中世纪 / 乡村温润暖光
- `soul_lantern` - 哥特 / 阴森青冷幽光
- `campfire` - 壁炉 / 烟囱冒烟效果
- `sea_lantern` / `shroomlight` - 现代 / 奇幻隐秘光源

### 做旧与自然侵蚀 (Weathering)
```javascript
// 墙面局部藤蔓点缀
builder.scatter(-10, 2, -10, 10, 8, 0.15, ['vine']);
```

## 优先级规范

装饰必须放置在独立的低优先级分组中，严禁覆盖墙体和结构梁柱：
```javascript
builder.beginGroup('decoration', { priority: 20 });
// ... 放置内饰家具与花草 ...
builder.endGroup();
```

