Modify Powers
These powers modify various game mechanics.
origins:modify_attribute
Applies an attribute modifier while active.
| Field | Type | Default | Description |
|---|---|---|---|
attribute | Identifier | required | Minecraft attribute ID (e.g. minecraft:generic.max_health) |
modifier | [Attribute Modifier] or List | required | The attribute modifier(s) to apply |
Example
{
"type": "origins:modify_attribute",
"attribute": "minecraft:generic.max_health",
"modifier": {
"id": "origins:extra_health",
"amount": 10,
"operation": "add_value"
}
}
This example will set the total value of the entity's minecraft:generic.attack_damage attribute using the value of the example:resource (data/example/powers/resource.json) power.
origins:modify_air_speed
Modifies the player's air speed (flying horizontally in creative/elytra).
| Field | Type | Default | Description |
|---|---|---|---|
modifier | [Modifier] or List | [] | Modifier applied to air speed |
Example
{
"type": "origins:modify_air_speed",
"modifier": {
"operation": "multiply_total",
"value": 1.5
}
}
This example will increase the entity's air speed by 150%.
origins:modify_block_render
Modifies block rendering distance/shape.
| Field | Type | Default | Description |
|---|---|---|---|
block_condition | Block Condition | optional | Condition for blocks to apply the modification |
Example
{
"type": "origins:modify_block_render",
"block_condition": {
"type": "origins:block",
"block": "minecraft:diamond_ore"
},
"block": "minecraft:diamond_block"
}
This example will make Diamond Ore blocks look like Diamond Blocks.
origins:modify_break_speed
Modifies block breaking speed.
| Field | Type | Default | Description |
|---|---|---|---|
modifier | [Modifier] or List | [] | Modifier applied to break speed |
hardness_modifier | [Modifier] or List | [] | Modifier applied to block hardness |
block_condition | Block Condition | optional | Condition for affected blocks |
Example
{
"type": "origins:modify_break_speed",
"block_condition": {
"type": "origins:block",
"block": "minecraft:netherrack"
},
"modifier": {
"operation": "multiply_base",
"value": 0.5
}
}
This example will allow the player to break Netherrack 50% faster than usual.
origins:modify_camera_submersion
Modifies camera effects when submerged in fluids.
| Field | Type | Default | Description |
|---|---|---|---|
from | Identifier | required | Original camera submersion type |
to | Identifier | required | Replacement camera submersion type |
Example
{
"type": "origins:modify_camera_submersion",
"from": "none",
"to": "water"
}
This example will make it look like the player is submerged in Water if the player is not submerged in any fluid.
origins:modify_crafting
Modifies crafting results.
| Field | Type | Default | Description |
|---|---|---|---|
recipe | Identifier | required | Recipe ID to modify |
result | Item Stack | optional | Replacement result item |
result_action | Item Action | optional | Action applied to the crafted result |
Example
{
"type": "origins:modify_crafting",
"recipe": "minecraft:wooden_sword",
"result": {
"item": "minecraft:diamond_sword"
}
}
This example will replace the result item stack from the minecraft:wooden_sword (data/minecraft/recipes/wooden_sword.json) vanilla recipe with a Diamond Sword only for the player that has the power.
origins:modify_damage_dealt
Modifies damage dealt by the player.
| Field | Type | Default | Description |
|---|---|---|---|
modifier | Modifier or List | [] | Modifier applied to damage dealt |
target_condition | Entity Condition | optional | Condition the target must meet |
damage_condition | Damage Condition | optional | Condition the damage must meet |
bientity_condition | Bi-entity Condition | optional | Bi-entity condition between attacker and target |
self_action | Entity Action | optional | Action executed on the attacker |
target_action | Entity Action | optional | Action executed on the target |
bientity_action | Bi-entity Action | optional | Bi-entity action between attacker and target |
Example
{
"type": "origins:modify_damage_dealt",
"condition": {
"type": "origins:in_block_anywhere",
"block_condition": {
"type": "origins:block",
"block": "minecraft:water"
},
"comparison": ">=",
"compare_to": 1
},
"modifier": {
"name": "Extra damage when submerged",
"operation": "addition",
"value": 5.0
}
}
This example will give the entity that has the power additional 2 and a half hearts of damage if the entity is in Water, regardless of its fluid level.
origins:modify_damage_taken
Modifies damage taken by the player.
| Field | Type | Default | Description |
|---|---|---|---|
modifier | [Modifier] or List | [] | Modifier applied to damage taken |
damage_condition | Damage Condition | optional | Condition the damage must meet |
attacker_condition | Entity Condition | optional | Condition the attacker must meet |
Example
{
"type": "origins:modify_damage_taken",
"damage_condition": {
"type": "origins:attacker",
"entity_condition": {
"type": "origins:equipped_item",
"equipment_slot": "mainhand",
"item_condition": {
"type": "origins:or",
"conditions": [
{
"type": "origins:enchantment",
"enchantment": "minecraft:binding_curse",
"comparison": ">=",
"compare_to": 1
},
{
"type": "origins:enchantment",
"enchantment": "minecraft:vanishing_curse",
"comparison": ">=",
"compare_to": 1
}
]
}
}
},
"modifier": {
"name": "Weak to cursed items",
"operation": "addition",
"value": 5.5
}
}
This example will make the entity that has the power take 2 and a half additional hearts of damage if the attacker is holding an item with either the Curse of Binding, or Curse of Vanishing enchantments.
origins:modify_effect_amplifier
Modifies the amplifier of status effects on the player.
| Field | Type | Default | Description |
|---|---|---|---|
effect | Identifier | optional | Effect ID to modify |
modifier | [Modifier] or List | [] | Modifier applied to the effect amplifier |
origins:modify_effect_duration
Modifies the duration of status effects on the player.
| Field | Type | Default | Description |
|---|---|---|---|
effect | Identifier | optional | Effect ID to modify |
modifier | [Modifier] or List | [] | Modifier applied to the effect duration |
origins:modify_enchantment_level
This power type is not yet implemented in the Origins (NeoForge). It will be available in a future update.
Modifies enchantment levels.
| Field | Type | Default | Description |
|---|---|---|---|
enchantment | Identifier | required | Enchantment ID to modify |
modifier | [Modifier] or List | [] | Modifier applied to enchantment level |
Example
{
"type": "origins:modify_enchantment_level",
"enchantment": "minecraft:silk_touch",
"modifier": {
"operation": "set_total",
"value": 1
}
}
This example will grant the player the ability to use Silk Touch, regardless of whether the player is holding any item or no item at all.
origins:modify_exhaustion
Modifies exhaustion gain.
| Field | Type | Default | Description |
|---|---|---|---|
modifier | [Modifier] or List | [] | Modifier applied to exhaustion |
Example
{
"type": "origins:modify_exhaustion",
"modifier": {
"name": "Increased exhaustion",
"operation": "multiply_base",
"value": 2.0
}
}
This example triples the exhaustion rate of the player.
origins:modify_falling
Modifies falling damage and speed.
| Field | Type | Default | Description |
|---|---|---|---|
take_fall_damage | Boolean | true | Whether the player takes fall damage |
velocity | Float | optional | Override fall velocity |
Example
{
"type": "origins:modify_falling",
"velocity": 1.0,
"take_fall_damage": false,
"condition": {
"type": "origins:sneaking"
}
}
This example will make the player fall faster and not take fall damage if they're sneaking.
origins:modify_fluid_render
Modifies how fluids are rendered around the player.
| Field | Type | Default | Description |
|---|---|---|---|
fluid | Identifier | required | Fluid ID |
block_condition | Block Condition | optional | Condition at the fluid position |
Example
{
"type": "origins:modify_fluid_render",
"block_condition": {
"type": "origins:block",
"block": "minecraft:water"
},
"fluid": "minecraft:lava"
}
This example will make Water look like Lava.
origins:modify_food
Modifies food value when eating.
| Field | Type | Default | Description |
|---|---|---|---|
food_modifier | [Modifier] or List | [] | Modifier applied to food restored |
saturation_modifier | [Modifier] or List | [] | Modifier applied to saturation restored |
item_condition | Item Condition | optional | Condition the food item must meet |
Example
{
"type": "origins:modify_food",
"item_condition": {
"type": "origins:ingredient",
"ingredient": {
"item": "minecraft:dried_kelp"
}
},
"food_modifier": {
"name": "Increased food points",
"operation": "addition",
"value": 3.0
},
"saturation_modifier": {
"name": "Increased saturation points",
"operation": "addition",
"value": 1
}
}
This example will add 1 and a half shanks of hunger, and 1 saturation point if a player eats a dried kelp, totalling to 2 shanks of hunger and 6.4 saturation points.
origins:modify_grindstone
Modifies grindstone results.
| Field | Type | Default | Description |
|---|---|---|---|
result_action | Item Action | optional | Action applied to the grindstone result |
result | Item Stack | optional | Replacement result item |
Example
{
"type": "origins:modify_grindstone",
"xp_modifier": {
"operation": "multiply_total_multiplicative",
"value": 0.5
}
}
This example will increase the experience recieved from removing enchantments from an enchanted item to 50%.
origins:modify_harvest
Modifies harvest behavior (drops, silk touch, fortune).
| Field | Type | Default | Description |
|---|---|---|---|
block_condition | Block Condition | optional | Condition for affected blocks |
allow | Boolean | true | Whether harvesting is allowed |
Example
{
"type": "origins:modify_harvest",
"block_condition": {
"type": "origins:block",
"block": "minecraft:diamond_block"
},
"allow": true
}
This example will allow players to harvest a Diamond Block regardless of using the proper tool or not.
origins:modify_healing
Modifies natural health regeneration.
| Field | Type | Default | Description |
|---|---|---|---|
modifier | [Modifier] or List | [] | Modifier applied to healing |
Example
{
"type": "origins:modify_healing",
"modifier": {
"operation": "multiply_total",
"value": 1
}
}
This example will double the effectiveness of all healing used on you.
origins:modify_insomnia_ticks
Modifies phantom insomnia ticks.
| Field | Type | Default | Description |
|---|---|---|---|
modifier | [Modifier] or List | [] | Modifier applied to insomnia ticks |
Example
{
"type": "origins:modify_insomnia_ticks",
"modifier": {
"operation": "set_total",
"value": 0
}
}
This example will set the value used for calculating when a Phantom will spawn for a player to 0, essentially disabling Phantoms from spawning for the player that has the power.
origins:modify_jump
Modifies jump height.
| Field | Type | Default | Description |
|---|---|---|---|
modifier | [Modifier] or List | [] | Modifier applied to jump velocity |
Example
{
"type": "origins:modify_jump",
"modifier": {
"operation": "addition",
"value": 0.4
},
"entity_action": {
"type": "origins:execute_command",
"command": "particle cloud ~ ~ ~ 0.3 0.3 0.3 0.01 16 normal @a"
}
}
This example will increase the entity that has the power's jump height to 4 blocks and display a cloud particle at the entity's feet upon jumping.
origins:modify_player_spawn
Modifies where the player spawns/respawns.
| Field | Type | Default | Description |
|---|---|---|---|
dimension | Identifier | required | Dimension ID for spawning |
spawn_strategy | String | default | Spawn strategy: default or center |
Example
{
"type": "origins:modify_player_spawn",
"dimension": "minecraft:the_end",
"structure": "minecraft:end_city",
"spawn_strategy": "center"
}
This example will let players spawn at an End City in The End dimension.
origins:modify_projectile_damage
Modifies projectile damage.
| Field | Type | Default | Description |
|---|---|---|---|
modifier | [Modifier] or List | [] | Modifier applied to projectile damage |
damage_condition | Damage Condition | optional | Condition the damage must meet |
Example
{
"type": "origins:modify_projectile_damage",
"damage_condition": {
"type": "origins:projectile",
"projectile": "minecraft:spectral_arrow"
},
"modifier": {
"operation": "addition",
"value": 8.0
}
}
This example will modify the damage of the Spectral Arrow projectile entity shot by the entity that has the power to deal additional 4 hearts of damage.
origins:modify_slipperiness
Modifies how slippery blocks are for the player.
| Field | Type | Default | Description |
|---|---|---|---|
modifier | [Modifier] or List | [] | Modifier applied to block slipperiness |
block_condition | Block Condition | optional | Condition for affected blocks |
Example
{
"type": "origins:modify_slipperiness",
"modifier": {
"operation": "multiply_total",
"value": 0.5
},
"block_condition": {
"type": "origins:block",
"block": "minecraft:dirt"
}
}
This example will increase the entity's friction by 50% while standing on dirt blocks.
origins:modify_velocity
Modifies the player's velocity in response to knockback, explosions, etc.
| Field | Type | Default | Description |
|---|---|---|---|
modifier | [Modifier] or List | [] | Modifier applied to velocity changes |
Example
{
"type": "origins:modify_velocity",
"modifier": {
"value": -2,
"operation": "multiply_total"
},
"axes": [
"x",
"y",
"z"
]
}
This example will make all of the player's velocity reversed. You'll fall upwards, your movement keys will be inverted, etc.
origins:modify_xp_gain
Modifies experience gained.
| Field | Type | Default | Description |
|---|---|---|---|
modifier | [Modifier] or List | [] | Modifier applied to XP gain |
Example
{
"type": "origins:modify_xp_gain",
"modifier": {
"operation": "multiply_base",
"value": 2.0
}
}
This example will triple the gained experience from experience orbs.