No Kebab
Prevents unknown painting ids from being erased from the world, and offers a way to manually fix them up.
截图
介绍
⚠ As of MC 1.21.5, painting items can no longer hold invalid variants. When using the mod Invariable Paintings, invalid paintings will no longer drop themselves when broken.
No Kebab
Overview
In vanilla Minecraft, when a painting is loaded with an ID that doesn’t match any existing variant, it will be automatically replaced with another one. No questions asked. If you mess around with data-driven paintings, any error in your datapacks may cause already-placed paintings to be lost upon loading a world.
No-Kebab serves as a safeguard against that. Invalid paintings will still fall back to a different variant, but they will remember the variant ID that was originally present in their NBT data, and keep that ID when saving the game. The next time you load that world with the correct set of variants installed, those painting will be restored to their original appearance.
Trivia: Prior to MC 1.21, invalid paintings would invariably be reverted to the minecraft:kebab variant, hence the mod’s name.
Environment
Core functionalities are fully server-side.
Client-side is required only if the Missingno Display feature is enabled, in which case it will be required an _all_ clients.
Missingno Display
This changes the appearence of invalid paintings, making them stand out, and revealing their ID.
By default, it will be disabled on dedicated server, and enabled on integrated servers (singleplayer and LAN).
This can be toggled in the config file nokebab.properties, with the option called customTracker. This requires a full restart to take effect.
Migration
The command /nokebab migrate can be used to change the variant of existing paintings in bulk. It requires a permisssion level of 3 (Admin).
This will only change the variant of placed paintings in currently loaded chunks Paintings in item form or in unloaded chunks will not be affected.
If a migration would result in a painting no longer being able to fit its wall, this painting will be skipped with an error message.
Synopsis
/nokebab migrate <mode> <source> <destination>
<source> is the variant of paintings that should be migrated. <destination> is the variant they will be replaced with. Their specifics vary depending on the mode.
<mode> can be either:
literal, will seek paintings that exactly match the source, and change them all to the same variant.regex, allows the use of Regular Expressions, so<source>can match multiple variants, and<destination>can use substitution variables.
For example, the command to change the namespace of multiple paintings would be:
/nokebab migrate regex "oldspace:(.*)" "newspace:$1"
常见问题
No Kebab 支持哪些 Minecraft 版本?
No Kebab 支持 Minecraft Java 版 1.19.4–1.21.5,共 14 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
No Kebab 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。
Estecka 的其他作品
查看全部 →Spyglass Astronomy
在交互性更强、经过改良的夜空中绘制属于你自己的星座。 沉浸式重制太空天空盒,加入行星和更加绚丽的星空。
Variants-CIT
用于大量重复模式变体集合的替代CIT格式。
Preferred Gamerules
Light-weight mod for changing the default values of gamerules.
Shifting Wares
Villagers will occasionally reroll their trade offers
评论
登录后评论和评分