CITATTFP
作者:rebot | 分类:模组
价格:0 墨喵币
下载量:0
点赞:0
版本 1.0.1
本资源为搬运资源,原资源地址:
https://modrinth.com/mod/custom-item-to-activate-the-tf-portal
资源信息
Minecraft 版本: 1.21.1
平台: datapack
标签: management utility
资源介绍
Custom item to activate the Twilight Forest portal (CITATTFP)
[EN] How to use - Open the archive, navigate to the path: `/data/twilightforest/tags/items/portal/` and open the file `activator.json`. - Its contents will look something like this: ```json { "replace": true, "values": [ { "id": "minecraft:netherite_ingot", "required": false } ] } ``` In this case, `minecraft:netherite_ingot` is the item that will replace the diamond for activating the portal. - Insert the ID of the item you want to use instead of `minecraft:netherite_ingot`. Don't forget the quotes. - Save the file, close the archive and move it to the folder `/saves/(WorldName)/datapacks/`. How to get an item ID To get an item ID, press the key combination **F3 + H** in the game, then hover over the item in your inventory.  What is highlighted in red in the photo is the item ID you need to use in `activator.json`. ## Examples of `activator.json`: ### Replacement with a sniffer egg ```json { "replace": true, "values": [ { "id": "minecraft:sniffer_egg", "required": false } ] } ``` ### Replacement with a totem of undying ```json { "replace": true, "values": [ { "id": "minecraft:totem_of_undying", "required": false } ] } ``` ### Replacement with an egg, netherite ingot and trident *Since the `activator.json` file is a tag, you can add multiple items (including other tags) that will activate the portal to the Twilight Forest.* ```json { "replace": true, "values": [ { "id": "minecraft:netherite_ingot", "required": false }, { "id": "minecraft:egg", "required": false }, { "id": "minecraft:trident", "required": false } ] } ``` ## Guide for 1.12.2 For 1.12.2 follow this plan: - Go to the `/config/` folder, find the `twilightforest.cfg` file there and open it. - Find the line `S:portalCreationItems ` - this line is responsible for changing the portal activator. Otherwise, do the same as in the instructions above: find out the item ID, write it instead of `minecraft:diamond`, and reload the game. [RU] Как использовать - Откройте архив, пройдите по пути: `/data/twilightforest/tags/items/portal/` и откройте файл `activator.json`. - Его внутренность будет выглядеть как-то так: ```json { "replace": true, "values": [ { "id": "minecraft:netherite_ingot", "required": false } ] } ``` В данном случае `minecraft:netherite_ingot` - является тем самым предметом, который будет заменять алмаз для активации портала. - Вставьте вместо `minecraft:netherite_ingot` ID того предмета, который вы хотите использовать. Не забудьте про кавычки. - Сохраните файл, закройте архив и перенесите его в папку `/saves/(WorldName)/datapacks/`. Как получить ID предмета Чтобы получить ID предмета нужно нажать комбинацию клавиш **F3 + H** в игре, после чего навести курсор на предмет в инвентаре.  То, что выделено на фото красной рамкой и является ID предмета, который нужно использовать в `activator.json`. ## Примеры `activator.json`: ### Замена на яйцо нюхача ```json { "replace": true, "values": [ { "id": "minecraft:sniffer_egg", "required": false } ] } ``` ### Замена на тотем бессмертия ```json { "replace": true, "values": [ { "id": "minecraft:totem_of_undying", "required": false } ] } ``` ### Замена на яйцо, незеритовый слиток и трезубец *Т.к. файл `activator.json` является тегом, то предметов, которые будут активировать портал в Сумеречный лес, можно добавлять несколько (в том числе и другие теги).* ```json { "replace": true, "values": [ { "id": "minecraft:netherite_ingot", "required": false }, { "id": "minecraft:egg", "required": false }, { "id": "minecraft:trident", "required": false } ] } ``` ## Гайд для 1.12.2 На 1.12.2 следуйте этому плану: - Зайдите в папку `/config/`, там найдите файл `twilightforest.cfg` и откройте его. - Найдите строку `S:portalCreationItems ` - эта строка и отвечает за смену активатора портала. В остальном делаем то же самое, что в инструкции выше: узнаём ID предмета, вписываем его вместо `minecraft:diamond` и перезагружаем игру.
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
请 登录 后发表评论。
举报此资源
请登录后举报
暂无评论,抢个沙发吧~