Custom Pigment Pedestal Recipes - DaFuqs/Spectrum GitHub Wiki
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.
Pedestal Tiers
The four different Pigment Pedestal tiers can be recognized by their different borders and shown gemstone shards in their GUI
basic
: Cyan, Magenta and Yellow pedestal variantssimple
: CMY pedestal variant with matching structureadvanced
: Onyx pedestal variant with matching structurecomplex
: 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.
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 |
colors | map (ink color id : count) | empty | Required amount of Gemstone Powders |
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",
"colors": {
"spectrum:cyan": 4,
"spectrum:black": 1
},
"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",
"colors": {},
"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
}