COWMODSКаталог модов

No Kebab

Prevents unknown painting ids from being erased from the world, and offers a way to manually fix them up.

Автор: Estecka4 тыс.14обновлён 12 апр. 2025 г.
ДекорУправление

Описание

⚠ 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"

Галерея

MissingnoPage Banner

Последние версии

Все версии →
release

v1.3.3+1.21.5

1.3.3+1.21.5
12 апр. 2025 г.224Minecraft: 1.21.5fabric
Скачать
Что нового
- Ported to MC 1.21.5, marked previous branch as incompatible.
release

v1.3.3+1.21.3

1.3.3+1.21.3
12 апр. 2025 г.337Minecraft: 1.21.2, 1.21.3, 1.21.4fabric
Скачать
Что нового
- Ported to MC 1.21.5, marked previous branch as incompatible.
release

v1.3.2+1.21.3

1.3.2+1.21.3
28 окт. 2024 г.274Minecraft: 1.21.2, 1.21.3, 1.21.4fabric
Скачать
Что нового
- Ported to MC 1.21.2, marked previous branch as incompatible.
release

v1.3.2+1.21

1.3.2+1.21
28 окт. 2024 г.287Minecraft: 1.21, 1.21.1fabric
Скачать
Что нового
- Ported to MC 1.21.2, marked previous branch as incompatible.
beta

v1.3.1+1.21

1.3.1+1.21
16 июн. 2024 г.538Minecraft: 1.21, 1.21.1fabric
Скачать
Что нового
- Ported to MC 1.21, marked previous branch as incompatible.
beta

v1.3.1+1.20.6

1.3.1+1.20.6
16 июн. 2024 г.143Minecraft: 1.20.5, 1.20.6fabric
Скачать
Что нового
- Ported to MC 1.21, marked previous branch as incompatible.
beta

v1.3.0+1.20.6

1.3.0+1.20.6
1 мая 2024 г.171Minecraft: 1.20.5, 1.20.6fabric
Скачать
Что нового
- **Added the command `/nokebab give`.** Mostly for debug purposes, just a shorthand to give yourself a painting with an invalid variant. With item components, the equivalent `/give` command has become quite longer. - **Custom DataTrackers can be disabled in a config file.** Which disables the ability to see invalid paintings and their id in the world. Since 1.20.5, vanilla clients now crash when receiving data from modded trackers, making it impossible to broadcast data about missing paintings whilst keeping the mod optional on clients. The feature is be disabled by default on dedicated servers, but remains enabled by default on clients (singleplayer and LAN).
release

v1.2.1+1.20.1

1.2.1+1.20.1
1 мая 2024 г.562Minecraft: 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4fabric
Скачать
Что нового
- Marked this branch as incompatible with MC 1.20.5
release

v1.2.0+1.20.1

1.2.0+1.20.1
13 мар. 2024 г.220Minecraft: 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4fabric
Скачать
Что нового
- Added the command `/nokebab migrate` - Fixed some benign warnings when running on server-only environnement.
release

v1.2.0+1.19.4

1.2.0+1.19.4
13 мар. 2024 г.135Minecraft: 1.19.4fabric
Скачать
Что нового
- Added the command `/nokebab migrate` - Fixed some benign warnings when running on server-only environnement.