Artmatica
Artmatica 是一款客户端侧的 Fabric 模组,用于在 Minecraft 中构建类似 ArtMap 风格的像素画。
加载十字绣图案文件(.oxs),选择一个 32×32 的图块,并将其作为游戏内叠加层投影到附近墙壁上的 ArtMap 画布上。Artmatica 会显示每个像素对应的颜色,并可以自动从 ArtMap 色彩库存中选择相应的 Minecraft 物品。
要求
- Minecraft 1.21.8
- Java 21 或更高版本
- Fabric Loader 0.19.1 或更高版本
- Fabric API
- 连接到运行 Artmap 插件的服务端 + 对插件工作原理的基本了解
Artmatica 仅限客户端使用,无需在服务端安装。
安装
- 为 Minecraft 1.21.8 安装 Fabric Loader。
- 安装 Fabric API。
- 将
artmatica-1.2.0.jar 放入你的 .minecraft/mods 文件夹中。
- 使用 Fabric 配置文件启动 Minecraft。
使用说明
- 设置按键绑定。唯一必须设置的初始绑定是“打开配置”。其他绑定可以在稍后根据需要自行设置和使用。

- 打开配置菜单(默认按键:N),然后点击“生成方块地图”按钮。这将在浏览器中打开方块地图生成工具 ()

- 选择并上传图片至生成工具。支持任何网页兼容的图片格式(.png、.jpg、.webp 等)。

- 设置纵横比和缩放级别。你将在图像预览中看到选择的实时预览。注意:纵横比决定了方块地图生成的画布数量。1:1 将是单个 32x32 画布。6:4 将是 24 个 32x32 画布(6x, 4y)。更大的纵横比意味着更高的分辨率和更多的工作量。

- 确认裁剪区域。这将把你的选择转换为游戏内的实际效果。

- 根据你的喜好调整预处理和抖动设置。这些更改会在图像预览中实时反映。

- 保存你的 .oxs 文件。建议将其保存到
/config/artmatica 文件夹中。如果你不知道如何找到该路径,也可以先保存到其他地方(如下载文件夹),以便稍后查找。

- 返回 Minecraft 并点击“打开文件夹”按钮以打开
/config/artmatica 文件夹。

- 将你之前下载的 .oxs 文件移动到你刚刚打开的
/config/artmatica 文件夹中。

- 在 Artmatica 配置界面中点击“刷新”按钮。这将重新扫描
/config/artmatica 文件夹中的新文件。如果是你的第一个 .oxs 文件,它会自动加载为你选定的图案。对于后续文件,你可以通过点击“图案:”按钮来找到它们。

- 在游戏中坐在画架/画布前。

- 重新打开配置菜单。开启叠加层,并根据需要调整不透明度。建议将该值保持在尽可能低的水平。

- 关闭配置菜单并开始绘制!你应该能在画布上看到图像叠加层。瞄准选定的像素会告诉你目标颜色的具体信息。注意:当瞄准颜色时,R、L、D1、D2 会对应不同的操作说明。
- R:普通颜色。直接使用该颜色。
- L:浅色。使用该颜色,然后用羽毛进行提亮。
- D1:深色(1次)。使用该颜色,用煤炭进行一次阴影处理。
- D2:深色(2次)。使用该颜色,用煤炭进行两次阴影处理。

图案与图块
每个 ArtMap 画布由一个 32×32 的图块表示。较大的图案会从左到右、从上到下划分为多个图块。
示例:
- 32×32:一个图块
- 64×32:两个图块
- 96×64:六个图块
图案尺寸必须是 32 的正整数倍。无效、格式错误或过大的图案将被拒绝,但不会阻止其他有效文件的加载。
图案:
您可以通过导航至配置菜单(默认按键绑定:N)并选择“Patterns”按钮来查看所有已安装的图案。在图案选择界面上,将鼠标悬停在某个图案上会显示其第一个图块的预览。或者,您可以设置“Next Pattern”按键绑定 (Minecraft 按键绑定) 以循环切换图案。

图块:
当选择的图案包含多个图块时,您可以通过导航至配置菜单(默认按键绑定:N)并选择“Tiles”按钮来选择具体的图块。在图块选择界面上,将鼠标悬停在某个图块上会显示其预览。或者,您可以设置“Next Tile”按键绑定 (Minecraft 按键绑定) 以循环切换图块。

单色聚焦模式
颜色选择界面仅列出当前选中图块中存在的颜色。
选择一种颜色后,会高亮显示其目标像素,同时使用调色板颜色的 printcolor 显示所有非目标像素。如果 .oxs 调色板条目未提供 printcolor,Artmatica 将回退到互补的 RGB 颜色。
更改图案或图块会清除当前的颜色选择。
单色操作说明:
- 打开配置菜单(默认按键绑定:N)
- 选择“Colors”按钮(该按钮可能显示为“All Colors”或某种颜色的名称)

- 在颜色选择界面上选择一种颜色

- 预览中除所选颜色外的所有其他颜色现在都会设置为对比鲜明且不透明的颜色,从而更容易查看单个颜色的所有像素!

- 若要再次查看所有颜色,您可以点击配置菜单屏幕上的“Reset Colors”按钮,或点击颜色选择界面上的“All Colors”按钮。
- 提示: 您可以绑定“Next Color”按键绑定 (Minecraft 按键绑定) 以循环切换颜色
自动取色
在 Minecraft 的控制菜单中分配 Pick Targeted Color 按键绑定。注视一个已填充的覆盖层像素并按下该键,即可选择对应的 Minecraft 物品。
Artmatica 从调色板条目的 misc1 字段获取物品 ID。支持以下两种形式:
gray_dye
minecraft:gray_dye
如果请求的物品不在当前的 ArtMap 颜色页面上,Artmatica 将执行以下操作:
- 激活位于背包槽位 35、名为
Next 的品红釉陶瓦。
- 等待 ArtMap 背包内容更新。
- 搜索新页面。
- 重复上述步骤,直到找到该物品或到达最后一页。
- 激活位于槽位 27、名为
Prev 的品红釉陶瓦,直到返回第 1 页。
如果服务器在 100 个刻内未更新背包,操作将以 Selection Timed Out(选择超时)终止。断开连接也会取消任何正在进行的选取操作。
导航控件通过物品类型、背包槽位以及精确的自定义名称 Next 和 Prev 来识别。普通的品红釉陶瓦不会被视作导航工具。
配置
默认按下 N 键可打开配置界面。它提供以下功能:
- 覆盖层开关
- 图案选择
- 图块选择
- 覆盖层不透明度
- 单色选择与清除
- 图块预览
- 图案刷新
- 图案文件夹访问
- Artmatica 区块地图生成器访问
在较小的窗口尺寸下,界面支持滚动。
按键绑定
所有 Artmatica 按键绑定均可在 Minecraft 控制菜单中的 Artmatica 类别下进行更改。
| 动作 |
默认值 |
| Open Config |
N |
| Toggle Overlay |
未绑定 |
| Next Pattern |
未绑定 |
| Next Tile |
未绑定 |
| Change Opacity |
未绑定 |
| Next Color |
未绑定 |
| Clear Color |
未绑定 |
| Pick Targeted Color |
未绑定 |
.oxs 兼容性
Artmatica 读取以下 Open Cross Stitch 字段:
| 元素/字段 |
用途 |
properties.chartwidth |
图案宽度 |
properties.chartheight |
图案高度 |
palette_item.index |
内部调色板引用 |
palette_item.number |
显示的调色板 ID |
palette_item.name |
显示的颜色名称 |
palette_item.color |
覆盖层 RGB 颜色 |
palette_item.printcolor |
单色模式下的非目标颜色 |
palette_item.misc1 |
用于自动取色的 Minecraft 物品标识符 |
stitch.x / stitch.y |
像素坐标 |
stitch.palindex |
像素调色板引用 |
number、name、printcolor 和 misc1 是可选的。缺少较新的可选字段的图案仍可加载,尽管相应的显示或取色功能可能会使用回退方案或不可用。
解析器会验证维度、颜色、物品标识符、调色板引用以及拼接坐标。外部实体和 DTD 等不安全的 XML 功能已被禁用。
故障排除
没有图案出现
- 确认文件以
.oxs 结尾。
- 确认它们直接位于
.minecraft/config/artmatica/ 目录下。
- 在 Minecraft 运行时添加文件后,选择刷新。
- 确保维度是 32 的倍数。
- 检查
logs/latest.log 中是否有针对特定文件名的拒绝原因。
覆盖层未显示
- 确认未安装任何不兼容的渲染模组,包括 Sodium。
- 在 Artmatica 配置界面中启用覆盖层。
- 选择一个有效的图案和图块。
- 站在墙挂式告示牌每个轴向上六格范围内。
自动取色不起作用
- 在控制菜单中绑定选取目标颜色。
- 确保准星正对已填充的覆盖层像素。
- 确认调色板条目在
misc1 中包含有效的 Minecraft 物品 ID。
- 确认 ArtMap 颜色库存使用了预期的“下一个”和“上一个”控件。
- 如果出现选择超时,请等待服务器响应并重试。
某个图案被拒绝
Artmatica 会逐个拒绝无效的图案,并继续加载其他文件。常见原因包括:
- 维度不是 32 的倍数
- 无效的十六进制颜色
- 重复的调色板索引或拼接坐标
- 超出声明图表尺寸的拼接
- 引用缺失调色板条目的拼接
- 无效的 Minecraft 物品标识符
请参阅 Minecraft 日志以获取被拒文件名及原因。
建议使用模组内链接的 .oxs 生成器(配置界面 > “生成方块地图”)。正确使用此工具可防止 99.9% 的图案加载问题
许可证
版权所有 © 2026 woody@ssws。保留所有权利。
本软件允许下载、使用,并可出于个人用途进行私有修改。再分发、发表、销售、转授权、源代码分发以及分发修改版本均需获得版权持有人的明确书面许可。
完整条款请参阅 LICENSE。
Artmatica
Artmatica is a client-side Fabric mod for building ArtMap-style pixel art in Minecraft.
Load an Open Cross Stitch (.oxs) pattern, select a 32×32 tile, and project it as an in-world overlay onto a nearby wall-mounted ArtMap canvas. Artmatica shows which color belongs at each pixel and can automatically select the corresponding Minecraft item from the ArtMap color inventory.
Requirements
- Minecraft 1.21.8
- Java 21 or newer
- Fabric Loader 0.19.1 or newer
- Fabric API
- Connection to a server running the Artmap Plugin + basic understanding of how the plugin works
Artmatica is client-side only and does not need to be installed on the server.
Installation
- Install Fabric Loader for Minecraft 1.21.8.
- Install Fabric API.
- Place
artmatica-1.2.0.jar in your .minecraft/mods folder.
- Start Minecraft using the Fabric profile.
Usage Instructions
- Set your keybinds. The only necessary one to start is "Open Config". Others can be set and used later on at your discretion

- Open the Config Menu (default keybind: N) and select the "Generate Blockmap" button. This will open the blockmap generation tool in your browser ()

- Select and Upload your picture to the generator tool. This can be in any web-supported image format (.png, .jpg, .webp, etc)

- Set your aspect ratio and zoom level. You will see a live preview of the selection in the image preview. NOTE: The aspect ratio is the exact number of canvases the blockmap will generate as. 1:1 will be a single 32x32 canvas. 6:4 will be 24 32x32 canvases (6x, 4y). Larger aspect ratio = higher resolution = more work.

- Approve the crop. This will convert your selection to what it will look like in-game

- Adjust preprocess + dithering settings to your liking. These will reflect in real-time in the image preview.

- Save your .oxs file. Ideally save it to your /config/artmatica folder. If you don't know exactly how to get here, though, just save it somewhere you'll be able to find it in a moment (like your downloads folder)

- Return to Minecraft and click the "Open Folder" button to open your /config/artmatica folder

- Move the .oxs file that you previously downloaded to the /config/artmatica folder that you just opened

- Click the "Refresh" button in your Artmatica config screen. This will re-scan your /config/artmatica folder for new files. If this is your first .oxs file, it will auto-load as your selected pattern. For future files, you will find them by clicking the "Pattern: " button.

- Sit at an easel/canvas in game.

- Reopen your Config Menu. Turn the overlay on. Adjust opacity as necessary to your preferred level. It's recommended to keep this value as low as possible.

- Close out of the config menu and begin painting! You should be able to see the image overlay on the canvas. Targeting a selected pixel will tell you the exact color you're targeting. NOTE: When targeting a color, R, L, D1, D2 will follow the name.
- R: Regular color. Just use the color.
- L: Lightened color. Use the color, then tint it with the feather.
- D1: Darkened color (1x). Use the color, shade it with the coal (once).
- D2: Darkened color (2x). Use the color, shade it with the coal (twice).

Patterns and Tiles
Each ArtMap canvas is represented by one 32×32 tile. Larger patterns are divided into tiles from left to right and top to bottom.
Examples:
- 32×32: one tile
- 64×32: two tiles
- 96×64: six tiles
Pattern dimensions must be positive multiples of 32. Invalid, malformed, or excessively large patterns are rejected without preventing other valid files from loading.
Patterns:
You can view all installed patterns by navigating to the Config Menu (default keybind: N) and selecting the "Patterns" button. Hovering over patterns in the pattern selection screen will display a preview of the first tile. Alternatively, you can set the "Next Pattern" keybind (Minecraft keybinds) to cycle through patterns.

Tiles:
When a pattern is selected that has multiple tiles, you can select the specific tile by navigating to the Config Menu (default keybind: N) and selecting the "Tiles" button. Hovering over a tile in the tile selection screen will display a preview of it. Alternatively, you can set the "Next Tile" keybind (Minecraft keybinds) to cycle through tiles.

Single-Color Focus Mode
The color-selection screen lists only colors present in the currently selected tile.
Selecting a color highlights its target pixels while displaying all non-target pixels with the palette color's printcolor. If the .oxs palette entry does not provide printcolor, Artmatica falls back to the opposite RGB color.
Changing patterns or tiles clears the current color selection.
Single-Color Instructions:
- Open the Config Menu (default keybind: N)
- Select the "Colors" button (it will either say "All Colors" or the name of a color)

- Select a color on the color selection screen

- Every color on the preview that is not the selected color will now be set to a contrasting, opaque color, making it easier to see all the pixels of a single color!

- To view all colors again, you can either click the "Reset Colors" button from the Config Menu screen, or the "All Colors" button in the Color Selection screen.
- Tip: You can bind the "Next Color" keybind (Minecraft keybinds) to cycle through colors
Automatic Color Picking
Assign the Pick Targeted Color keybind in Minecraft's Controls menu. Look at a populated overlay pixel and press the key to select its corresponding Minecraft item.
Artmatica obtains the item ID from the palette entry's misc1 field. Both forms below are supported:
gray_dye
minecraft:gray_dye
If the requested item is not on the current ArtMap color page, Artmatica:
- Activates the magenta glazed terracotta named
Next in inventory slot 35.
- Waits for the ArtMap inventory contents to update.
- Searches the new page.
- Repeats until it finds the item or reaches the final page.
- Activates the magenta glazed terracotta named
Prev in slot 27 until it returns to page 1.
If the server does not update the inventory within 100 ticks, the operation stops with Selection Timed Out. Disconnecting also cancels any active selection operation.
Navigation controls are recognized by item type, inventory slot, and the exact custom names Next and Prev. Ordinary magenta glazed terracotta is not treated as navigation.
Configuration
Press N by default to open the configuration screen. It provides:
- Overlay on/off
- Pattern selection
- Tile selection
- Overlay opacity
- Single-color selection and clearing
- Tile preview
- Pattern refresh
- Pattern-folder access
- Artmatica blockmap generator access
The interface is scrollable on smaller window sizes.
Keybindings
All Artmatica keybindings can be changed in Minecraft's Controls menu under the Artmatica category.
| Action |
Default |
| Open Config |
N |
| Toggle Overlay |
Unbound |
| Next Pattern |
Unbound |
| Next Tile |
Unbound |
| Change Opacity |
Unbound |
| Next Color |
Unbound |
| Clear Color |
Unbound |
| Pick Targeted Color |
Unbound |
.oxs Compatibility
Artmatica reads these Open Cross Stitch fields:
| Element/field |
Purpose |
properties.chartwidth |
Pattern width |
properties.chartheight |
Pattern height |
palette_item.index |
Internal palette reference |
palette_item.number |
Displayed palette ID |
palette_item.name |
Displayed color name |
palette_item.color |
Overlay RGB color |
palette_item.printcolor |
Non-target color in single-color mode |
palette_item.misc1 |
Minecraft item identifier used by automatic color picking |
stitch.x / stitch.y |
Pixel coordinate |
stitch.palindex |
Pixel palette reference |
number, name, printcolor, and misc1 are optional. Patterns without newer optional fields continue to load, although the corresponding display or color-picking feature may use a fallback or be unavailable.
The parser validates dimensions, colors, item identifiers, palette references, and stitch coordinates. Unsafe XML features such as external entities and DTDs are disabled.
Troubleshooting
No patterns appear
- Confirm the files end in
.oxs.
- Confirm they are located directly in
.minecraft/config/artmatica/.
- Select Refresh after adding files while Minecraft is running.
- Ensure the dimensions are multiples of 32.
- Check
logs/latest.log for a filename-specific rejection reason.
The overlay does not appear
- Confirm that no incompatible rendering mod, including Sodium, is installed.
- Enable the overlay in the Artmatica configuration screen.
- Select a valid pattern and tile.
- Stand within six blocks on each axis of a wall-mounted sign.
Automatic color picking does not work
- Bind Pick Targeted Color in the Controls menu.
- Ensure the crosshair is targeting a populated overlay pixel.
- Confirm the palette entry contains a valid Minecraft item ID in
misc1.
- Confirm the ArtMap color inventory uses the expected
Next and Prev controls.
- If Selection Timed Out appears, wait for the server to respond and try again.
A pattern was rejected
Artmatica rejects invalid patterns individually and continues loading other files. Common causes include:
- Dimensions that are not multiples of 32
- Invalid hexadecimal colors
- Duplicate palette indexes or stitch coordinates
- Stitches outside the declared chart dimensions
- Stitches referencing missing palette entries
- Invalid Minecraft item identifiers
See the Minecraft log for the rejected filename and reason.
It is recommended to use the .oxs generator linked within the mod (config screen > "Generate Blockmap"). Using this tool correctly will prevent 99.9% of issues loading patterns
License
Copyright © 2026 woody@ssws. All rights reserved.
This software may be downloaded, used, and privately modified for personal use. Redistribution, publication, sale, sublicensing, source distribution, and distribution of modified versions require explicit written permission from the copyright holder.
See LICENSE for the complete terms.
评论 0
登录后参与评分
还没有评论,来抢沙发吧