将你自己的自定义画作添加到 Minecraft 中!你可以添加任意数量的画作,不再局限于对原版画作进行重新贴图!每幅画作都可以拥有自定义的尺寸和纹理,甚至还可以自定义名称和艺术家标签。使用自定义的“画作包”,你可以向任何世界(包括服务器)添加自定义画作!

开箱即用,你还会看到一个内置包,其中包含游戏资产中捆绑的四幅元素主题画作,这些画作通常无法正常放置。尽情欣赏你的空气、大地、火焰和水元素风格画作吧!

为了更好地管理游戏中的所有画作,此模组还创建了一个画作选择器菜单。放置画作时不再随机选择,而是会打开一个菜单,让你可以选择画作包和具体画作,并支持搜索和过滤功能。现在,每次都能一次性精准放置你想要的画作!

此模组还为每幅画作赋予了独立的自定义物品图标——无论是来自你安装的包还是原版变体!每幅画作的艺术图都会被缩小,并配上挂绳和阴影以适配标准的 16×16 物品形状,这样你就可以在库存、快捷栏和物品展示框中一目了然地分辨出它们。这一设计深受 Vanilla Tweaks 的“独特画作物品”资源包 启发。自定义包和原版的渲染效果在客户端配置中均有独立的开关。

请注意:本模组不包含任何新画作。你需要自行提供! 即使不添加任何包,你也可以单独使用此模组,它依然会提供隐藏画作的访问权限以及全新的画作选择器菜单。不过,如果你正在寻找支持此模组的画作包,可以查看我的 Famous Real Paintings 包,它为现实中一些最著名的画作提供了风格化的表现形式!
向你的世界添加画作包
向你的世界添加画作包的最简单方法是将其放入世界存档内的 custompaintings 文件夹中,例如 .minecraft/saves/My Awesome World/custompaintings/FamousPaintings-1.0.zip。该包可以是 zip 格式或文件夹格式。
└── .minecraft/
├── config/
├── logs/
├── resourcepacks/
├── saves/
│ └── My Awesome World/
│ ├── advancements/
│ ├── custompaintings/
│ │ └── FamousPaintings-1.0.zip ᐊ
│ ├── data/
│ ├── datapacks/
│ ├── DIM1/
│ ├── DIM-1/
│ ├── entities/
│ ├── playerdata/
│ ├── poi/
│ ├── region/
│ ├── stats/
│ └── level.dat
├── options.txt
└── servers.dat
你还可以通过打开模组的主菜单(见下文),导航到“管理包”屏幕,然后将包的 zip 文件或文件夹拖拽到游戏窗口中,这与添加资源包的方式类似。模组会自动处理文件复制,并刷新列表以确认操作成功!

创造模式库存
与原版画作类似,你所有的自定义画作都会出现在创造模式库存的功能性方块类别下。物品模型会根据你提供的纹理和画作尺寸在运行时动态生成,从而呈现出令人惊讶的高质量近似效果!这一设计同样深受 Vanilla Tweaks 的“独特画作物品”资源包 启发。此功能可通过客户端配置和配置菜单进行切换。
切石机配方
基于 Vanilla Tweaks 的“画作选择器”数据包,你所有自定义画作的独特物品也将作为切石机配方可用!只需将通用的/随机的画作物品放入输入槽,即可制作绑定到特定画作的物品,这些物品会跳过 UI 界面并直接放置该变体!原版画作变体也适用此规则——放入通用画作,然后选择你想要的 Kebab、Aztec 等具体类型,包括那些原本无法放置的空气、大地、火焰和水元素画作。自定义包和原版的配方在服务端/按世界配置中均有独立的开关。
向你的服务器添加画作包
向服务器添加包必须由拥有服务器文件系统访问权限的管理员完成。类似于单人世界的安装方式,只需将包复制到服务器世界存档内的 custompaintings 文件夹中即可。
└── <服务器根目录> /
├── config/
├── logs/
├── world/
│ ├── advancements/
│ ├── custompaintings/
│ │ └── FamousPaintings-1.0.zip ᐊ
│ ├── data/
│ ├── datapacks/
│ ├── DIM1/
│ ├── DIM-1/
│ ├── entities/
│ ├── playerdata/
│ ├── poi/
│ ├── region/
│ ├── stats/
│ └── level.dat
├── banned-ips.json
├── banned-players.json
├── eula.txt
├── ops.json
├── server.properties
├── usercache.json
└── whitelist.json
</details>
<details>
<summary><b>从 3.0.0 之前的资源包迁移</b></summary>
如果你在使用 Custom Paintings 3.0.0 更新为服务器驱动的自定义格式绘画包(即你仍保留资源包风格的绘画包)之前就是该模组用户,迁移到新版本的简便方法是直接安装新版模组并加入你的世界!然后打开模组主菜单(可通过 Mod Menu 打开,如果你已安装的话;或通过按键绑定——有关模组主菜单的更多信息请参见下文),导航到“Convert Legacy Packs”(转换旧版包)界面。你应该会看到列出的资源包风格绘画包,点击即可将每一个直接迁移至当前世界中以新格式安装!
如果你想为多个世界或服务器快速批量转换它们,请取消顶部的开关(或在未连接至任何世界时访问相同界面),将转换后的数据包输出到通用的临时目录,然后点击“打开输出文件夹”以在电脑的文件浏览器中查看它们!
</details>
<details>
<summary><b>创建画作包——完整的数据包格式</b></summary>
### 数据包格式
本模组的自定义画作由画作数据包提供支持。要为该模组创建画作数据包,请在计算机上的某个位置为其创建一个文件夹,并赋予一个易于识别的名称,例如“Scott's Custom Paintings”。在该文件夹内,再创建一个名为“images”的文件夹,并将所有画作图片复制进去。确保它们都是 PNG 格式的图像文件。如果你使用的是其他格式,可以使用在线文件格式转换器进行转换(使用你常用的搜索引擎查找即可;网上有很多这样的工具)。然后,再次回到数据包的根文件夹中,创建一个名为 `custompaintings.json` 的文件。
.
└── Scott's Custom Paintings/
├── images/
│ ├── castlescape.png
│ ├── sunsetbeach.png
│ ├── worldmap.png
│ └── spookyforest.png
└── custompaintings.json
打开 `custompaintings.json` 文件,并填入类似如下内容:
```json
{
"id": "scottscustompaintings",
"name": "Scott's Custom Paintings",
"description": "Scott's Custom Paintings",
"paintings": [
{
"id": "castlescape",
"name": "Castle in the Mountains",
"artist": "Scott Lang",
"width": 2,
"height": 3
},
{
"id": "sunsetbeach",
"name": "Sunset at the Beach",
"artist": "Claude Monet",
"width": 2,
"height": 2
},
{
"id": "worldmap",
"name": "World Map",
"artist": "Scott Lang",
"width": 4,
"height": 3
},
{
"id": "spookyforest",
"name": "Nighttime Forest",
"artist": "Scott Lang",
"width": 3,
"height": 1
}
]
}
整合包属性
id: 文本;仅允许字母、数字、下划线和连字符 - 绘画整合包的唯一 ID。这必须与所有其他绘画整合包(以及添加自定义绘画的其他 Fabric 模组的模组 ID)不同。
name: 文本(可选) - 在绘画选择器中显示为此整合包的名字。如果省略,UI 将直接显示资源包的文件名。
description: 文本(可选) - 在绘画选择器中显示的整合包简短描述。
paintings: List[Painting] - 从绘画选择器 UI 中提取的所有绘画的定义。每个绘画的 id 应对应于图片的文件名(不含 '.png')。
migrations: List[Migration] - 与此整合包关联的自动迁移规则。你不太可能手动创建这些规则,但独立的绘画整合包编辑器_(即将推出)_可以在你将大型整合包拆分为多个小型整合包时为你生成它们。
绘画属性
每幅绘画都需要定义其各自的属性,以告知模组如何在游戏中显示这些绘画。
id: 文本;仅允许字母、数字、下划线和连字符 - 绘画的唯一 ID。这应对应于整合包“images”文件夹中绘画 PNG 图片文件的名称(不含 '.png')。
name: 文本(可选) - 绘画的名称。
artist: 文本(可选) - 绘画的作者。
width: 整数 - 该绘画应占据的方块宽度。例如,原版 Donkey Kong 绘画的值应为 4。
height: 整数 - 该绘画应占据的方块高度。例如,原版 Donkey Kong 绘画的值应为 3。
模组主菜单
该模组附带一个主菜单,用于访问一系列用于操作模组的实用工具。如果你安装了 Mod Menu,你可以在模组列表中找到该模组的配置按钮来进入主菜单。

否则,您可以在 Minecraft 原版按键绑定菜单中配置一个按键绑定(默认为 U 键),按下该键即可打开自定义画作的的主菜单。

这两种选项都会打开模组的主菜单,其中包含用于导航至所有配置、管理和实用工具的按钮,方便您使用 Custom Paintings 模组!

所有配置选项
管理模组配置(适用于客户端/单人游戏设置)的最简单方法是通过用户界面。从主菜单进入配置页面,即可在游戏内调整你的设置。

该模组拥有多个配置文件用于微调模组行为。部分仅针对客户端的配置托管在 Minecraft 安装目录的主 config 文件夹中,而世界特定的配置则位于存档文件夹(服务器端为 world)内。
客户端/全局配置
有一个适用于你客户端的“全局”配置文件,它会影响你所有的单人游戏世界。该文件位于 <minecraft directory>/config/custompaintings.toml。你也可以通过主菜单中的配置屏幕进行修改。
覆盖原版渲染距离 (overrideRenderDistance):true|false - 是否覆盖游戏默认的画作渲染距离阈值。默认情况下,画作的渲染距离与其他所有实体相同,但启用此选项后,你可以强制游戏从更远的距离渲染它们。默认为 false。
渲染距离缩放系数 (renderDistanceScale):Integer; 1-64 - 用于缩放画作渲染距离阈值的数值。数值越高,渲染距离越远。仅在 overrideRenderDistance 为 true 时生效。默认为 16。
在本地缓存来自服务器的图片 (cacheImages):true|false - 是否缓存从服务器下载的画作图片。这样做可以减少加载时间并节省网络/服务器资源,但意味着将图片永久存储在磁盘上,这可能会占用大量空间。默认为 true。
保留缓存图片的天数 (cacheTtl):Integer; 1-1000 - 缓存的画作图片在被标记为过期并自动删除之前,应在缓存中存储多长时间。默认为 14。
静化所有旧版包转换提示 (silenceAllConvertPrompts):true|false - 是否静化关于将旧版(3.0.0 之前)资源包风格的画作包转换为新格式的提示。加入世界后,模组会检查你的 resourcepacks 文件夹中是否有任何旧式画作包,并通过模组主菜单提示你进行转换。将其设置为 true 可全局静化这些提示。默认为 false。
在自定义画作物品上渲染 artwork (renderArtworkOnItems):true|false - 是否在绘画物品图标(如背包、快捷栏、物品展示框等)上渲染每个自定义画作的 artwork。当为 false 时,自定义画作物品会回退到通用的原版画作图标。默认为 true。
在原版画作物品上渲染 vanilla artwork (renderVanillaArtworkOnItems):true|false - renderArtworkOnItems 的原版对应项:当堆栈标识了特定变体时(例如创意模式库存中的画作条目),是否在原版画作变体(Kebab、Aztec、Earth 等)的物品上渲染画作 artwork。当为 false 时,这些物品使用通用的原版画作图标。默认为 true。
单人游戏按世界配置
每个世界的存档文件夹中也存在一个配置文件,即 <minecraft directory>/saves/My World/config/custompaintings.toml。如果你处于单人游戏世界中,你也可以在与客户端配置相同的内置游戏菜单中修改这些设置。
静化此世界的旧版包转换提示 (silenceConvertPrompt):true|false - 与客户端配置中的 silenceAllConvertPrompts 相同,但仅针对当前世界。默认为 false。
使用切石机选择特定画作 (pickPaintingWithStoneCutter):true|false - 是否为活动自定义包中的每种画作添加切石机配方,以便将通用画作物品切割成绑定到特定自定义画作变体的物品(放置时跳过选择器 UI)。默认为 true。
使用切石机选择特定原版画作 (pickVanillaPaintingWithStoneCutter):true|false - pickPaintingWithStoneCutter 的原版对应项:是否为每种可放置的原版画作变体(Kebab、Aztec 等)添加切石机配方。默认为 true。
服务端配置
最后,服务器端的世界存档文件夹中还有一个配置文件,即 <server root>/world/config/custompaintings.toml。你需要访问服务器的文件系统才能更改任何这些设置。
限制向客户端传输图像的速率 (throttleImageDownloads):true|false - 是否限制向客户端发送自定义画作图像的速率,特别是在他们加入服务器时。强烈建议保持启用状态,特别是对于中等规模或大规模服务器(10+ 名玩家)。默认为 true。
每秒最大图像数据包数量 (maxImagePacketsPerSecond):Integer; 0-∞ - 每秒向已连接客户端发送的最大图像网络数据包数量。仅在 throttleImageDownloads 为 true 时生效。设置为 0 可通过禁用数据包计数来取消限速。默认为 40。
每客户端每秒最大图像数据包数量 (maxPerClientImagePacketsPerSecond):Integer; 0-∞ - 按每客户端基础,每秒向已连接客户端发送的最大图像网络数据包数量。仅在 throttleImageDownloads 为 true 时生效。设置为 0 可通过禁用每客户端的数据包计数限速。
每个图像数据包的最大大小(以 KB 为单位) (maxImagePacketSize):Integer; 0-∞:可发送给客户端的每个画作图像网络数据包的最大大小,单位为 KB。仅在 throttleImageDownloads 为 true 时生效。设置为 0(不推荐)可将所有图像作为单个网络数据包完整发送。默认值为 256。
启用或禁用整合包,或将整合包添加到你的世界
打开整合包界面将显示你当前世界/服务器中所有可用整合包的摘要。对于单人游戏模式,或者如果你在服务器上拥有 OP 权限,你将看到一个类似于资源包界面的界面,允许你启用和禁用整合包,而无需手动操作文件。
在单人游戏中,你还可以直接将整合包拖放到游戏中,将其添加到世界中。

将旧版(3.0.0 之前版本)的整合包转换为新格式
如果你已经拥有该模组先前版本使用的资源包系统的画作整合包,模组可以帮助你迁移这些整合包到新格式,甚至可以直接将它们添加到你的世界中。

卸载此模组及数据完整性
从 v3.0.0 版本开始,Custom Paintings 现在会将所有的画作选择及相关数据存储在世界存档文件夹内的单独文件中。这意味着即使在不安装模组的情况下加载游戏(例如升级到新的 Minecraft 版本后),也不会丢失数据!当你决定重新安装模组时,所有数据将被加载,你的画作也会恢复。
3.0.0 之前版本(资源包)
在 3.0.0 版本之前,Custom Paintings 是基于资源包的,而非由服务器驱动。如果你是从旧版本升级过来,或者手头有旧的整合包,以下是工作方式有所不同的一些部分:
-
整合包是 Minecraft 资源包。 你不需要将整合包放入世界的 custompaintings/ 文件夹,而是将其放在 resourcepacks/ 中,并像启用其他资源包一样启用它——没有游戏内的整合包管理功能,也没有拖拽安装方式,更没有服务器端的图像传输。在多人游戏中,每个玩家(以及服务器)都必须安装该模组以及完全相同版本的整合包,否则画作将无法渲染。该模组最初是为单人游戏设计的。
-
纹理文件位于资源包的 assets 目录树中。 custompaintings.json 文件置于资源包的根目录,而每幅画作的 PNG 图片则存放在 assets/<pack id>/textures/painting/<painting id>.png —— 包 id 决定了纹理所在的目录。(3.0.0+ 版本格式改为使用独立的包文件夹,其中包含一个 images/ 子文件夹。)图片格式为 PNG,理想情况下每个方块对应 16 像素。
-
JSON 结构略有不同。 包 id 仅允许使用字母、数字和下划线(不允许连字符),没有 description 字段,且任何没有匹配条目的画作纹理默认尺寸为 1×1。画作的 name(名称)和 artist(作者)字段在 v2.0.0 版本中添加。paintings(画作列表)和 migrations(迁移列表)的工作方式在其他方面保持一致。
-
管理功能基于命令/按键绑定驱动。 没有统一的菜单。清理界面(未知画作、不匹配的画作、运行迁移)可通过 /custompaintings manage 命令或在“杂项”按键绑定部分中未绑定的按键进入,而其余 /custompaintings 命令套件(identify、count、fix、move、reassign、remove)则用于从聊天窗口执行针对性修复。
链接
也在 CurseForge · GitHub 源代码 · 报告问题
Add your own custom paintings to Minecraft! Add as many as you like without being restricted to re-texturing vanilla
paintings! Each painting can have a custom size and texture, and even name and artist labels. Using a custom "Painting
Pack", add custom paintings to any world, even servers!

Out of the box, you'll also see a built-in pack containing the
four elemental-themed paintings bundled in the game's assets that otherwise are not normally placeable. Enjoy your
stylish Air, Earth, Fire, and Water paintings!

In order to better work with all the paintings in your game, this mod also creates a painting picker menu. Instead of
the game placing a random choice every time, placing a painting will now open up a menu where you can choose a pack and
painting, complete with search and filtering. Now you can place the exact painting you want first time, every time!

The mod also gives every painting its own custom item icon — both from your installed packs and from the vanilla
variants! Each painting's artwork is scaled down and dressed up with a hanger and shadow to fit the standard 16×16 item
shape, so you can tell what's what at a glance in your inventory, hotbar, and item frames. Heavily inspired by Vanilla
Tweaks' "Unique Painting Items" resource pack. The
custom-pack and vanilla rendering each have their own toggle in the client-side config.

Please note that no new paintings are included in this mod. You need to supply your own! You can use this mod
without adding and packs, and it'll still give access to the hidden paintings and the fancy new painting picker menu.
However, if you're looking for a painting pack that supports this mod, check out
my Famous Real Paintings pack that adds stylized
representations of some of the worlds' most famous paintings from real life!
Adding a painting pack to your world
The simplest way to add a painting pack to your world is to drop it in the custompaintings folder inside the world
save, i.e. .minecraft/saves/My Awesome World/custompaintings/FamousPaintings-1.0.zip. The pack can be in zip or folder
form.
└── .minecraft/
├── config/
├── logs/
├── resourcepacks/
├── saves/
│ └── My Awesome World/
│ ├── advancements/
│ ├── custompaintings/
│ │ └── FamousPaintings-1.0.zip ᐊ
│ ├── data/
│ ├── datapacks/
│ ├── DIM1/
│ ├── DIM-1/
│ ├── entities/
│ ├── playerdata/
│ ├── poi/
│ ├── region/
│ ├── stats/
│ └── level.dat
├── options.txt
└── servers.dat
You can also add a pack to a world by open the mod's main menu (see below), navigating to the 'Manage Packs' screen, and
dragging the pack zip file or folder onto your game window, similar to how you would do it with resource packs. The mod
will take care of copying the files over and should automatically refresh the list for you to let you know it worked!

Creative inventory
Similar to vanilla paintings, all your custom paintings will show up in the creative inventory under functional blocks. The item models are all generated dynamically at runtime based on your supplied texture and painting dimensions to give a surprisingly high quality approximation of the painting! Heavily inspired by Vanilla Tweaks' "Unique Painting Items" resource pack. This functionality is toggleable via the config and config menu client side.
Stonecutter recipes
Based on the "Painting Picker" datapack from Vanilla Tweaks, all the unique items for your custom paintings will also be available as stonecutter recipes! Just pop in the generic/random painting item in the input and you'll be able to craft items bound to a specific painting, that will skip the UI and always place that variant! The same applies to vanilla painting variants — drop a generic painting in and pick the exact Kebab, Aztec, etc. you want, including the otherwise-unplaceable Air, Earth, Fire, and Water elementals. The custom-pack and vanilla recipes have their own toggles in the server-side/per-world config.
Adding a painting pack to your server
Adding a pack to a server must be done by a server admin with access to the server's filesystem. Similar to installing
on a single player world, simply copy the pack into the custompaintings folder inside the server's world save.
└── <server root> /
├── config/
├── logs/
├── world/
│ ├── advancements/
│ ├── custompaintings/
│ │ └── FamousPaintings-1.0.zip ᐊ
│ ├── data/
│ ├── datapacks/
│ ├── DIM1/
│ ├── DIM-1/
│ ├── entities/
│ ├── playerdata/
│ ├── poi/
│ ├── region/
│ ├── stats/
│ └── level.dat
├── banned-ips.json
├── banned-players.json
├── eula.txt
├── ops.json
├── server.properties
├── usercache.json
└── whitelist.json
Migrating from pre-3.0.0 resource packs
If you are a user of Custom Paintings before the 3.0.0 change to server-driven custom format painting packs (i.e. you still have resource pack style painting packs), the easiest way to migrate to the new version is to simply install the new version of the mod and join your world! Then if you open the mod main menu (either through Mod Menu if you have it installed or via a keybinding - see the section below about the mod's main menu for more information) and navigate to the 'Convert Legacy Packs' screen. You should see your resource pack style painting packs listed there, and you can click to migrate each one into the new format directly installed on the current world!
If you want to convert them quickly for multiple worlds at once or for servers, uncheck the toggle at the top (or access the same screen when not connected to a world) to output the converted packs to a generic temp directory and click the "Open Output Folder" to view them in your PC's file browser!
Creating a painting pack — the full pack format
Pack format
The custom paintings for this mod are powered by painting packs. To create a painting pack for the mod, create a folder
for it somewhere on your computer and give it a helpful name, like "Scott's Custom Paintings". Inside that folder,
create another folder called "images" and copy all of your painting images inside. Make sure they are all PNG image
files. If you have a different format, you can convert it using an online file converter (find one using your favorite
search engine; there are many, many out there). Then again inside the pack's root folder, also create a file named
custompaintings.json.
.
└── Scott's Custom Paintings/
├── images/
│ ├── castlescape.png
│ ├── sunsetbeach.png
│ ├── worldmap.png
│ └── spookyforest.png
└── custompaintings.json
Open the custompaintings.json file and fill it with contents that look something like this:
{
"id": "scottscustompaintings",
"name": "Scott's Custom Paintings",
"description": "Scott's Custom Paintings",
"paintings": [
{
"id": "castlescape",
"name": "Castle in the Mountains",
"artist": "Scott Lang",
"width": 2,
"height": 3
},
{
"id": "sunsetbeach",
"name": "Sunset at the Beach",
"artist": "Claude Monet",
"width": 2,
"height": 2
},
{
"id": "worldmap",
"name": "World Map",
"artist": "Scott Lang",
"width": 4,
"height": 3
},
{
"id": "spookyforest",
"name": "Nighttime Forest",
"artist": "Scott Lang",
"width": 3,
"height": 1
}
]
}
Pack properties
id: Text; alphanumeric, underscores, and dashes only - The unique ID of the painting pack. This must be different
from all
other painting packs (and different from the mod IDs for other fabric mods that add custom paintings).
name: Text (optional) - The name to show in the painting picker for this pack. If omitted the UI will simply
show the resource pack's filename.
description: Text (optional) - A short description of the pack to show in the painting picker.
paintings: List[Painting] - The definitions of all the paintings to pull from in the painting picker UI. Each
painting's id should correspond to the image's filename (without the '.png').
migrations: List[Migration] - The automatic migrations associated with this pack. It is not likely you'll want to
create one of these by hand, but the standalone painting pack editor (coming soon) can generate them for you when you
split large packs into multiple smaller ones.
Painting properties
Each painting will need its own properties defined to tell the mod how the paintings should be displayed in game.
id: Text; alphanumeric, underscores, and dashes only - The unique ID of the painting. This should correspond to the
name of the
painting's PNG image file in the pack's "images" folder (without the '.png').
name: Text (optional) - The name of the painting.
artist: Text (optional) - The artist of the painting.
width: Integer - The number of blocks wide this painting should occupy. For example, the vanilla Donkey Kong
painting would have a value of 4.
height: Integer - The number of blocks high this painting should occupy. For example, the vanilla Donkey Kong
painting would have a value of 3.
Mod main menu
The mod ships with a main menu to access a suite of utilities for working with the mod. If you
have Mod Menu installed, you'll find the main menu from the mod's configure button
in the mods list.

Otherwise, you can configure a keybind (U key by default) in Minecraft's vanilla keybinds menu which
will open the Custom Paintings main menu on key press.

Both of these options will open up the mod's main menu with buttons to navigate to all the configuration, management,
and utilities you need for working with the Custom Paintings mod!

Every configuration option
The easiest way to manage mod configuration (for client-side/single player settings) is through the UI. From the main
menu, navigate to the configuration page to adjust your settings from within the game.

The mod has multiple configuration files to tweaking mod behavior. There is some client-side only configuration hosted
in the main config folder inside your Minecraft's installation folder as well as world-specific configuration inside the
save file (world on servers) folder.
Client-side/global configuration
There is a "global" config file for your client that applies to all your single player worlds. This will be found in
<minecraft directory>/config/custompaintings.toml. You can also modify it through the config screen found from the
main menu.
Override vanilla render distance (overrideRenderDistance): true|false - Whether to override the game's default
painting rendering distance threshold. By default, paintings are rendered at the same distance as all other entities,
but enabling this will allow you to force the game to render them from further away. Default is false.
Render distance scale (renderDistanceScale): Integer; 1-64 - The number with which to scale the render distance
threshold for paintings. Higher numbers means rendering from farther away. Only applies when overrideRenderDistance is
true. Default is 16.
Cache images from the server locally (cacheImages): true|false - Whether to cache painting images that have been
downloaded from the server. Doing this can reduce loading time and save on network/server resources, but means storing
the images permanently on disk, which can potentially take up a lot of space. Default is true.
Number of days to retain cached images (cacheTtl): Integer; 1-1000 - How long cached painting images should be
stored in the cache before being marked as stale and getting automatically deleted. Default is 14.
Silence all legacy pack conversion prompts (silenceAllConvertPrompts): true|false - Whether to silence prompts
about converting legacy (pre-3.0.0) resource pack style painting packs to the new format. After joining a world, the mod
will check if you have any of the old style painting packs in your resourcepacks folder and prompt you to convert
them from the mod's main menu. Set this to true to silence them globally. Defaults to false.
Render the artwork on custom painting items (renderArtworkOnItems): true|false - Whether to render each custom
painting's artwork on its painting item icon (in inventories, hotbars, item frames, etc.). When false, custom painting
items fall back to the generic vanilla painting icon. Defaults to true.
Render the artwork on vanilla painting items (renderVanillaArtworkOnItems): true|false - The vanilla counterpart
to renderArtworkOnItems: whether to render the painting artwork on items for vanilla painting variants (Kebab, Aztec,
Earth, etc.) when the stack identifies a specific variant — for example, the painting entries in the creative inventory.
When false, those items use the generic vanilla painting icon. Defaults to true.
Single player per-world configuration
There is also a config file in each world's save folder, i.e.
<minecraft directory>/saves/My World/config/custompaintings.toml. If you are in a single player world, you can also
modify these from the same in-game menu as the client-side config.
Silence legacy pack conversion prompts for this world (silenceConvertPrompt): true|false - Same as
silenceAllConvertPrompts from the client-side config, except specific to the current world. Defaults to false.
Use the stone cutter to choose specific paintings (pickPaintingWithStoneCutter): true|false - Whether to add
stonecutter recipes for each painting in the active custom packs, so a generic painting item can be cut into one bound
to a specific custom painting variant (skipping the picker UI on placement). Defaults to true.
Use the stone cutter to choose specific vanilla paintings (pickVanillaPaintingWithStoneCutter): true|false - The
vanilla counterpart to pickPaintingWithStoneCutter: whether to add stonecutter recipes for each placeable vanilla
painting variant (Kebab, Aztec, etc.). Defaults to true.
Server-side configuration
Finally there is a config file on the server, inside the world's save folder, i.e.
<server root>/world/config/custompaintings.toml. You'll need access to the server's filesystem to change any of these
settings.
Throttle image transfers to clients (throttleImageDownloads): true|false - Whether to throttle the rate at which
custom painting images are sent to clients when they join the server. Highly recommended to keep this enabled,
especially if you have a moderate-to-large scale server (10+ players). Defaults to true.
Maximum number of image packets per second (maxImagePacketsPerSecond): Integer; 0-∞ - The maximum number of
image network packets to send per second to connected clients. Only applies when throttleImageDownloads is true. Set
to 0 to disable throttling by packet count. Defaults to 40.
Maximum number of image packets per second per client (maxPerClientImagePacketsPerSecond): Integer; 0-∞ - The
maximum number of image network packets to send per second to connected clients on a per-client basis. Only applies when
throttleImageDownloads is true. Set to 0 to disable throttling by packet count on a per-client basis.
Maximum size for each image packet in KB (maxImagePacketSize): Integer; 0-∞: The maximum size for each painting
image network packet that can be sent to clients, in KB. Only applies when throttleImageDownloads is true. Set to
0 (not recommended) to send all images in their entirety in single network packets. Defaults to 256.
Enabling or disabling packs, or adding a pack to your world
Opening the packs screen will show you a summary of all the packs available in your world/server. For single player and
if you have OP permission on a server, you'll see something that resembles the resource packs screen, giving you the
ability to enable and disable packs without having to mess with the files.
On single player worlds, you'll also have the ability to drag and drop packs onto the game to add them to the world
directly.

Converting old (pre-3.0.0) packs to the new format
If you already have painting packs for a previous version of the mod that used a resource-pack system, the mod can help
you migrate the packs to the new format and even directly add them into your world.

Uninstalling this mod, and data integrity
Starting with v3.0.0, Custom Paintings now stores all your painting choices and relevant data in separate files within
your world's save folder. This means it is safe to load the game without the mod installed (i.e. after upgrading to a
new Minecraft version) without risk of losing your data! When you decide to install the mod again, all the data will be
loaded and your paintings will be restored.
Pre-3.0.0 (resource pack) versions
Before 3.0.0, Custom Paintings was resource-pack based rather than server-driven. If you're coming from an older
version or have old packs lying around, these are the parts that worked differently:
-
Packs were Minecraft resource packs. Instead of dropping a pack into the world's custompaintings/ folder, you
placed it in resourcepacks/ and enabled it like any other resource pack - there was no in-game pack management or
drag-and-drop install, and no server-side image transfer. On multiplayer every player (and the server) had to have
the mod plus the exact same packs at the same versions, or paintings wouldn't render. The mod was really built with
single player in mind.
-
Textures lived inside the pack's assets tree. The custompaintings.json went at the root of the resource
pack, and each painting's PNG went in assets/<pack id>/textures/painting/<painting id>.png - the pack id
determined the texture directory. (The 3.0.0+ format instead uses a standalone pack folder with an images/
subfolder.) Images were PNG, ideally 16 pixels per block.
-
The JSON schema was slightly different. Pack id allowed alphanumeric and underscores only (no dashes), there was
no description field, and any painting texture with no matching entry defaulted to 1×1. The painting name and
artist fields were added in v2.0.0. The paintings and migrations lists otherwise worked the same way.
-
Management was command/keybind driven. There was no unified main menu. The cleanup screens (Unknown paintings,
Mismatched paintings, Run a migration) were reached via /custompaintings manage or an unbound keybind in the
Miscellaneous keybinds section, and the rest of the /custompaintings command suite (identify, count, fix,
move, reassign, remove) handled targeted fixes from chat.
Links
Also on CurseForge · Source on GitHub · Report an issue
评论 0
登录后参与评分
还没有评论,来抢沙发吧