Skip to content

Custom Crystallarieum Recipes

DaFuqs edited this page Nov 5, 2024 · 10 revisions

The Crystallarieum can be best described as a player created, ink-powered artificial Budding Block. In contrast to normal Budding Blocks, this one can only grow Resources on it's top, but it can grow a a wide range of crystal materials (chemically speaking, refined metals are crystals, too!)

Crystallarieum Growing

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
ingredient ingredient The ingredient that gets converted into Ink
growth_stage_states block state list When a valid ingredient is found on top of the Crystallarieum, the first block state is getting placed. This block state is advanced every time seconds_per_growth_stage has elapsed, until the last state is reached
seconds_per_growth_stage long How long each block state should take until it get's advanced to the next
ink_color color identifier The Ink Color needed to grow this recipe
ink_cost_tier int Defines how much Ink is consumed every second. Higher the more valuable a resources is. From 1 (coal) to 4 (endgame resources). 0 means no ink is required.
grows_without_catalyst If true, the player always needs to supply a Catalyst for this recipe to work. Else it is optional
catalysts crystallarieum catalyst list A list of Catalsts that can modify this recipes properties, when supplied

Crystallarieum Catalysts

Entry Type Default Description
ingredient ingredient The ingredient that is used as catalyst
growth_acceleration_mod float 1.0 How much faster/slower the growing should be compared to using no catalyst (default: 1.0)
ink_consumption_mod float 1.0 How much Ink the growing should use compared to using no catalyst (default: 1.0)
consume_chance_per_second float 1.0 The chance for the catalyst to get used up (0.0: never; 1.0: 100 % every second)

Example: Growing Iron Clusters/Native Iron from Raw Iron

To grow Iron in the Crystallarieum, the player has to either throw raw iron on top (the crystallarieum decrements that item stack by 1 and plants a Small Iron Bud on top of it), or place any block state listed in the recipes growth_stage_states. The Crystallarieum will slowly grow through all possible stages until the last one is reached.

The player can optionally supply Quitoxic Powder to make this growth process 3x as fast (growth_acceleration_mod) and since ink_consumption_mod is 0.5 it will only use half the usual amount of Ink (grows 3x as fast & only consumes 1/2 the amount of ink => x6 more Ink efficient).

{
  "type": "spectrum:crystallarieum_growing",
  "ingredient": {
    "item": "minecraft:raw_iron"
  },
  "growth_stage_states": [
    "spectrum:small_iron_bud",
    "spectrum:medium_iron_bud",
    "spectrum:large_iron_bud",
    "spectrum:iron_cluster"
  ],
  "seconds_per_growth_stage": 800,
  "ink_color": "spectrum:brown",
  "ink_per_second": 10,
  "grows_without_catalyst": true,
  "catalysts": [
    {
      "ingredient": {
        "item": "spectrum:quitoxic_powder"
      },
      "growth_acceleration_mod": 3.0,
      "ink_consumption_mod": 0.5,
      "consume_chance_per_second": 0.04
    }
  ]
}
Clone this wiki locally