Skip to content

Grinding Recipes ​

Grinding recipes involve using a grinding tool (like a grindstone) to process a base item, optionally with an addition.

Properties


base Ingredient ​

The base ingredient for this grinding recipe.

addition Ingredient ​

An optional additional ingredient for this grinding recipe.

process Process ​

The grinding process for this recipe.

hocon
type = cooking
priority = 10
group = "group_name"
conditions {
  // Condition settings
}

base {
  // Ingredient settings
}

addition {
  // Ingredient settings
}

process {
  // Process settings
}

Process Process ​

The process property defines how the grinding process is computed.

Fixed Result fixed_result ​

A process that always returns the specified result and xp.

Properties


result Result ​

The result of the grinding process.

xp int ​

The experience points (XP) awarded when this recipe is completed.

hocon
type = fixed_result
result {
  // Result settings
}
xp = 1

Default Process default ​

A process that follows default grinding logic with various customization options.

Properties


extraXp int ​

Extra experience points awarded.

removeEnchants ProcedureEnchantRemoval ​

Defines how enchants are removed.

mergeEnchants ProcedureEnchanting ​

Defines how enchants are merged.

damageCombine ProcedureDamageCombine ​

Defines how damage is combined.

repairCost ProcedureRepairCost ​

Defines how repair cost is computed.

hocon
type = default
extraXp = 2
removeEnchants {
  // See ProcedureEnchantRemoval documentation
  type = "..."
}
mergeEnchants {
  // See ProcedureEnchanting documentation
  type = "..."
}
damageCombine {
  // See ProcedureDamageCombine documentation
  type = "..."
}
repairCost {
  // See ProcedureRepairCost documentation
  type = "..."
}