Skip to content

Custom Crystallarieum Recipes

DaFuqs edited this page Nov 7, 2022 · 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

  • "group" (string, default 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, default false): If true, the recipe will never be listed in recipe listing mods, like REI

  • "required_advancement" (advancement identifier, default empty): The advancement a player needs to have to be able to craft 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 has to be thrown on top of the Crystallarieum

  • "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 string): The Ink Color needed to grow this recipe

  • "ink_per_second" (long): The amount of Ink to consume every second

  • "grows_without_catalyst" (boolean): If true, the player always needs to supply a Catalyst for this recipe to work. Else it is optional

  • "catalysts" (list of crystallarieum catalysts): A list of Catalsts that can modify this recipes properties, when supplied

Crystallarieum Catalysts

  • "ingredient" (ingredient): The ingredient that has to be thrown on top of the Crystallarieum
  • "growth_acceleration_mod" (float): How much faster/slower the growing should be compared to using no catalyst (default: 1.0)
  • "ink_consumption_mod" (float): How much Ink the growing should use compared to using no catalyst (default: 1.0)
  • "consume_chance_per_second" (float): The chance for the catalyst to get used up (0.0: never; 1.0: 100 % every second)

Example: Growing Iron Clustes/Native Iron from Raw Iron

To grow Iron with 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 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 secondly used Ink will even be more efficient (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": "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