Aptitude & Insight Point
Aptitude is the player's experience reservoir, and Insight Points are the spendable skill points. Together they form Epiphany's resource system.
This page is for datapack authors and covers behavior rewards, random ranges, first-time rewards, and how aptitude converts into Insight Points. For editing the growth curve, see Config. For third-party behavior extensions, see Registering a New Aptitude Source.
Core Flow
File Location
Aptitude mappings are defined as per-behavior datapack JSON files:
data/<namespace>/epiphany/aptitude/<behavior>.jsonEach file represents one behavior type (e.g.,
kill_entity,mine_block,experience_level_up)Behavior ID =
<namespace>:<relative path>. For example,data/mymod/epiphany/aptitude/fishing.json→mymod:fishingBehavior IDs are strictly tied to listener requirements — the 16 built-in behaviors have fixed filenames (see table below). Other IDs only take effect when a third-party mod registers a corresponding listener.
Full Example
{
"default": [2, 5], // optional, defaults to 0; randomly grants 2–5 aptitude
"specials": [ // optional, defaults to empty
{
"target": "minecraft:zombie", // required; plain id or "#tag"
"reward": [3, 7], // optional; falls back to default
"first_reward": 50 // grants an extra fixed 50 aptitude the first time
},
{
"target": "minecraft:wither",
"reward": [80, 120],
"first_reward": { "min": 400, "max": 600 }
}
],
"exclude": [ // optional, defaults to empty
"#epiphany:friendly", // if matched, skip this grant entirely
"minecraft:villager" // plain id or "#tag"
]
}Minimal form (only a default reward):
{ "default": 2 } // e.g., experience_level_up.json — +2 aptitude per level-upFixed Amounts and Random Ranges
default, reward, and first_reward all support these three formats:
| Format | Effect |
|---|---|
5 | Grants exactly 5 aptitude each time |
[2, 5] | Randomly chooses 2, 3, 4, or 5 with equal probability each time |
{ "min": 2, "max": 5 } | Equivalent to [2, 5] |
Ranges include both endpoints and accept only nonnegative integers, with the minimum no greater than the maximum. [5, 5] is equivalent to the fixed value 5; existing fixed-value configurations remain valid.
Each trigger rolls the regular reward and any first-time reward available for that trigger separately, adds them together, then applies the player's multiplier. For example, reward: [3, 7] with first_reward: 50 grants 53–57 aptitude the first time and 3–7 on subsequent triggers (with a multiplier of 1.0).
Field Reference
default (optional)
- Type: fixed integer or random range
- Default:
0 - The aptitude granted when the trigger target is neither in
specialsnor inexclude
TIP
If default = 0 and no specials match, the behavior grants no aptitude at all.
specials (optional)
- Type: list of
SpecialEntry - Default: empty
- Per-target reward rules that override the
default
Each SpecialEntry has three fields:
| Field | Type | Required | Description |
|---|---|---|---|
target | String | ✅ | Target reference: a plain id ("minecraft:zombie") or tag reference ("#minecraft:undead") |
reward | Fixed integer or random range | Regular aptitude reward for this target; falls back to default when omitted | |
first_reward | Fixed integer or random range | Extra reward for each player's first grant for this target under this behavior, added to reward |
If multiple entries match the same target, only the first matching entry in the list is used. Place specific IDs before broader tags.
first_reward Usage
first_reward is an extra bonus for "the first time a player does something." Typical use cases:
- First boss kill:
{ "target": "minecraft:wither", "reward": 100, "first_reward": 500 }→ the first wither kill grants 600 (100 + 500); subsequent kills grant only 100 - First time entering a rare biome: same logic
First-time rewards are tracked by player, behavior ID, and concrete target ID, and persist across death, respawn, dimension changes, and reconnecting. When using a tag, each distinct target within the tag has its own first-time reward.
Reaching the point cap, or a total reward of 0 after applying the multiplier and rounding, does not consume the first-time reward. If the regular reward is successfully granted, the first-time reward counts as claimed even if its random roll was 0.
exclude (optional)
- Type: list of String
- Default: empty
- Blacklist: if matched, the grant is completely skipped (bypasses both
specialsanddefaultevaluation) - Each entry is the same format as
target— plain id or"#tag"
exclude has "short-circuit" semantics
exclude is evaluated before specials: if any exclude entry matches the target, the entire grant immediately terminates, even if a special also matches that target. In other words, exclude has the highest priority.
Use case: "no aptitude for any friendly mobs" —"exclude": ["#epiphany:friendly"] — no need to list each one individually.
Tags & Registry Relationship
Both specials[].target and exclude[] support the "#tag" format (standard Minecraft tag references). However, to correctly resolve a tag, the system needs to know which registry the target belongs to:
- Built-in behaviors have fixed registries (see table below) — datapack authors don't need to worry about this; just use the correct tag namespace
- If a behavior has no natural registry (e.g.,
experience_level_up), the"#tag"format never matches and will fall back todefaultor grant nothing
Built-in Behaviors (16 types)
Below are the 16 behaviors that Epiphany provides listeners for natively. The filename in your datapack must match the ID below for the listener to find your configuration.
General Behaviors (Vanilla Events)
| Behavior ID | Trigger | Target Format | Registry | #tag Support |
|---|---|---|---|---|
epiphany:kill_entity | Player kills an entity | entity type id (minecraft:zombie) | ENTITY_TYPE | ✅ |
epiphany:mine_block | Player mines a block | block id (minecraft:diamond_ore) | BLOCK | ✅ |
epiphany:advancement_earn | Player earns an advancement | advancement id (minecraft:end/kill_dragon) | — | ❌ |
epiphany:experience_level_up | Player gains an experience level | none (placeholder) | — | ❌ |
epiphany:enter_dimension | Player changes dimension | dimension id (minecraft:the_nether) | — | ❌ |
experience_level_up only uses default
experience_level_up has no natural target (each level-up is just a number change). The listener calls grant once per level, using a placeholder target. So datapacks only need to write:
{ "default": 2 }specials and exclude are ineffective (the target is always epiphany:_).
Item Acquisition Behaviors
| Behavior ID | Trigger | Target Format | Registry | #tag Support |
|---|---|---|---|---|
epiphany:pickup_item | Player successfully picks up a ground item | item id (minecraft:apple) | ITEM | ✅ |
epiphany:craft_item | Player completes a craft | item id (minecraft:crafting_table) | ITEM | ✅ |
epiphany:smelt_item | Player takes a smelted result | item id (minecraft:iron_ingot) | ITEM | ✅ |
Item behaviors call grant once per event; the reward is not multiplied by the ItemStack count. smelt_item covers a player taking a smelting result, but does not guarantee coverage for hoppers, automated machines, or items internally generated by other mods.
Recommended pickup_item Configuration
Players can repeatedly drop and re-pick items, or obtain them from item farms. To prevent aptitude farming, keep pickup_item's default at 0 and configure only first_reward for items worth recording:
{
"default": 0,
"specials": [
{ "target": "minecraft:apple", "first_reward": 5 }
]
}Each player's first_reward for a target is granted only once and is persisted.
State-Tracking Behaviors (Require Persistent Comparison)
| Behavior ID | Trigger | Target Format | Registry | #tag Support |
|---|---|---|---|---|
epiphany:enter_biome | Player's current biome changes | biome id | BIOME (from level registry) | ✅ |
epiphany:enter_structure | Player's set of containing structures changes | structure id or epiphany:none (not in any structure) | STRUCTURE (from level registry) | ✅ |
Special Target for enter_structure
When the player is not inside any structure, the listener sends epiphany:none as the target (a sentinel value). You can use this to implement "exploration reward only while inside structures" logic:
{
"default": 1,
"specials": [
{ "target": "epiphany:none", "reward": 0 } // no aptitude when not in a structure
]
}Epiphany Internal Behaviors
| Behavior ID | Trigger | Target Format |
|---|---|---|
epiphany:module_selected | Module selected (ModuleSelectedEvent) | module id |
epiphany:module_completed | Module completed (ModuleCompletedEvent) | module id |
epiphany:insight_selected | Insight unlocked (InsightSelectedEvent) | insight id |
epiphany:epiphany_selected | Epiphany activated (EpiphanySelectedEvent) | epiphany id |
FTB Quests Integration (Soft Dependency)
| Behavior ID | Trigger | Target Format | Notes |
|---|---|---|---|
epiphany:ftbq_quest_complete | FTB Quests quest completed | FTBQ quest hex string id | Requires FTB Quests installed |
epiphany:ftbq_chapter_complete | FTB Quests chapter completed | FTBQ chapter hex string id | Same as above |
When FTB Quests is not loaded, these two listeners will not register (soft dependency isolation), and the corresponding JSONs are simply ignored without causing crashes.
Configuration
Behavior JSON files determine how much aptitude is granted; config/epiphany-progression-server.toml determines how much aptitude each Insight Point costs and how many points a player can earn.
| Config Option | Default Rule | Purpose |
|---|---|---|
maxTotalInsightPoints | -1 (unlimited) | Limits the sum of spent and unspent Insight Points |
curve | First point costs 10, increasing by 1 per point | Defines the aptitude cost of each point, with support for segmented functions |
See Config · Growth Curve for the five function types, their parameters, and a complete TOML example.
Aptitude Gain Multiplier
The aptitude gain multiplier is the player attribute epiphany:aptitude_gain_multiplier, rather than a TOML setting.
| Property | Description |
|---|---|
| Attribute ID | epiphany:aptitude_gain_multiplier |
| Default | 1.0 (1D) |
| Range | 0.0 ~ 100.0 |
| Application | Add the regular and first-time rewards, multiply by the player's effective multiplier, then round down |
- Other mods / items can adjust each player's multiplier using vanilla
AttributeModifier - Server admins can adjust the base value with the vanilla
/attributecommand 0.0disables datapack-source gains for that player;2.0doubles them
For example, if the regular reward rolls 3, the first-time reward rolls 10, and the player's multiplier is 1.5, the final grant is ⌊(3 + 10) × 1.5⌋ = 19 aptitude. The multiplier is applied once, after adding the rewards together.
Aptitude → Insight Point Formula
Let n = spent Insight Points + unspent Insight Points. The growth curve f(n) gives the aptitude required to earn the next point. Each time a point is earned, its cost is deducted and the next cost is calculated using the new total. Any remaining aptitude is retained.
The default curve is f(n) = 10 + n:
| Current Total Points n | Aptitude Needed for Next Point |
|---|---|
| 0 | 10 |
| 1 | 11 |
| 2 | 12 |
| 5 | 15 |
| 10 | 20 |
| 50 | 60 |
For example, starting from zero and gaining 25 aptitude at once deducts 10 for the first point, then 11 for the second, leaving 4 aptitude.
The curve supports constant, linear, quadratic, exponential, and convergent functions to set different progression rates for different intervals. Each point's actual cost is rounded up. In the configuration, from = 0 corresponds to the first point, and from = 10 to the eleventh.
Total Insight Point Cap
maxTotalInsightPoints limits each player's spent + unspent Insight Points. -1 means unlimited, and 0 prevents new points from being gained.
For example, with a cap of 50, a player who has spent 40 points and has 9 unspent can earn only 1 more. Even a large aptitude grant will only be processed up to the 50th point, with the remaining aptitude discarded. Further aptitude and point gains then stop. Points added directly by commands and rewards are also subject to this limit.
Normal spending and the corresponding refunds preserve the total, so they neither change the growth curve tier nor make room to earn more points. Lowering the cap preserves existing data; raising it allows progression to resume. Direct point deductions by admins or reversing point rewards can reduce the total.
Where Insight Points Go
Insight Points have two spending destinations, both handled by the system:
| Spending Scenario | Amount | Point Changes |
|---|---|---|
| Selecting a module | moduleSelectCost (default 1) | Available points decrease by the cost; spent points increase by the same amount |
| Unlocking an insight | Per-insight cost field (default 1) | Same as above |
Next Steps
- How players earn and spend Insight Points → Mechanics
- Editing the point cap and growth curve → Config
- Granting aptitude from Java code → Manager API / AptitudeSourceManager
- Registering new aptitude behaviors (third-party extensions) → Registering a New Aptitude Source