Skip to content

Custom Anvil Crushing Recipes

DaFuqs edited this page Oct 15, 2026 · 16 revisions

Anvil Crushing recipes are "crafted" by dropping an item stack on the ground and letting an anvil fall on it. The anvil may get damaged in the process depending on fall height, just like in vanilla. Multiple items can be crushed at once.

Anvil Crushing

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
required_advancement advancement_identifier empty The advancement a player needs to have to be able to see this recipe. Spectrum will automatically show a recipe unlock toast when this advancement has been gotten
reveal_secret_advancement advancement_identifier empty If set, the recipe shows up as a secret in recipe viewers at first, until the player has the set advancement. You can set a hint by adding a lang key recipe.spectrum.<recipe_type_id>.secret.<recipe_id>.hint
additional_recipe_viewer_results itemstack list empty Items that will be considered an "output" of the recipe for recipe viewers when pressing "R". Has no gameplay relevance, but is a nice QoL thing for your players, if your recipe does something funky.
ingredient ingredient The ingredient getting crushed
crushedItemsPerPointOfDamage float How much anvil damage is needed to crush 1 ingredient item. If the damage exceeds this value, a single anvil fall can convert more than 1 ingredient at once
experience float How much experience should be spawned per 1 crushed ingredient
particleEffectIdentifier particle_effect_identifier The particle effect that should play
particleCount int 1 The amount of particles spawned on crushing
soundEventIdentifier sound_event_identifier The sound that should play
result item_stack Output item stack, supports NBT

Example: Crushing 1 blaze rod into 4 blaze powder with an anvil

{
  "type": "spectrum:anvil_crushing",
  "ingredient": {
    "item": "minecraft:blaze_rod"
  },
  "crushedItemsPerPointOfDamage": 2,
  "experience": 0.0,
  "result" : {
    "id": "minecraft:blaze_powder",
    "count": 4
  },
  "particleEffectIdentifier": "lava",
  "particleCount": 3,
  "soundEventIdentifier": "block.stone.break"
}

Clone this wiki locally