Compatibility
Minecraft: Java Edition
Platforms
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Russian | Русский
Ppl34-genes-Guide
Описание
Ppl34-genes-Guide
— это гайд по генам из эксперимента 34 на приватном Minecraft сервере Pepeland. В этом моде описаны все доступные на данный момент гены и информация про них.
Для открытия окна по умолчанию используется клавиша K
. Вы можете изменить эту клавишу в настройках игры.
Требования к моду
- fabric loader = 0.15.11
- fabric api = 0.100.8+1.20.6
Редактирование JSON файла
Для редактирования файла необходимо перейти по пути:
./minecraft/config/ppl34genes/gen_info.json
Файл имеет следующую структуру:
{
"genes": [
{
"label": "Пример названия",
"tooltip": "Пример подсказки",
"levels": [
"Пример информации про ген 1",
"Пример информации про ген 2",
"Пример информации про ген 3"
],
"icon": "путь к текстуре (его лучше не менять)",
"levelIcons": [
"также не стоит менять иконки здесь"
]
}
]
}
Описание полей
-
label: Название гена, которое будет отображаться в интерфейсе. Убедитесь, что название ясно и точно описывает ген.
-
tooltip: Подсказка, которая будет отображаться при наведении курсора на элемент. Подсказка должна содержать краткую и полезную информацию о гене.
-
levels: Массив строк, где каждая строка описывает уровень гена. Например, если ген имеет несколько уровней или стадий, каждая строка будет содержать информацию о соответствующем уровне.
-
icon: Путь к текстуре, которая будет использоваться для отображения иконки гена. Рекомендуется не изменять этот путь, чтобы избежать проблем с отображением.
-
levelIcons: Массив путей к текстурам, которые используются для отображения иконок на различных уровнях гена. Эти иконки не рекомендуется менять, так как это может повлиять на визуализацию в интерфейсе.
Рекомендации
-
Создавайте резервные копии: Прежде чем вносить изменения в JSON файл, создайте резервную копию оригинала, чтобы можно было восстановить его в случае необходимости.
-
Проверяйте синтаксис: После редактирования файла проверьте его на наличие синтаксических ошибок. Используйте JSON-валидатор для проверки правильности структуры.
-
Тестируйте изменения: После внесения изменений перезапустите приложение и проверьте, что все изменения корректно отобразились и функционируют как ожидалось.
-
Используйте актуальные пути и ресурсы: Убедитесь, что пути к текстурам и иконкам корректны и ресурсы действительно существуют по указанным путям.
-
Если вам нужно внести дополнительные изменения или добавить новые гены, следуйте указанной структуре и рекомендациям для обеспечения правильной работы вашего JSON файла.
English
Ppl34-genes-Guide
Description
Ppl34-genes-Guide
is a guide to the genes from experiment 34 on the private Minecraft server Pepeland. This mod describes all currently available genes and information about them.
The default key used to open the window is the K
key. You can change this key in the game settings.
Mod Requirements
- fabric loader = 0.15.11
- fabric api = 0.100.8+1.20.6
Optional
- Mod menu = 10.0.0-beta.1
Edit JSON file
To edit the file, go to the path:
./minecraft/config/ppl34genes/gen_info.json
The file has the following structure:
{
"genes": [
{
"label": "Label example",
"tooltip": "Tooltip example",
"levels": [
"Example of information about gene 1",
"Example of information about gene 2",
"Example of information about gene 3"
],
"icon": "texture path (it is better not to change it)",
"levelIcons": [
"also don't change the icons here"
]
}
]
}
Field Description
-
label: The name of the gene to be displayed in the interface. Make sure the title clearly and accurately describes the gene.
-
tooltip: The tooltip that will be displayed when the cursor hovers over the element. The tooltip should contain brief and useful information about the gene.
-
levels: An array of strings where each string describes a level of the gene. For example, if a gene has multiple levels or stages, each line will contain information about the corresponding level.
-
icon: Path to the texture that will be used to display the gene icon. It is recommended not to change this path to avoid display problems.
-
levelIcons: Array of paths to textures that are used to display icons at different levels of the gene. It is recommended not to change these icons, as it may affect the visualization in the interface.
Recommendations
-
Create backups: Before making changes to the JSON file, create a backup of the original so that you can restore it if necessary.
-
Check syntax: After editing a file, check it for syntax errors. Use JSON validator to check if the structure is correct.
-
Test changes: After making changes, restart the application and verify that all changes are correctly displayed and function as expected.
-
Use actual paths and resources: Verify that the paths to textures and icons are correct and that resources actually exist at the paths specified.
-
If you need to make additional changes or add new genes, follow the specified structure and guidelines to ensure your JSON file works properly.