Skip to content

Restricting Learning and Condensing

Sara Freimer edited this page Nov 4, 2023 · 1 revision

Restricting Learning and Condensing

Items that are prevented from being learned in transmutation tables and from being reproduced in energy condensers can still be used as fuel to provide EMC.

Tags

ProjectExtended adds two different item tags to allow blacklisting items from being reproduced in energy condensers (projectextended:blacklist_condenser) and from being learned in a transmutation table (projectextended:blacklist_learning).

GameStages

As of 1.4.1 ProjectExtended adds support for blacklisting items via GameStages. The datapack format for restricting items by stages is as follows:

  • Energy condensers only: data/projectextended/condenser_blacklist.json
  • Learning for transmutation only: data/projectextended/learning_blacklist.json
  • Restricts all types of usage: data/projectextended/global_blacklist.json

Each datapack can contain these files and ProjectExtended will merge them together similarly to how tag files get merged.

The format for all of the files is as follows:

{
  "<stage>": [
    "<item>",
    "#<tag>",
    "<item>{nbt}"
  ],
  "<different_stage>": [
    <contents>
  ],
  ...
}

For example:

{
  "stage1": [
    "minecraft:dirt",
    "potion{Potion:\"minecraft:night_vision\"}"
  ],
  "stage2": [
    "#forge:ingots/iron"
  ]
}
Clone this wiki locally