HomeJavaDatapacksCITATTFP
CITATTFP

Custom item to activate the Twilight Forest portal (CITATTFP)


[EN] How to use
{
  "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.

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.

img

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

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

Replacement with a totem of undying

{
  "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.

{
  "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:

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] Как использовать
{
  "replace": true,
  "values": [
    {
      "id": "minecraft:netherite_ingot",
      "required": false
    }
  ]
}

В данном случае minecraft:netherite_ingot - является тем самым предметом, который будет заменять алмаз для активации портала.

Как получить ID предмета

Чтобы получить ID предмета нужно нажать комбинацию клавиш F3 + H в игре, после чего навести курсор на предмет в инвентаре.

img

То, что выделено на фото красной рамкой и является ID предмета, который нужно использовать в activator.json.

Примеры activator.json:

Замена на яйцо нюхача

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

Замена на тотем бессмертия

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

Замена на яйцо, незеритовый слиток и трезубец

Т.к. файл activator.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 следуйте этому плану:

В остальном делаем то же самое, что в инструкции выше: узнаём ID предмета, вписываем его вместо minecraft:diamond и перезагружаем игру.

Quick facts

Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more