Skip to main content

Evaluate

Evaluate logo

Evaluate (mod ID: evaluate) calculates relative values per item for modpacks and other mods. Define fixed base values in a datapack, then let recipes and optional FTB Quests exchanges supply values for other items. KubeJS and Java extensions can contribute to the same calculation graph.

These numbers describe configured acquisition costs. Evaluate does not add a currency, shop, or item exchange screen. Built-in default values are adapted from ProjectE; ProjectE is not required, and Evaluate uses its own data format.

Versions and installation​

ComponentVersion covered here
Evaluate1.0-beta.1
Minecraft26.1.2
NeoForgeDeveloped and verified with 26.1.2.126
Java25
Required dependencySaturn 1.3.1+
Optional integrationKubeJS 26.1.2-8.0.8+, with Rhino and Better Advanced Tooltips
Optional integrationFTB Quests 26.1.2.8+, with its dependencies

Install Evaluate and Saturn in the server's mods/ directory. To display item values in tooltips, also install them on the client. Value calculations run on the server, including in singleplayer.

Saturn supplies item matching. Its general matcher types are documented in Item matcher; these pages cover Evaluate's value definitions and behavior.

First value definition​

In a datapack for this Minecraft version, add this file:

data/example/evaluate/evaluator/diamond.json
{
"type": "evaluate:constant",
"item": "minecraft:diamond",
"value": 10000.5,
"priority": 10
}

The file creates evaluator example:diamond. Run /reload after installing or editing the pack. Press F3+H to enable vanilla advanced tooltips, then hover over a diamond to query its server-calculated value. The first hover may need a moment for the response.

This is a fixed base value: recipes that consume diamonds use 10000.5. To change only the final displayed or queried number, use a final override instead.

GoalPage
Set base values and final overridesDatapacks
Configure recipe costs and understand cyclesValue inference
Read values in tooltips and manage reloadsRuntime and reloads
Set values or write evaluators in scriptsKubeJS
Infer fixed rewards from item-consuming questsFTB Quests
Query values or add an evaluator type in JavaJava API