Singularities

Extended Crafting allows you to easily add your own singularities.

Adding Singularities

To add a Singularity, you just need to add a singularity JSON file to the /config/extendedcrafting/singularities directory.

The Singularity File

This section will go over the values available to use in a singularity JSON. Syntax can be inferred from the example JSON below.

FieldRequiredDescription
nameThe name of this singularity. You can either put the name you want to see here, or a translation key.
overlay_colorThe overlay color for the item.
underlay_colorThe underlay color for the item.
ingredientThe item used to create this singularity.
ingredient_countThe amount of materials required to create this singularity. If omitted will use the default set in the config.
in_ultimate_singularityWhether this singularity should be a part of the Ultimate Singularity recipe. If omitted will default to true.
enabledWhether this singularity should be registered. If omitted will default to true.

Example File

{
  "name": "singularity.extendedcrafting.diamond",
  "overlay_color": 10943721,
  "underlay_color": 1748136,
  "ingredient": "minecraft:diamond"
}

Using In Recipes

The different singularity types are defined using Data Components. This means there is an extra step involved in using a singularity in a crafting recipe.

What To Do

You need to use a Data Component ingredient for singularities. In the Components tag you need to specify the Singularity ID.

{
  "neoforge:ingredient_type": "neoforge:components",
  "items": ["extendedcrafting:singularity"],
  "strict": false,
  "components": {
    "extendedcrafting:singularity_id": "extendedcrafting:diamond"
  }
}
Note

You can find the singularity ID by enabling advanced tooltips (f3 + h) and seeing what it says.

Removing Singularities

You can either delete the singularity's file from /config/extendedcrafting/singularities or add "enabled": false to the singularity file to disable it.