An open API service indexing awesome lists of open source software.

https://github.com/skylightproduction/citattfp

With this datapack, you can set up which item will be used to activate the portal in Twilight Forest.
https://github.com/skylightproduction/citattfp

data-pack datapack minecraft minecraft-datapack skylightproduction

Last synced: 4 months ago
JSON representation

With this datapack, you can set up which item will be used to activate the portal in Twilight Forest.

Awesome Lists containing this project

README

          

# Custom item for activate the Twilight Forest portal (CITATTFP)

[EN] Guide for replace item for activate TF portal

- Open the archive and follow the path: "`data/twilightforest/tags/items/portal`".
- Open the file "`activator.json`".
- Find the line `"id":"minecraft:netherite_block"`. `"minecraft:netherite_block"` - is the very item that will replace the diamond.
- In order to get the item ID, you need to press the key combination **F3 + H** in the Minecraft window, then go to the inventory menu and hover over the item that you want to use instead of the diamond to activate the portal to the TF.
![img](https://github.com/user-attachments/assets/049654a6-20fa-4b54-bf16-8b55f991bdb5)
What is highlighted in the photo with a red frame is the ID of the item that needs to be used in `activator.json`. **The ID must be written in the file together with quotes, as shown in the example.**
- After changing the ID, save the file and close the archive.
- Move the archive to the `datapacks` folder located in `C:\Users\(UserName)\AppData\Roaming\.minecraft\saves\(WorldName)\datapacks` for the world you need.
- Everything

[RU] Гайд по замене предмета, активирующего портал в Сумеречный лес

- Откройте архив и пройдите по пути: "`data/twilightforest/tags/items/portal`".
- Откройте файл "`activator.json`".
- Найдите строку `"id":"minecraft:netherite_block"`. `"minecraft:netherite_block"` - является тем самым предметом, который будет заменять собой алмаз.
- Для того чтобы получить ID предмета, нужно нажать комбинацию клавиш **F3 + H** в окне Minecraft, после перейти в меню инвентаря и навестись курсором на предмет, который вы хотите использовать заместо алмаза, для активации портала в СЛ.
![img](https://github.com/user-attachments/assets/049654a6-20fa-4b54-bf16-8b55f991bdb5)
То, что выделено на фото красной рамкой и является ID предмета, который нужно использовать в `activator.json`. **Записывать ID в файле нужно вместе с кавычками, как показано в примере.**
- После смены идентификатора сохраните файл и закройте архив.
- Переместите архив в папку `datapacks` находящиеся в `C:\Users\(UserName)\AppData\Roaming\.minecraft\saves\(WorldName)\datapacks` для нужного вам мира.
- Всё

---

Examples activator.json code:

Diamond is replaced by a sniffer egg:

```json
{
"replace": true,
"values": [
{
"id": "minecraft:sniffer_egg",
"required": false
}
]
}
```

Diamond is replaced by a totem of undying:

```json
{
"replace": true,
"values": [
{
"id": "minecraft:totem_of_undying",
"required": false
}
]
}
```

Diamond is replaced by a trident:

```json
{
"replace": true,
"values": [
{
"id": "minecraft:trident",
"required": false
}
]
}
```