Главная › Моды › Библиотеки › Prickle

Prickle
Prickle is a JSON based configuration file format brought to Minecraft.
Prickle — мод для Minecraft 1.21–26.3 из категории «Библиотеки» для загрузчиков Fabric, Forge, NeoForge, Quilt. Автор: Darkhax. В Lorix можно добавить мод в сборку — нужные зависимости подтянутся автоматически — и скачать её одним ZIP с папкой mods/ или запустить в Lorix Launcher одной кнопкой.
- Категория
- Библиотеки
- Загрузчики
- Fabric, Forge, NeoForge, Quilt
- Версии Minecraft
- 26.3, 26.2, 26.1.2, 26.1.1, 26.1, 1.21.11, 1.21.10, 1.21.9, 1.21.8, 1.21.7, 1.21.6, 1.21.5, 1.21.4, 1.21.3, 1.21.2, 1.21.1, 1.21
- Скачиваний на Modrinth
- 14 711 017
Зависимости
Описание
Prickle is a JSON based config format. This mod allows the format to be used in Minecraft! For technical documentation please see the GitHub page.
FaQ
What benefits does Prickle offer?
Prickle is based on JSON but adds several useful features like comments and decorators. Prickle is 100% backwards compatible with JSON and supports all of its features, tools, and syntax highlighting.
Why is this called Prickle?
Prickle is the collective noun for a group of hedgehogs. Hedgehogs are one of my favourite animals and I think they are a fitting metaphor for config files. For example, they both may seen intimidating at first but can be nice once you get to know and understand them.
Why not use an existing format?
In the past I have used JSON for my config files but there were several issues such as the lack of comments and default values. Prickle adds these features to JSON while remaining 100% backwards compatible. I have tried other formats like TOML but was disappointed with a lot of their Java implementations. They often lack features I feel are important, have serious bugs, and are no longer being maintained. Minecraft already uses JSON for datapacks and commands, making it a familiar choice for most players.
Format Specifications
In Prickle property values are wrapped in a JSON object. This allows metadata like comments to be attributed to that property.
For example a standard JSON file would look like this.
The same JSON as a Prickle file would look like this.
Comments
The // key is reserved for comments. Comments are only used to provide additional context to the reader and should never influence how the file is parsed. Comments can be a JSON string or an array of strings for multiline comments.
Как установить Prickle
- Скачайте Lorix Launcher и создайте сборку с нужной версией и загрузчиком.
- Найдите Prickle в окне модов — зависимости добавятся сами.
- Нажмите «Играть».
Или соберите модпак в конструкторе и скачайте ZIP: папку mods/ из архива положите в .minecraft.