blockbench-texturing
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseBlockbench Texturing
Blockbench 纹理制作
Create and paint textures for 3D models using Blockbench MCP tools.
使用Blockbench MCP工具为3D模型创建和绘制纹理。
Available Tools
可用工具
Texture Management
纹理管理
| Tool | Purpose |
|---|---|
| Create new texture with size and fill color |
| List all project textures |
| Get texture image data |
| Apply texture to element |
| 工具 | 用途 |
|---|---|
| 创建指定尺寸和填充颜色的新纹理 |
| 列出项目中所有纹理 |
| 获取纹理图像数据 |
| 将纹理应用到模型元素 |
Paint Tools
绘画工具
| Tool | Purpose |
|---|---|
| Paint with customizable brush |
| Bucket fill areas |
| Draw rectangles/ellipses |
| Apply gradients |
| Erase with brush settings |
| Pick colors from texture |
| Clone/copy texture areas |
| 工具 | 用途 |
|---|---|
| 使用可自定义的画笔进行绘画 |
| 桶填充指定区域 |
| 绘制矩形/椭圆 |
| 应用渐变效果 |
| 使用画笔设置进行擦除 |
| 从纹理中拾取颜色 |
| 克隆/复制纹理区域 |
Brush Management
画笔管理
| Tool | Purpose |
|---|---|
| Save brush settings |
| Load saved brush |
| Configure paint mode |
| 工具 | 用途 |
|---|---|
| 保存画笔设置 |
| 加载已保存的画笔预设 |
| 配置绘画模式 |
Layers & Selection
图层与选区
| Tool | Purpose |
|---|---|
| Manage texture layers |
| Create/modify selections |
| 工具 | 用途 |
|---|---|
| 管理纹理图层 |
| 创建/修改选区 |
UV Tools
UV工具
| Tool | Purpose |
|---|---|
| Set UV coordinates |
| Auto-generate UVs |
| Rotate UV mapping |
| 工具 | 用途 |
|---|---|
| 设置UV坐标 |
| 自动生成UV |
| 旋转UV映射 |
Resources
资源
| Resource | URI | Purpose |
|---|---|---|
| textures | | List/read texture info |
| 资源 | URI | 用途 |
|---|---|---|
| textures | | 列出/读取纹理信息 |
Creating Textures
创建纹理
New Blank Texture
新建空白纹理
create_texture: name="skin", width=64, height=64, fill_color="#808080"create_texture: name="skin", width=64, height=64, fill_color="#808080"Texture with Transparency
带透明度的纹理
create_texture: name="overlay", width=32, height=32, fill_color=[0, 0, 0, 0]create_texture: name="overlay", width=32, height=32, fill_color=[0, 0, 0, 0]Apply to Element
应用到元素
apply_texture: id="body", texture="skin", applyTo="all"apply_texture: id="body", texture="skin", applyTo="all"Painting
绘画操作
Basic Brush Stroke
基础画笔笔触
paint_with_brush: texture_id="skin", coordinates=[
{x: 10, y: 10},
{x: 15, y: 12},
{x: 20, y: 10}
], brush_settings={color: "#FF0000", size: 3, shape: "circle"}paint_with_brush: texture_id="skin", coordinates=[
{x: 10, y: 10},
{x: 15, y: 12},
{x: 20, y: 10}
], brush_settings={color: "#FF0000", size: 3, shape: "circle"}Soft Brush
柔边画笔
paint_with_brush: texture_id="skin", coordinates=[{x: 32, y: 32}],
brush_settings={color: "#FFFFFF", size: 10, softness: 50, opacity: 128}paint_with_brush: texture_id="skin", coordinates=[{x: 32, y: 32}],
brush_settings={color: "#FFFFFF", size: 10, softness: 50, opacity: 128}Fill Area
填充区域
paint_fill_tool: texture_id="skin", x=16, y=16, color="#3366FF",
fill_mode="color_connected", tolerance=10paint_fill_tool: texture_id="skin", x=16, y=16, color="#3366FF",
fill_mode="color_connected", tolerance=10Fill Entire Face
填充整个面
paint_fill_tool: texture_id="skin", x=0, y=0, color="#228B22",
fill_mode="face"paint_fill_tool: texture_id="skin", x=0, y=0, color="#228B22",
fill_mode="face"Shapes & Gradients
形状与渐变
Draw Rectangle
绘制矩形
draw_shape_tool: texture_id="skin", shape="rectangle",
start={x: 0, y: 0}, end={x: 16, y: 16}, color="#FFCC00"draw_shape_tool: texture_id="skin", shape="rectangle",
start={x: 0, y: 0}, end={x: 16, y: 16}, color="#FFCC00"Draw Hollow Ellipse
绘制空心椭圆
draw_shape_tool: texture_id="skin", shape="ellipse_h",
start={x: 8, y: 8}, end={x: 24, y: 24}, color="#000000", line_width=2draw_shape_tool: texture_id="skin", shape="ellipse_h",
start={x: 8, y: 8}, end={x: 24, y: 24}, color="#000000", line_width=2Apply Gradient
应用渐变
gradient_tool: texture_id="skin",
start={x: 0, y: 0}, end={x: 0, y: 32},
start_color="#87CEEB", end_color="#1E90FF"gradient_tool: texture_id="skin",
start={x: 0, y: 0}, end={x: 0, y: 32},
start_color="#87CEEB", end_color="#1E90FF"Erasing
擦除操作
eraser_tool: texture_id="skin", coordinates=[{x: 10, y: 10}, {x: 12, y: 12}],
brush_size=5, shape="circle", opacity=255eraser_tool: texture_id="skin", coordinates=[{x: 10, y: 10}, {x: 12, y: 12}],
brush_size=5, shape="circle", opacity=255Color Picking
颜色拾取
color_picker_tool: texture_id="skin", x=16, y=16color_picker_tool: texture_id="skin", x=16, y=16Returns picked color, sets as active
返回拾取的颜色并设为当前激活颜色
undefinedundefinedClone/Copy Brush
克隆/复制画笔
copy_brush_tool: texture_id="skin",
source={x: 0, y: 0}, target={x: 32, y: 0},
brush_size=8, mode="copy"copy_brush_tool: texture_id="skin",
source={x: 0, y: 0}, target={x: 32, y: 0},
brush_size=8, mode="copy"Brush Presets
画笔预设
Create Preset
创建预设
create_brush_preset: name="soft_round", size=8, shape="circle",
softness=30, opacity=200, color="#FFFFFF"create_brush_preset: name="soft_round", size=8, shape="circle",
softness=30, opacity=200, color="#FFFFFF"Load Preset
加载预设
load_brush_preset: preset_name="soft_round"load_brush_preset: preset_name="soft_round"Texture Layers
纹理图层
Create Layer
创建图层
texture_layer_management: texture_id="skin", action="create_layer",
layer_name="details"texture_layer_management: texture_id="skin", action="create_layer",
layer_name="details"Set Layer Opacity
设置图层透明度
texture_layer_management: texture_id="skin", action="set_opacity",
layer_name="details", opacity=75texture_layer_management: texture_id="skin", action="set_opacity",
layer_name="details", opacity=75Merge Down
向下合并图层
texture_layer_management: texture_id="skin", action="merge_down",
layer_name="details"texture_layer_management: texture_id="skin", action="merge_down",
layer_name="details"Selections
选区操作
Rectangle Selection
矩形选区
texture_selection: texture_id="skin", action="select_rectangle",
coordinates={x1: 0, y1: 0, x2: 16, y2: 16}texture_selection: texture_id="skin", action="select_rectangle",
coordinates={x1: 0, y1: 0, x2: 16, y2: 16}Add to Selection
添加到选区
texture_selection: texture_id="skin", action="select_ellipse",
coordinates={x1: 8, y1: 8, x2: 24, y2: 24}, mode="add"texture_selection: texture_id="skin", action="select_ellipse",
coordinates={x1: 8, y1: 8, x2: 24, y2: 24}, mode="add"Invert Selection
反选选区
texture_selection: texture_id="skin", action="invert_selection"texture_selection: texture_id="skin", action="invert_selection"Feather Edges
羽化边缘
texture_selection: texture_id="skin", action="feather_selection", radius=2texture_selection: texture_id="skin", action="feather_selection", radius=2UV Mapping
UV映射
Auto UV for Mesh
为网格自动生成UV
auto_uv_mesh: mesh_id="sphere", mode="project" # project, unwrap, cylinder, sphereauto_uv_mesh: mesh_id="sphere", mode="project" # project, unwrap, cylinder, sphereSet Custom UV
设置自定义UV
set_mesh_uv: mesh_id="cube", face_key="north",
uv_mapping={"v1": [0, 0], "v2": [16, 0], "v3": [16, 16], "v4": [0, 16]}set_mesh_uv: mesh_id="cube", face_key="north",
uv_mapping={"v1": [0, 0], "v2": [16, 0], "v3": [16, 16], "v4": [0, 16]}Rotate UV
旋转UV
rotate_mesh_uv: mesh_id="cube", angle="90"rotate_mesh_uv: mesh_id="cube", angle="90"Paint Settings
绘画设置
paint_settings: pixel_perfect=true, mirror_painting={enabled: true, axis: ["x"]},
lock_alpha=truepaint_settings: pixel_perfect=true, mirror_painting={enabled: true, axis: ["x"]},
lock_alpha=trueCommon Workflows
常见工作流
Skin Texture
皮肤纹理制作
undefinedundefinedCreate texture
创建纹理
create_texture: name="player_skin", width=64, height=64, fill_color="#C4A484"
create_texture: name="player_skin", width=64, height=64, fill_color="#C4A484"
Base colors
基础颜色填充
paint_fill_tool: x=8, y=8, color="#C4A484", fill_mode="face" # Face
paint_fill_tool: x=20, y=20, color="#3366CC", fill_mode="face" # Body
paint_fill_tool: x=8, y=8, color="#C4A484", fill_mode="face" # 脸部
paint_fill_tool: x=20, y=20, color="#3366CC", fill_mode="face" # 身体
Details with brush
用画笔添加细节
paint_with_brush: coordinates=[{x: 10, y: 10}, {x: 12, y: 10}],
brush_settings={color: "#000000", size: 1} # Eyes
paint_with_brush: coordinates=[{x: 10, y: 10}, {x: 12, y: 10}],
brush_settings={color: "#000000", size: 1} # 眼睛
Apply
应用纹理
apply_texture: id="head", texture="player_skin"
undefinedapply_texture: id="head", texture="player_skin"
undefinedProcedural Pattern
程序化图案制作
undefinedundefinedCreate base
创建基础纹理
create_texture: name="pattern", width=32, height=32, fill_color="#FFFFFF"
create_texture: name="pattern", width=32, height=32, fill_color="#FFFFFF"
Draw grid
绘制网格
draw_shape_tool: shape="rectangle_h", start={x: 0, y: 0}, end={x: 32, y: 32},
color="#CCCCCC", line_width=1
draw_shape_tool: shape="rectangle_h", start={x: 8, y: 8}, end={x: 24, y: 24},
color="#999999", line_width=1
undefineddraw_shape_tool: shape="rectangle_h", start={x: 0, y: 0}, end={x: 32, y: 32},
color="#CCCCCC", line_width=1
draw_shape_tool: shape="rectangle_h", start={x: 8, y: 8}, end={x: 24, y: 24},
color="#999999", line_width=1
undefinedTips
技巧提示
- Use in paint_settings for clean pixel art
pixel_perfect=true - Enable for symmetrical textures
mirror_painting - Use layers for non-destructive editing
- prevents painting outside existing pixels
lock_alpha - Use to fill only touching same-color pixels
fill_mode="color_connected" - Create brush presets for frequently used settings
- 在paint_settings中设置以获得清晰的像素艺术效果
pixel_perfect=true - 启用功能制作对称纹理
mirror_painting - 使用图层进行非破坏性编辑
- 可防止在现有像素范围外绘画
lock_alpha - 使用仅填充相邻的同色像素
fill_mode="color_connected" - 为常用设置创建画笔预设