Skip to content

Custom Pigment Pedestal Recipes

DaFuqs edited this page Apr 22, 2024 · 21 revisions

Depending on the recipe tier, the Pigment Pedestal requires a structure built around it. To craft the Pigment Pedestal always requires an active Redstone signal.

Pigment Pedestal Crafting

Pedestal Tiers

Pigment Pedestal GUIs The four different Pigment Pedestal tiers can be recognized by their different borders and shown gemstone shards in their GUI

  1. basic: Cyan, Magenta and Yellow pedestal variants
  2. simple: CMY pedestal variant with matching structure
  3. advanced: Onyx pedestal variant with matching structure
  4. complex: Moonstone pedestal variant with matching structure

Keep in mind that players that have not unlocked the "advanced" stage of pedestal crafting most likely do not have access to onyx shards, and therefore onyx powder yet. Same with "complex" crafting and moonstone shards.

If you specify "black": 2 in a "tier": "simple" recipe, chances are players will not be able to craft this recipe when unlocking it.

General Properties

Entry Type Default Description
group string empty A string that represents a recipe group. Recipes with a common group will only trigger a single unlock popup, if multiple are unlocked at once. Add a localization string "recipeGroup.spectrum.<<your_group_string>>" so the toast popup is properly localized
secret boolean false If true, the recipe will never be listed in recipe listing mods, like REI
required_advancement advancement_identifier empty The advancement a player needs to have to be able to see this recipe. Spectrum will automatically show a toast to the player when this advancement has been unlocked and reached the set tier
cyan int 0 Required amount of Topaz Powder
magenta int 0 Required amount of Amethyst Powder
yellow int 0 Required amount of Citrine Powder
black int 0 Required amount of Onyx Powder
white int 0 Required amount of Moonstone Powder
tier pedestal_tier The required pedestal tier
time int 200 The crafting time in ticks
experience float How much experience should be spawned when crafting is finished
skip_recipe_remainders false If recipe remainders should not be given (like empty buckets by crafting with a water bucket)
disable_yield_upgrades boolean false When true, yield and efficiency upgrades do not affect the output of this recipe. Set to true for compacting-style recipes (think: iron ingots to iron blocks and back) to prevent item multiplication. Or recipes that should always have a fixed output of 1 (pedestal upgrades, stackable tools, ...)
result item_stack Output item stack, supports NBT

Shaped Recipes

Properties

Entry Type Description
pattern crafting_pattern A shaped crafting pattern in size up to 3x3. Exactly like in vanilla shaped crafting recipes
key item_keys A list of pattern entries mapped to an ingredients (item or tag). Exactly like in vanilla shaped crafting recipes

Example: The crafting recipe of the Ender Dropper

{
  "type": "spectrum:pedestal",
  "time": 1200,
  "tier": "simple",
  "cyan": 2,
  "magenta": 4,
  "yellow": 0,
  "white": 0,
  "black": 0,
  "experience": 2.0,
  "pattern": [
    "BSB",
    "BPB",
    "BRB"
  ],
  "key": {
    "P": {
      "item": "spectrum:blue_pigment"
    },
    "S": {
      "item": "spectrum:radiating_ender"
    },
    "B": {
      "item": "minecraft:polished_blackstone"
    },
    "R": {
      "item": "minecraft:redstone"
    }
  },
  "result": {
    "item": "spectrum:ender_dropper",
    "count": 1
  },
  "required_advancement": "spectrum:unlocks/blocks/ender_blocks"
}

Shapeless Recipes

Properties

Entry Type Description
ingredients ingredientstack list List of Ingredient Stacks (ingredients with count and NBT)

Example: The crafting recipe of CMY tier Pedestal

{
  "type": "spectrum:pedestal_shapeless",
  "time": 200,
  "tier": "basic",
  "cyan": 0,
  "magenta": 0,
  "yellow": 0,
  "white": 0,
  "black": 0,
  "experience": 4.0,
  "ingredients": [
    {
      "item": "spectrum:topaz_shard"
    },
    {
      "item": "minecraft:amethyst_shard"
    },
    {
      "item": "spectrum:citrine_shard"
    }
  ],
  "result": {
    "item": "spectrum:pedestal_all_basic",
    "count": 1
  },
  "required_advancement": "spectrum:unlocks/blocks/cmy_pedestal",
  "disable_yield_upgrades": true
}
Clone this wiki locally