{
  "type": "origins:action_over_time",
  "name": "Credit:",
  "description": "Creator: Interface5",
  "hidden": true,
  "entity_action": {
    "type": "origins:and",
    "actions": [
      {
        "type": "origins:execute_command",
        "permission_level": 4,
        "command": "/stopsound @a * minecraft:ambient.underwater.loop"
      },
      {
        "type": "origins:execute_command",
        "permission_level": 4,
        "command": "/stopsound @a * minecraft:ambient.underwater.loop.additions"
      },
      {
        "type": "origins:execute_command",
        "permission_level": 4,
        "command": "/stopsound @a * minecraft:ambient.underwater.loop.additions.rare"
      },
      {
        "type": "origins:execute_command",
        "permission_level": 4,
        "command": "/stopsound @a * minecraft:ambient.underwater.loop.additions.ultra_rare"
      },
      {
        "type": "origins:execute_command",
        "permission_level": 4,
        "command": "/stopsound @a * minecraft:entity.generic.swim"
      },
      {
        "type": "origins:execute_command",
        "permission_level": 4,
        "command": "/stopsound @a * minecraft:entity.player.swim"
      }
    ]
  },
      "condition": {
        "type": "origins:fluid_height",
        "inverted": true,
        "comparison": ">",
        "fluid": "minecraft:water",
        "compare_to": 1
    },
  "interval": 1
}
Dream with Sunglasses
#3568

Tetromine — 04/28/2021
You can only eat wheat and grass + you can eat grass from the ground by using primary.
{
	"name": "Herbivore",
	"description": "You can only eat grass and wheat. Use your primary ability to eat grass straight from the ground",
	"type": "origins:multiple",
	"no_food": {
		"type": "origins:prevent_item_use",
Expand
herbivore.json
8 KB
Jumper — 04/28/2021
a passive power that prevents you from using ranged weapons, but buffs the damage of swords
values adjustable as you see fit
{
    "name": "Swordsman",
    "description": "Your abilities with a sword are noteworthy, but your pride doesn't let you use any ranged weapons.",
    "type": "origins:multiple",
    "swords_only": {
        "type": "origins:prevent_item_use",
Expand
swordsman.json
3 KB
Argos — 04/29/2021
A simple ability that makes you stronger when using your fist (like strength 4)
{
	"type": "origins:conditioned_attribute",
	"modifier": {
		"attribute": "minecraft:generic.attack_damage",
		"operation": "addition",
		"value": 6
Expand
warrior.json
1 KB
an ocelot — 04/29/2021
This will make wolves hostile towards your origin and make them attack you
{
	"type": "origins:multiple",
	"mad": {
		"type": "origins:action_over_time",
		"entity_action": {
			"type": "origins:execute_command",
Expand
wolfhostile.json
1 KB
Shoebill
BOT
 — 04/30/2021
This channel is only for posting powers that can be used by other people. For discussion about the powers listed in this channel, please go to #datapack-talk. If you need help related to the powers listed in here, please go to #datapack-dev-1
Jumper — 04/30/2021
activatable power with a cooldown that makes your next attack cause a cloud of poison and slowness around the enemy
there is a visual indicator for when the power is active
feel free to swap the effects or the whole entity action
{
    "type": "origins:multiple",
    "active": {
        "type": "origins:resource",
        "min": 0,
        "max": 1,
Expand
rage_fungus.json
3 KB
Jumper — 04/30/2021
a lot of varied bonuses while in jungle/forest/swamp/taiga biomes, but you can only sleep in those biomes.
just read thru the power if u wanna know all the bonuses cuz there is a bunch
{
    "name": "One with Nature",
    "description": "Your deep knowledge and affection of nature makes you unmatched in swamp, jungle, taiga and forest biomes.",
    "type": "origins:multiple",
    "spawn": {
        "type": "origins:modify_player_spawn",
Expand
one_with_nature.json
7 KB
Jumper — 04/30/2021
a meta power that cycles between 3 different resources using primary action and actually looks nice on the hud, you can assign them whatever you want
(doesn't do anything by itself)
{
    "type": "origins:multiple",
    "yellow": {
        "type": "origins:resource",
        "min": 0,
        "max": 1,
Expand
bluhen.json
5 KB
Jumper — 04/30/2021
since some people were confused about the use of the previous power, here is an example of a "finished" power using it

- you can swap between red/yellow/blue eid using your primary power

- your secondary power causes an effect cloud (has cooldown), with the effect depending on your current eid (red - strength, blue - resistance, yellow - regen)

- your normal attacks cause a status effect depending on your currently active eid (red - weakness, blue - levitation, yellow - short wither)

- you get passive bonuses depending on your currently active eid (red - increased damage caused and taken, blue - increased movement speed and jump height, yellow - drastically decreased exhaustion)

also this is definitely the most overcomplicated power i made yet
{
    "name": "Eid System",
    "description": "Use your primary power button to swap between different eids. Depending on which eid is currently active, both your own abilities and your secondary power's attributes change. Use the Red eid to overwhelm your enemies with brute force, but be careful of the same happening to you. With Blue Eid active, you become as the wind. With Yellow Eid active, you can manipulate health of you and those around you.",
    "type": "origins:multiple",
    "yellow": {
        "type": "origins:resource",
Expand
bluhen.json
11 KB
CoolandonRS (Keyboard Smasher) — 04/30/2021
This requires pehkui.
A visual power that uses a (somewhat) hidden feature of pehkui to visibly hide the arms and legs of a player. Doesn't really have any effects besides visual and immobilizing/slowing player for a few seconds on spawn/choosing it.
(Note since pehkui values reset on death, your legs will stay gone until death if you change your origin)
(@DarkBill59 caused me to discover this, and I made it a power for fish, and humor)
(Also keep in mind if you have a separate motion modifier you have to change the 1 to whatever it is, and of course change name and description)
{
    "type": "origins:action_on_callback",
    "entity_action_chosen": {
        "type": "origins:and",
        "actions": [
            {
Expand
nolimbs.json
2 KB
TheEldritchEcho — 04/30/2021
Made this by accident. I think at least one person will appreciate it
{
	"name": "Instant Kill",
	"description": "HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH",
	"type": "origins:target_action_on_hit",
	"cooldown": 1,
	"entity_action": {
Expand
instantkill.json
1 KB
drewdiesinside — 04/30/2021
Ability that's pretty much just riptide 3, originally from lato origins
Sprite might not load for the bar but I can’t test rn
{
  "type": "origins:active_self",
  "name": "torpedo",
  "description": "You can lauch yourself through the water at high speeds using the primary abiliy key",
  "entity_action": {
    "type": "origins:add_velocity",
Expand
water_torpedo.json
1 KB
LodtheFraud — 05/01/2021
Uber Potion:
This power allows the user to build a uber charge by hitting enemies. After 100 charge is generated, they may press H (Or whatever their secondary key is) to activate the uber potion. The potion grants strength, speed, jump boost, and absorption for 20 seconds. However, after its effect exhausts, the user is stunned for 3 seconds.

To use the power, download the .json and put it in your powers folder. Then, assign the power as you normally would. You MUST replace any parts named YOUR_NAMESPACE with the namespace of your file. For example, if my filepath is Origins Redux/data/originsredux/powers, replace all YOUR_NAMESPACEs with originsredux. You can do this by pressing "Ctrl-F" and selecting all YOUR_NAMESPACEs in your text editor, then using the "replace all" function and substituting in your namespace - In this case, originsredux.

Requirements: Origins 0.7. 

(Video demo in #origins-media)
{
	"type": "origins:multiple",
	"name": "Uber Potion",
	"description": "By extracting the energy from your foes, you can build up a powerful potion effect that borders on completely transforming you into a beast of destruction.",
	"set_up": {
		"type": "origins:action_on_callback",
Expand
uber_potion.json
5 KB
LodtheFraud — 05/01/2021
Cobweb Shot:
This power allows the user to shoot a 3x3x3 burst of cobwebs towards their enemies. Recharging every 20 seconds, the user can press G (Or whatever their primary key is) to shoot a projectile, that upon intersecting a block, expands into a burst of cobwebs that lasts for 5 seconds. You must aim for a block - This projectile is not effected by entities.

To use the power, download and extract the .zip file, put the .json file in your powers folder, and put the .mcfunction file in your functions folder (If you don't have one, create a "functions" folder within your namespace) (If you already have a .mcfunction file, you can simply add the following line of code to it - scoreboard objectives add spidertimer dummy). Then, assign the power as you normally would.

Requirements: Origins 0.7. 

(Video demo in #origins-media)
Attachment file type: archive
cobweb_shot.zip
2.05 KB
Shoebill
BOT
 — 05/02/2021
This channel is only for posting powers that can be used by other people. For discussion about the powers listed in this channel, please go to #datapack-talk. If you need help related to the powers listed in here, please go to #datapack-dev-1
Dan's Other Clone (Lepus) — 05/04/2021
Simple block tag for all villager work stations. Made it for some refinements to a WIP of mine, thought it'd prove useful to others.
{
    "replace": false,
    "values": [
        "minecraft:lectern",
        "minecraft:composter",
        "minecraft:grindstone",
Expand
workstations.json
1 KB
Dan's Other Clone (Lepus) — 05/04/2021
I'm going to remove my PTSD power from my Veteran datapack for personal decisions, but I've decided to leave the code here for others to use.

Synopsis: 30% chance per minute to play a sound, and inflict blindness, slowness, and nausea for varying time lengths for up to 20 seconds long when not in the Overworld dimension.
{
    "type": "origins:action_over_time",
    "condition": {
        "type": "origins:dimension",
        "inverted": true,
        "dimension": "minecraft:overworld"
Expand
ptsd.json
2 KB
Shoebill
BOT
 — 05/05/2021
This channel is only for posting powers that can be used by other people. For discussion about the powers listed in this channel, please go to #datapack-talk. If you need help related to the powers listed in here, please go to #datapack-dev-1
𝓹❆𝓵𝓪𝓻 — 05/06/2021
A very janky ride power that allows other people to ride you. Needs the extra keybinds mod to work
Attachment file type: archive
ride_powers.zip
1.37 KB
LuaDotExe — 05/06/2021
A simple set of Powers in a Multiple, created as an example of how to utilize a Resource as a timer.
This example uses this to add a duration to Phasing, but you can switch out the Phasing Power for whatever you'd like and edit it however you want.
{
	"type": "origins:multiple",
	"duration": {
		"type": "origins:resource",
		"min": 0,
		"max": 20,
Expand
timed_phasing.json
1 KB
Efimity(*Points Gun*Flowers,NOW) — 05/06/2021
A little bit more complicated Photosynthesis power which is a little bit more "realistic" and can adapt.
{
	"type": "origins:multiple",
	"medium_quality": {
		"type": "origins:action_over_time",
		"interval": 60,
		"entity_action": {
Expand
dirt_diet.json
4 KB
Winter — 05/06/2021
start off with 3/10 armor points
{
	"name": "tough scales",
	"description":"you have dragonlike scales protecting your body",
  "type": "origins:attribute",

  "modifier": {
Expand
tough_scales.json
1 KB
Sugar — 05/06/2021
A power that prevents the user from drinking potions
{
    "type": "origins:prevent_item_use",
    "item_condition": 
	{    
            "type":"origins:ingredient",
			"ingredient": 		
Expand
prevent_pots.json
1 KB
Omega Floof — 05/06/2021
I made a power that lets you craft an orb of origin with a shapeless crafting recipe containing 5 diamonds, one netherite ingot, one scute, one totem of undying, and one blaze powder. The description says the recipe, but it is lightly encoded by shifting each letter e.g. a to b, or b to c. The id of the recipe is pharaoh/orbcrafting.
{
    "type": "origins:recipe",
	"name":"???",
	"description":"Dsbgu xjui Ejbnpoe Ejbnpoe Ejbnpoe Ejbnpoe Ejbnpoe Xjuifs Tubs Cmbaf Qpxefs Tdvuf Ofuifsjuf Johpu",
    "recipe": {
        "id": "origins:pharaoh/orbcrafting",
Expand
craftorb.json
2 KB
LodtheFraud — 05/06/2021
Scopophobia:
This power causes the viewer to become frozen when looked at. Indicated by an enderman shriek sound effect and purple particles, after looking at the player with this power for over 0.5 seconds, they gain the aforementioned debuffs until you drop your gaze.

To use the power, download the and extract the .zip file, put the watcher_rage.json file in your powers folder, put the start.mcfunction, viewtime_increment.mcfunction, and look.mcfunction files in your functions folder, and put the blocks/translucent.json file in your tags folder (If you don't have any of those folders, create one with the appropriate name within your namespace). Then, assign the power as you normally would. 

You MUST replace any [YOURNAMESPACEHERE]s with the namespace of your file (If you don't have a . For example, if my filepath is Origins Redux/data/originsredux/powers, replace all  [YOURNAMESPACEHERE]s with originsredux. You can do this by pressing "Ctrl-F" and selecting all  [YOURNAMESPACEHERE]s in your text editor, then using the "replace all" function and substituting in your namespace - In this case, originsredux).  [YOURNAMESPACEHERE] exists in the look.mcfunction file, the start.mcfunction file, and the watcher_rage.json file, so make sure you replace all of these instances. 

This power MAY cause lag while origins with this power are on, as it uses a rather taxing raycast function. The function has gone through multiple optimizations, and works completely fine on our server; Nonetheless, if you are running your server through your home PC or through a weak server host, then this may cause server side lag. This shouldn't cause any client side lag.

All feature in this power are completely editable. If you need help editing any segment, feel free to DM me. THIS POWER IS MULTIPLAYER COMPATIBLE.

Requirements: Origins 0.7. 

(Video demo in #origins-media)
Attachment file type: archive
Scopophobia.zip
3.21 KB
Pello (The Lazy One) — 05/08/2021
Here's a simple file to make a specified mob neutral toward the player, so that it won't attack in situations where it normally would. This is set up for creepers specifically, but all you have to do to change it is find the two sections that refer to "minecraft:creeper" and change them to the mob id of your choice. This also includes a retaliation feature, so that attacking the affected mob will make it fight back. If you want them to stay passive forever and never fight back, just remove the entire "aggress" subpower. Enjoy!

- Piglins, Zombified Piglins, Piglin Brutes, Evokers, Pillagers, Vindicators, and Ravagers cannot be affected by this power. There are mods which allow these mobs to be passive toward the player, but they operate differently. /team commands used on these mobs simply will not work, because the base game doesn't allow it, and the Origins mod does not change that fact.
- If you use the Requiem mod, /team commands may not register at all when added through data-driven commands. This is a long-standing issue with Requiem that has been partially remedied in recent updates, but it has not been fixed completely yet. So while you're using Requiem, any uses of this power will be unreliable at best; even if it works initially, it may randomly stop working later on without warning. It's best to avoid using them together.
- If you wish for this power to apply to multiple mobs, there are a few options. The simplest way is to use an origins:and meta-action to run multiple copies of the /team command (the long one inside the "team" subpower), and then use an origins:or meta-action to apply the "aggress" power to your chosen entities (inside the target_condition object). You can also use an entity_type tag file to apply the changes, but that requires knowledge of how to use tag files correctly, and I don't really feel like explaining that right now. But it is possible.
{
	"type": "origins:multiple",
	"callback": {
		"type": "origins:action_on_callback",
		"entity_action_added": {
			"type": "origins:execute_command",
Expand
neutral_mobs.json
2 KB
Shoebill
BOT
 — 05/08/2021
This channel is only for posting powers that can be used by other people. For discussion about the powers listed in this channel, please go to #datapack-talk. If you need help related to the powers listed in here, please go to #datapack-dev-1
BenHotLava (Function Child) — 05/08/2021
Basically burn in daylight but you have a rechargeable gauge to prevent the burning. This currently as set goes up whenever you aren't in the sun. if you're in the sun the gauge will decrease and when it's almost empty you'll start burning. I have believ a maxed gauge currently gives around 7 seconds of sun time.
Attachment file type: archive
Sunscreen_Power_with_test_origin_inside.zip
2.77 KB
RocketMan — 05/09/2021
I have finally done it!!!, here is a fully functioning, customisable , fire trail ability! :blazeborn: get goin (thanks to @oui-woo for the help)
Attachment file type: archive
fire_trail_folder.zip
345 bytes
OmniiPotence — 05/10/2021
ability to fire a projectile (can be configured to any other entity)
{
   "type":"origins:fire_projectile",
   "cooldown":35,
   "hud_render":{
      "bar_index":7
   },
Expand
ghost_projectile.json
1 KB
Shoebill
BOT
 — 05/10/2021
This channel is only for posting powers that can be used by other people. For discussion about the powers listed in this channel, please go to #datapack-talk. If you need help related to the powers listed in here, please go to #datapack-dev-1
LodtheFraud — 05/10/2021
Battle Forge:
This power allows specific origins to craft a mighty battle forge, channeling the power of precious gems and metals from the stone below into powerful imbues that can buff the user going into combat.

To craft a Battle Forge, you must be of the appropriate origin. Arrange 3 gold blocks on the top row, and three gold ingots on the bottom row. In the dead center, place a netherite block. You can imbue yourself with iron, gold, diamond, and netherite ingots and blocks, their effects listed below. Ingots give one stack of the imbue, while blocks give the maximum amount of stacks. Imbues last for 3 minutes. Imbuing yourself with an imbue you already have refreshes the duration of the imbue, as well as adding extra stacks if possible.
Iron: +4 Armor, +2 Armor Toughness, -10% speed/5 stacks
Gold: +2 HP/10 Stacks
Diamond: +10% Movement Speed, +8% Attack Speed/3 Stacks
Netherite: +50% Attack Damage, -10% Attack Speed/5 Stacks

To use the power, download the and extract the .zip file, put the Battle Forge.zip file in your world's datapacks folder, put the piglin_startup.json file in your powers folder, and put the Battle Forge Resources.zip file in your resource pack folder. Then, assign the power as you normally would, and select the Battle Forge Resources.zip resource pack.

All feature in this power are completely editable. If you need help editing any segment, feel free to DM me.

Requirements: Origins 0.7. 

(Video demo in #origins-media)
Attachment file type: archive
Battle_Forge_Power.zip
32.11 KB
MoriyaShiine — 05/10/2021
:exclamation: This is a mod, not a data pack :exclamation: 

Requires: Pehkui >= 2.1.0

Adds a power (sizefluctuatepower:fluctuate_size) that makes you oscillate from 0.25 size to 2.25 size
Attachment file type: unknown
sizefluctuatepower-1.16.5-1.jar
6.91 KB
Shoebill
BOT
 — 05/12/2021
This channel is only for posting powers that can be used by other people. For discussion about the powers listed in this channel, please go to #datapack-talk. If you need help related to the powers listed in here, please go to #datapack-dev-1
OmniiPotence — 05/12/2021
toggleable climbing ability
{
   "type":"origins:multiple",
   "toggle":{
      "type":"origins:toggle",
      "key":{
         "key":"key.origins.secondary_active",
Expand
riggings.json
2 KB
Feu_Ghost, The Hell Priest — 05/12/2021
The climbing is just toggleable and on by default bro
Shoebill
BOT
 — 05/12/2021
This channel is only for posting powers that can be used by other people. For discussion about the powers listed in this channel, please go to #datapack-talk. If you need help related to the powers listed in here, please go to #datapack-dev-1
turt — 05/12/2021
toggleable levitation/flight
its not much but eh
you can probably edit it to turn it into another toggleable potion effect
{
    "type": "origins:active_self",
    "entity_action": {
        "type": "origins:if_else",
        "condition": {
            "type": "origins:status_effect",
Expand
wings.json
1 KB
turt — 05/12/2021
Restores the player's hunger by 1 point whenever the player hits a mob (has a 1 second cooldown). If the player has full hunger, it gives 0.5 saturation instead.
I recommend using this with another power that makes it so the player cant eat any food.
{
    "type": "origins:self_action_on_hit",
    "entity_action": {
        "type": "origins:if_else",
        "condition": {
            "type": "origins:food_level",
Expand
restore_hunger.json
1 KB
Shoebill
BOT
 — 05/12/2021
This channel is only for posting powers that can be used by other people. For discussion about the powers listed in this channel, please go to #datapack-talk. If you need help related to the powers listed in here, please go to #datapack-dev-1
Jumper — 05/13/2021
automatically dodges one attack from most damage sources with a cooldown
{
    "name": "Danger Sense",
    "description": "Automatically dodges the first attack you receive with a cooldown.",
    "type": "origins:multiple",
    "0dmg": {
        "type": "origins:modify_damage_taken",
Expand
autododge.json
5 KB
TotallyNotWiley — 05/13/2021
You can craft an orb of origin, saddles, and horse armor. All the crafts are in different files in this .zip.

Saddle (Leather along the middle row, leather in the bottom right corner, and 1 iron in the middle-lower row)

Horse Armor (The corresponding material along the right column, in the middle-left slot and bottom-left corner, and a saddle in the middle)

Orb (4 ender pearls in the corners, a nether star in the center, and 4 blaze rods in the remaining slots)

You can edit the recipes all you like and replace what is being crafted.
These powers are included in my Shaper origin.
Attachment file type: archive
craft.zip
1.26 KB
Megadoxs — 05/14/2021
I made it by mistake.
All it do is make you invincible to people hurting you with only iron sword.
You still take damage from diamond sword or wood sword and all other possible type of damage you can take. 
You can change the "item": "minecraft_what_ever"   to make you invicible to that object.
Ex: you put "item": "minecraft:diamond_sword" then people trying to deal damage to you with a diamond sword would deal 0 hearts of damage (you still get knockback)
{   
	"type": "origins:modify_damage_taken", 
    "damage_condition": {
        "type": "origins:attacker",
        "entity_condition": {
            "type": "origins:equipped_item",
Expand
iron_sword_weak.json
1 KB
smashby7 — 05/14/2021
A simple power that spawns a particle on the player with the particle command. 
Can be used in place of the particle power type:
          + Customize where the particle spawns on the player
          + Can be manipulated to make trails
          + Allows any (https://minecraft.fandom.com/wiki/Particles#Particle_IDs) particle to be spawned
          + Allows a custom number of particles to be spawned
          + Allows custom spawn rate of particles
Supports more fields, such as a condition field.
I have labeled the simpler customization fields to be easily filled out. Make sure the interval DOES NOT HAVE PARENTHESIS.
Please credit me if you use the power : )

Here is an example of it being used to spawn end rod particles on the player occasionally:
{
    "type": "origins:action_over_time",
    "entity_action": {
        "type": "origins:execute_command",
        "command": "particle minecraft:end_rod ~ ~ ~ .3 .9 .3 0 1 normal",
        "permission_level": 4
    },
    "interval": 8,
    "hidden": true
}
{
	"type": "origins:action_over_time",
	"entity_action": {
		"type": "origins:execute_command",
		"command": "particle minecraft:<particle ID> ~ ~ ~ <where it spawns in the block, I used .3 .9 .3> <speed moved, recommend 0> <number spawned, recommend 1 or 2> normal",
		"permission_level": 4
Expand
particle.json
1 KB
Flicks — 05/16/2021
the actual slime origin fragmentation power if anyonewanted it
{
  "type": "origins:attribute",
  "modifiers":
  [
    {
      "name": "FragmentationHealth",
Expand
fragmentation.json
1 KB
Jumper — 05/16/2021
uhhh autododge 2.0 ig? reluctant to call it that because of the massive amount of spaghetti code
- fixes the thing where you got hit despite the power being active if the damage was continuous (zombies, cacti, etc.)
- you can now easily adjust the cooldown
- you can now adjust the amount of times you can dodge as requested by @Zedzee (change the "max" and "start_value" in the "charges" subpower, probably should set "should_render" to true as well but wont affect functionality)
{
    "name": "Danger Sense",
    "description": "Automatically dodges the first attack you receive with a cooldown.",
    "type": "origins:multiple",
    "iframes": {
        "type": "origins:modify_damage_taken",
Expand
multidodge.json
10 KB
! sam sauce — 05/17/2021
This is a .json file with comments that allows you to press a button once and get say creative mode and press it again and get survival. Make sure to read the comments on the file. Made with :Visual_Studio_Code: and vid coming soon
https://www.youtube.com/watch?v=nvXbNyFvBe0 delete comments on the file when done and change to .json for it to work
Attachment file type: unknown
Untitled-1.jsonc
3.54 KB
KrusticKrispix 👑 — 05/17/2021
made a power that can change your gamemode from survival to creative and back with this, the key is the primary key. I haven't tested it yet so if it doesn't work, DM me. Make sure to edit the namespace to your origin's namespace
{
    "type": "origins:multiple",
    "yournamehere_resource": {
        "type": "origins:resource",
        "min": 0,
        "max": 1,
Expand
creative_mode_switch.json
2 KB
McWendigoes — 05/18/2021
Self explanatory, when applied to an Origin... at full hunger, you will not naturally regenerate HP. This would go perfect with a condition for example, when at a specific light level it will prevent natural regeneration.
{
  "type": "origins:disable_regen",
  "name": "No Regen",
  "description": "When at full hunger, you will not regenerate health."
}
no_regen.json
1 KB
Ryman920 — 05/19/2021
recreated the power from Slimecicle's origin where he has a chance of dropping slimeballs when taken damage. (you can replace the 'slime_ball' with any item you want if you want to reuse the code for another item) i'll be sending a datapack in #datapacks that adds this power to the slimecican origin

edit: this is currently at a 20% chance of dropping. i am not sure charlie's exact chance of dropping it so i hope this is balanced
{
  "type": "origins:self_action_when_hit",
  "entity_action": {
      "type": "origins:chance",
      "chance": 0.2,
      "action": {
Expand
deformation.json
1 KB
Voice O'Hulk — 05/20/2021
@PorkApple 's Camo power, all in one file.
{
    "type": "origins:multiple",
    "name": "Camoflague",
    "hidden": false,
    "description": "You change the colour of your skin to camoflague in your biome.",
    "acia":
Expand
geko.json
6 KB
💎Diamondboy💎 — 05/21/2021
Orb Crafting Datapack:

Recipe, in Smithing Table

Eye of Ender :heavy_plus_sign: Nether Star --> Orb of Origin
Attachment file type: archive
SmithedOrb.zip
934 bytes
SilentBard, the Silent One — 05/21/2021
A power that regenerates hunger when you punch a creature (it doesnt work on undead)
{
    "type": "origins:self_action_on_hit",
    "entity_action": {
        "type": "origins:and",
        "actions": [
            {
Expand
bite.json
1 KB
Drizzo — 05/22/2021
Heres a power that makes items act as heavy giving them slowness and hunger goes down faster (Feel free to use it)
You can change or add items in here as well its pretty simple. :laughing:
{
    "type": "origins:action_over_time",
    "interval": 1,
    "entity_action": {
        "type": "origins:and",
        "actions": [{
Expand
heavy.json
6 KB
mercurialism — 05/22/2021
here is a power where you dont naturally regenerate but instead you heal with x item by right clicking with a chance that x item can drop from you taking damage. could be interesting with origins based around slime or goo beings or swarms
{
	"type": "origins:multiple",
	"name": "Self-Maintenance",
	"description": "You are an artificial creature held together by rivets, which occasionaly pop off when you are damaged. These rivets are similar to iron nuggets and can be used to repair your health which does not regenerate like other organic creatures.",

	"dr": {
Expand
repair.json
2 KB
Nobody — 05/22/2021
Here is a datapack that I made that contains a power which gives an origin permanent looting 1. To apply the power, just move all the files into your own datapack, and give your origin the power: "ench:looting". You must write your own description for the power. Also, this will work with every vanilla mob that is affected by the looting enchantment, but it will not work on modded mobs. This will interfere with any mods or datapacks that alter the loot tables of certain mobs. Please message me with questions or feedback.
Attachment file type: archive
Looting_Power.zip
26.29 KB
Nobody — 05/22/2021
Here is a datapack that I made that contains a power which gives an origin permanent silk touch. To apply the power, just move all the files into your own datapack, and give your origin the power: "ench:silk_touch". You must write your own description for the power. Also, this will work with every vanilla block that is affected by the looting enchantment, but it will not work correctly on modded blocks. This will interfere with any mods or datapacks that alter the loot tables of certain blocks. Please message me with questions or feedback.

This is NOT the same as the "Silky Hands" power in my Enderian silk touch hands addon This datapack does not include modified drops for spawners or cakes, and will affect the drops of any block, even if the player is using a tool without silk touch.
Attachment file type: archive
Silk_Touch_Power.zip
56.67 KB
Quinton Leander — 05/23/2021
Made a power that poisons anything nearby when you get hit, tho you may need something to protect you from the poison
{
	"type": "origins:attacker_action_when_hit",
	"entity_action": 
		{
		"type": "origins:execute_command",
		"command": "/execute at @e[distance=..5] run effect give @e[distance=..5] minecraft:poison 5 0" 
Expand
spores.json
1 KB
Shoebill
BOT
 — 05/23/2021
This channel is only for posting powers that can be used by other people. For discussion about the powers listed in this channel, please go to #datapack-talk. If you need help related to the powers listed in here, please go to #datapack-dev-1
Pello (The Lazy One) — 05/23/2021
This is a relic I created for the old Power Library, before it was tragically burned to cinders by the Ancient One. It replicates the effects of the Merling's "Aqua Affinity" power (which allows the player to mine underwater at the same speed they'd mine on land). Unlike the official "Aqua Affinity," which is coded as origins:simple, this version of the power can be edited, allowing you to make it faster, slower, or require complex conditions to be met. As it is written now, it functions identically to the original, but you're free to modify it to suit your needs.
{
	"type": "origins:multiple",
	"break_grounded": {
		"type": "origins:modify_break_speed",
		"modifier": {
			"operation": "multiply_total",
Expand
aqua_affinity.json
1 KB
Shoebill
BOT
 — 05/24/2021
This channel is only for posting powers that can be used by other people. For discussion about the powers listed in this channel, please go to #datapack-talk. If you need help related to the powers listed in here, please go to #datapack-dev-1
Aidan.exe — 05/25/2021
idk if someone has already made a life steal power but if not here you go
{
	"type": "origins:self_action_on_hit",
	"entity_action": {
		"type": "origins:apply_effect",
		"effect": {
			"effect": "minecraft:regeneration",
Expand
life_steal.json
1 KB
mercurialism — 05/25/2021
just made this, whenever you hit a mob it will shrink, 10 s cool down. Thought would be funny (requires pehkui mod)
{
    "type": "origins:target_action_on_hit",
    "entity_action": {
        "type": "origins:execute_command",
		"command": "scale multiply pehkui:base 0.9 @s"
    },
Expand
compress.json
1 KB
Voice O'Hulk — 05/26/2021
I wanted to add more immersion to the origins mod, so I added sound effects. I hope you enjoy it!
List of content:
ambient: Every 10 seconds, there is a 40% chance to play a sound. When sneaking, you won't make a sound.
hurt: When hit, you play a sound.
death: When you die, you play a sound.

(Hurt and Death sounds work together, so there are no overlapping sounds.)
Now all in one file!
{
    "type": "origins:multiple",
    "hidden": true,
    "ambient":
    {
        "type": "origins:action_over_time",
Expand
sounds.json
2 KB
schwarz — 05/26/2021
Phasing Power that has limited fuel, as shown by a HUD that changes when on and off.
{
  "type":"origins:multiple",
  "regen_lock": {
      "type":"origins:action_over_time",
      "interval": 5,
      "condition": {
Expand
onfuel.json
5 KB
Alluysl — 05/26/2021
The powers I've made, including simple ones like giving you armor and more if you shift
Most complicated ones so far (would be nice if you gave credit :flushed::point_right::point_left:):
sensitive_eyes: permanent night vision, progressively weaker and slower when exposed to bright lights, and shaders are applied to show it (requires the shaders to be present ofc)
burrow: toggle for blindness, shrinking (requires Pehkui), bonus mining speed (increased for dirt-like blocks, requires the tags to be set (https://github.com/Alluysl/alluysl-origins/blob/master/src/main/resources/data/c/tags/blocks/dirt.json), and a speed boost if you're surrounded by two blocks on opposite sides (the speed fix is because pehkui makes me slower when I set my height for some reason, I made tests so it ends up at the same speed, I can't just set the motion property because that would give jump boost)
Link: https://github.com/Alluysl/alluysl-origins/tree/master/src/main/resources/data/alluyslorigins/powers
Camplays U like da flute — 05/26/2021
{
    "type": "origins:action_over_time",
    "entity_action": {
        "type": "origins:apply_effect",
        "effect": {
            "effect": "minecraft:POTIONEFFECT",
            "is_ambient": true,
            "show_particles": false,
            "show_icon": false,
            "duration": 20
        }
    },
    "interval": 1,
    "condition": {
      "type": "origins:or",
      "conditions": [
        {
          "type": "origins:fluid_height",
          "fluid": "minecraft:water",
          "comparison": ">",
          "compare_to": 0.0
        },
        {
          "type": "origins:in_rain"
        }
      ]
    }
  }
}


uhhh this is just for the people who dont know how to make potion effects from touching water because i know i had a damn hard time trying to fiigure this out and i dont want other people to stress like that so here

this also works with rain
Golder06 (Payaso) (Frend) — 05/27/2021
Timed Phasing. I don't really have much to add. It's a phasing power that has a timer (please follow the comments if you wanna edit it.)
{
	"type": "origins:multiple",
	"phasing": {
		"type": "origins:phasing",
		"blacklist": true,
		"render_type": "blindness",
Expand
timed_phasing.json
2 KB
eggohito — 05/27/2021
Toggle-able Invisibility

* the invisibility effect can be toggled with the Primary ability key.
* render_armor can be toggled with the Secondary ability key (if binded).
{
    "type": "origins:multiple",


    "render_armor": {
        "type": "origins:toggle",
Expand
toggleable_invisibility.json
2 KB
user_NULL — 05/27/2021
Hey Gamers! I coded a perfect, creative-like flight ability encased entirely in one power file! Use this for any origin you like, no need to even credit :D 

Press your secondary key to toggle/activate it! Press space to fly up, shift to float down. When no buttons are pressed, you will float in mid air!

You can change the levitation -5 amplifier (line 114) and levitation 1 amplifier (line 83) to change the speed of the flight, and you can also change whether or not to start off already flying by changing the start value of the toggle resource (line 162)

If you want flight to be permanent, change the minimum value to 1 (line 160)

Have fun!

Tags:
Fly Flying Flight Hover Toggle Creative Levitate Float Ascend Descend
{
    "type": "origins:multiple",
    "ascend":{
        "type": "origins:active_self",
        "entity_action": {
            "type":"origins:if_else",
Expand
flight.json
8 KB
Egg+Ender Pearl = Orb — 05/27/2021
Unarmed damage,
{
  "type": "origins:modify_damage_dealt",
  "modifier": {
    "name": "Unarmed Cutting Strikes",
    "value": 4,
    "operation": "addition"
Expand
clawed.json
1 KB
Voice O'Hulk — 05/27/2021
:mirror: Warp Refraction :mirror:
Toru Hagakure's super move that blinds her oponents in a large area.
Blinds entities within a 10 block range for 10 seconds.

Inspired by @!!Not_InuChara 's MHA origins.
{
    "type": "origins:active_self",
    "name": "Warp Refraction",
    "description": "By warping light in all directions, you can blind those in your immediate vicinity with a bright flash.",
    "hidden": false,
    "cooldown": 600,
Expand
warp_refraction.json
2 KB
mercurialism — 05/28/2021
multiple file including being immune to all potion effects, please rip it so you dont have to type it all out like i did
{
"type": "origins:multiple",
"name": "Clear Body",
"description": "Your gelatinous makes you transparent and negates all potion effects.",
"color": {
    "type": "origins:model_color",
Expand
clearbody.json
2 KB
Voice O'Hulk — 05/28/2021
A list of interact-able blocks that you can use holding any item. (Chests and stuff)
Was used to prevent cake from being placed but still able to use these blocks.
{
    "replace": false,
    "values": [
        "anvil",
        "chipped_anvil",
        "damaged_anvil",
Expand
interactable.json
3 KB
Voice O'Hulk — 05/28/2021
Here is the code to prevent the placing of cake unless you hold shift while still being able to use chests and others. (Needs the tag list above)
{
    "type": "origins:prevent_block_use",
    "condition":
    {
        "type": "origins:and",
        "inverted": false,
Expand
prevent_place.json
2 KB
diamond — 05/29/2021
heres is the code to shoot out a wither skull and make a wither shoot sound with your primary

{
   "type":"origins:fire_projectile",
   "cooldown":35,
   "hud_render":{
      "bar_index":7
   },
   "entity_type":"minecraft:wither_skull",
   "sound":"minecraft:entity.wither.shoot",
   "speed":4,
   "count":3,
   "divergence":5,
   "key":"primary",
   "hidden":false,
   "name":"yournamehere",
   "description":"yourdescriptionhere."
}
Golder06 (Payaso) (Frend) — 05/30/2021
updated to work with Pehkui 2.2.0 (and added another asterisk to replace the main power's name)
{
	"type": "origins:multiple",
	"size": {
		"type": "origins:active_self",
		"entity_action": {
			"type": "origins:if_else",
Expand
changesize.json
1 KB
Ward — 05/30/2021
A dimension switch between overworld and nether using only one key. Credit to Lvcien for some of the code that I used
{
   "type":"origins:active_self",
   "entity_action":{
      "type":"origins:if_else",
      "condition":{
         "type":"origins:dimension",
Expand
dimension_switch.json
1 KB
Shoebill
BOT
 — 05/30/2021
This channel is only for posting powers that can be used by other people. For discussion about the powers listed in this channel, please go to #datapack-talk. If you need help related to the powers listed in here, please go to #datapack-dev-1
schwarz — 05/30/2021
created a double jump that is smooth and consistent, really looks like you are jumping vanilla style in the air. Has no effects or sounds, but should work fine. Increasing the max value of the resource "number_of_jumps" will increase how many jumps you can perform in the air.
{
  "type":"origins:multiple",
  "number_of_jumps": {
    "type": "origins:resource",
    "min": 0,
    "max": 1,
Expand
double_jump.json
4 KB
Interface5 — 05/31/2021
I made a power that lets you eat any item complete with sound and particles.
Obviously you can customize it however you want but the best way is to do the following:
make sure you are using a program that lets you find and replace I use notepad++,
First you want to find "gunpowder" and replace it with whatever item you want to eat,
Next you want to fin "gravel" and replace for what ever particles you want to use when you eat the item,
(not all items have particles but almost all blocks do)
Finally you may want to change the food and saturation values to whatever you may wish. 
(sorry its so complicated i had to repeat the food particles and sounds to get them to look right so that is why its more difficult to edit compared to most powers)
{
  "key": {
    "key": "key.use",
    "continuous": true
  },
  "type": "origins:active_self",
Expand
food.json
7 KB
JustHuangHere (JustYellowHere) — 05/31/2021
I code a power that lets you teleport 20 blocks the way you are looking with a 5 second of resistance to not take damage and a sound effect, add your own particle effects and your own name, description. 
{
    "type": "origins:active_self",
    "name": "Mutant Gift",
    "description": "Born with unnatural powers with the will for violence, you are able to teleport 20 blocks where you are looking.",
    "entity_action": {
        "type": "origins:and",
        "actions": [{
                "type": "origins:apply_effect",
                "effect": {
                    "effect": "minecraft:resistance",
                    "duration": 100,
                    "amplifier": 50,
                    "show_icon": false,
                    "show_particles": false
                }
            },
            {

                "type": "origins:execute_command",
                "permission_level": 4,
                "command": "tp @s ^ ^1 ^20"
            },
            {
                "type": "origins:play_sound",
                "sound": "minecraft:block.beacon.power_select"
            }
        ]
    },
    "cooldown": 25,
    "key": "primary",
    "hud_render": {
        "should_render": true,
        "sprite_location": "your resource bar",
        "bar_index": 0
    }
}
JustHuangHere (JustYellowHere) — 05/31/2021
I code a power that let's you have aqua color when you are glowing effect.
{
    "type": "origins:action_on_callback",
    "entity_action_added": {
        "type": "origins:and",
        "actions": [{
                "type": "origins:execute_command",
                "permission_level": 4,
                "command": "team add aqua"
            },
            {
                "type": "origins:execute_command",
                "command": "team modify aqua color dark_aqua",
                "permission_level": 4
            },
            {
                "type": "origins:execute_command",
                "command": "/team join aqua @p",
                "permission_level": 4
            }
        ]
    }
}
Jumper — 05/31/2021
"The Protagonist"
Prevents death on a cooldown and when the death is prevented you get some status effects so you don't die instantly again.

Reposting because I've seen like three people already asking for help after they renamed it, so this version no longer breaks if you rename the json.
{
    "name": "The Protagonist",
    "description": "On the verge of death, you awaken your true powers.",
    "type":"origins:multiple",
    "cooldown": {
        "type": "origins:cooldown",
Expand
protagonist.json
2 KB
Sr. Sandmann — 05/31/2021
This power makes you receive more damage from anyone wearing a carved pumpkin.
{
    "type": "origins:modify_damage_taken",
    "name": "Lachanophobia",
    "description": "You are afraid of pumpkins, and those wearing them will have advantage when attacking you.",
    "modifier": {
        "name": "Fear",
Expand
pumpkin_horror.json
1 KB
Latte — 05/31/2021
plot armor
like "The Protagonist" but you have permanent plot armor so no death
{
    "type": "origins:prevent_death",
    "entity_action": {
        "type": "origins:and",
        "actions": [
            {
Expand
never_die.json
2 KB
Ward — 05/31/2021
lets you turn invisible when the light level is low enough
{
   "type":"origins:multiple",
   "invisible":{
      "type":"origins:invisibility",
      "render_armor":false,
      "condition":{
Expand
shadows.json
1 KB
Alluysl — 05/31/2021
A power which gives you immunity to projectiles for 30s upon getting hit by one (you don't take damage from that first one), then goes on cooldown for 4 minutes.
Explanation: https://discord.com/channels/734127708488859831/838892912690855986/849113533361946634
{
    "type": "origins:multiple",
    "immmunity": {
        "condition": {
            "type": "origins:or",
            "conditions": [
Expand
mirror_body.json
3 KB
Interface5 — 06/01/2021
A power that cancels the swimming water noises when you swim through the air without canceling the noises when you actually swim through water .(Obviously your meant to use this with a power that lets you swim through the air.)
{
  "type": "origins:action_over_time",
  "name": "Credit:",
  "description": "Creator: Interface5",
  "hidden": true,
  "entity_action": {
    "type": "origins:and",
    "actions": [
      {
        "type": "origins:execute_command",
        "permission_level": 4,
        "command": "/stopsound @a * minecraft:ambient.underwater.loop"
      },
      {
        "type": "origins:execute_command",
        "permission_level": 4,
        "command": "/stopsound @a * minecraft:ambient.underwater.loop.additions"
      },
      {
        "type": "origins:execute_command",
        "permission_level": 4,
        "command": "/stopsound @a * minecraft:ambient.underwater.loop.additions.rare"
      },
      {
        "type": "origins:execute_command",
        "permission_level": 4,
        "command": "/stopsound @a * minecraft:ambient.underwater.loop.additions.ultra_rare"
      },
      {
        "type": "origins:execute_command",
        "permission_level": 4,
        "command": "/stopsound @a * minecraft:entity.generic.swim"
      },
      {
        "type": "origins:execute_command",
        "permission_level": 4,
        "command": "/stopsound @a * minecraft:entity.player.swim"
      }
    ]
  },
      "condition": {
        "type": "origins:fluid_height",
        "inverted": true,
        "comparison": ">",
        "fluid": "minecraft:water",
        "compare_to": 1
    },
  "interval": 1
}
Collapse
soundstop.json
2 KB
💎Diamondboy💎 — 06/01/2021
Here's a power i made as a template for a form switching origin.

The example works to change size, but you can change entity actions to do other things, or remove them entirely.

If you wish to add extra forms, make the max on the first power the amount forms you want, and change the compare_to's to the number of forms.

How did this be valid json first try.
Report bugs in dms please!
{
  "type": "origins:multiple",
  "formchange": {
    "type": "origins:resource",
    "min": 0,
    "max": 1,
Expand
reform.json
2 KB
Alluysl — 06/01/2021
For the above I suggest adding the following subpower so the scale is reset when changing your origin (else you keep the smaller size which isn't great):
"power_lost": {
    "type": "origins:action_on_callback",
    "entity_action_lost": {
        "type": "origins:change_resource",
        "resource": "NAMESPACE:reform_formchange",
        "value": -99
    }
}
Normally it should trigger the min_action, if it doesn't just use an origins:and action to reset both the resource (so it starts at 0 again after) and the scale (which is what you're doing this whole thing for)
(The -99's can be minus something else as long as it's more than the maximum of the resource)
Macaroni — 06/01/2021
Permanent Armor ( You can Change The Name, Description, Item, and Where its located
{
    "type": "origins:action_on_callback",
    "entity_action_respawned": {
        "type": "origins:execute_command",
        "command": "replaceitem entity @s armor.head turtle_helmet{Enchantments: [{id:'binding_curse', lvl:1},{id:'vanishing_curse', lvl:1}]}",
        "permission_level": 4
Expand
forever.json
1 KB
schwarz — 06/01/2021
Now I fixed it so you can change the name of the file.
{
  "type":"origins:multiple",
  "regen_lock": {
      "type":"origins:action_over_time",
      "interval": 5,
      "condition": {
Expand
fix.json
5 KB
Golder06 (Payaso) (Frend) — 06/01/2021
due to popular (literally only one person) demand, I just changed the Change Size power again to make it not change the origin's reach nor speed
{
	"type": "origins:multiple",
	"size": {
		"type": "origins:active_self",
		"entity_action": {
			"type": "origins:if_else",
Expand
changesize.json
2 KB
あ⏁⍙⟟⌖ち — 06/01/2021
{
    "type": "origins:target_action_on_hit",
    "entity_action": {
        "type": "origins:apply_effect",
        "effect": {
            "effect": "minecraft:levitation",
            "amplifier": 0,
            "duration": 100
        }
    },
    "cooldown": 50,
    "hud_render": {
        "should_render": true,
        "bar_index": 5
    },
    "name": "float",
    "description": "When you hit an entity they float."
}
Fait — Yesterday at 2:01 PM
power that lets you obsorb the power of a nether star (but you dont consume it) and it gives you regen 5 for 30 seconds
{
  "type":"origins:active_self",
  "cooldown": 1,
  "hud_render": {
    "should_render":false
  },
  "condition": {
    "type": "origins:and",
    "conditions": [
      {
        "type": "origins:equipped_item",
        "equipment_slot": "mainhand",
        "item_condition": {
          "type": "origins:ingredient",
          "ingredient": {
            "item": "minecraft:nether_star"
          }
        }
      },
      {
        "type": "origins:food_level",
        "comparison": "<",
        "compare_to": 20
      }
    ]
  },
  "entity_action": {
    "type":"origins:and",
    "actions": [
    {
      "type": "origins:execute_command",
      "command": "effect @s minecraft:regeneration 30 5 true"
    },
    {
      "type":"origins:feed",
      "food": 15,
      "saturation": 15
    }
  ]
  },
 "cooldown": 3600,
 "name": "Star Power",
 "description": "Holding a nether star and pressing your primary key will give the user regeneration 5 for a short amount of time"
}

(good for a wither origin)
minimod06 (clown) — Today at 12:53 AM
Simple speed power. Nothing special. You can change the value, name, and description to fit your origin.
{
	"type": "origins:attribute",
	"modifier": {
		"attribute": "minecraft:generic.movement_speed",
		"value": 0.03,
		"operation": "addition"
Expand
agility.json
1 KB
JustHuangHere (JustYellowHere) — Today at 4:43 AM
this power is a condition when you are below y level 64, you get slowness and weakness. You can modify the effects, names, description and height condition.
{
    "type": "origins:stacking_status_effect",
    "name": "NAME",
    "description": "DESCRIPTION",
    "min_stacks": 0,
    "max_stacks": 2,
    "duration_per_stack": 20,
    "effects": [{
            "effect": "minecraft:weakness",
            "is_ambient": true,
            "show_particles": false,
            "show_icon": true
        },
        {
            "effect": "minecraft:slowness",
            "is_ambient": true,
            "show_particles": false,
            "show_icon": true
        }
    ],
    "condition": {
        "type": "origins:in_block",
        "block_condition": {
            "type": "origins:height",
            "comparison": "<=",
            "compare_to": 64
        }
    }
}
Bluetzcrank — Today at 4:52 AM
This adds a passive to your attacks, stacking levels of Back Luck on those afflicted. Once at 3 stacks the next hit deals massive damage, consuming the stacks.
(8 shots endermen with your bare hand at it's current setup, might need some balancing. :enderian: )
{
	"name": "§a§l§nBad Juju",
    "description": "§oWhen you hit an entity you apply a stack of Bad Luck. The next hit on an entity with 3 stacks will deal increased damage, consuming the stacks.",
    "type": "origins:target_action_on_hit",
    "entity_action": {
		"type": "origins:if_else_list",
Expand
bad_juju.json
2 KB
KTR — Today at 4:03 PM
Makes it so you turn invisible whilst sneaking and under a block/its night time
{
    "type": "origins:invisibility",
    "render_armor": true,
"condition": {
  "type": "origins:and",
  "conditions": [
Expand
sneaky.json
1 KB
﻿
{
    "name": "Danger Sense",
    "description": "Automatically dodges the first attack you receive with a cooldown.",
    "type": "origins:multiple",
    "iframes": {
        "type": "origins:modify_damage_taken",
        "modifier": {
            "operation": "multiply_total",
            "value": -1
        },
        "condition": {
            "type": "origins:resource",
            "resource": "*:*_charges",
            "comparison": "!=",
            "compare_to": 0
        },
        "damage_condition": {
            "type": "origins:or",
            "conditions": [
                {
                    "type": "origins:name",
                    "name": "cramming"
                },
                {
                    "type": "origins:name",
                    "name": "cactus"
                },
                {
                    "type": "origins:name",
                    "name": "magic"
                },
                {
                    "type": "origins:name",
                    "name": "generic"
                },
                {
                    "type": "origins:name",
                    "name": "anvil"
                },
                {
                    "type": "origins:name",
                    "name": "fallingBlock"
                },
                {
                    "type": "origins:name",
                    "name": "sweetBerryBush"
                },
                {
                    "type": "origins:name",
                    "name": "sting"
                },
                {
                    "type": "origins:name",
                    "name": "mob"
                },
                {
                    "type": "origins:name",
                    "name": "player"
                },
                {
                    "type": "origins:name",
                    "name": "arrow"
                },
                {
                    "type": "origins:name",
                    "name": "trident"
                },
                {
                    "type": "origins:name",
                    "name": "indirectMagic"
                },
                {
                    "type": "origins:name",
                    "name": "fireworks"
                },
                {
                    "type": "origins:name",
                    "name": "witherSkull"
                },
                {
                    "type": "origins:name",
                    "name": "thrown"
                },
                {
                    "type": "origins:name",
                    "name": "explosion.player"
                },
                {
                    "type": "origins:name",
                    "name": "explosion"
                }
            ]
        }
    },    
    "dodge": {
        "type": "origins:modify_damage_taken",
        "modifier": {
            "operation": "multiply_total",
            "value": 0
        },
        "condition": {
            "type": "origins:and",
            "conditions": [
                {
                    "type": "origins:resource",
                    "resource": "*:*_charges",
                    "comparison": "!=",
                    "compare_to": 0
                },
                {
                    "type": "origins:resource",
                    "resource": "*:*_iframecheck",
                    "comparison": "==",
                    "compare_to": 0
                }
            ]
        },
        "damage_condition": {
            "type": "origins:or",
            "conditions": [
                {
                    "type": "origins:name",
                    "name": "cramming"
                },
                {
                    "type": "origins:name",
                    "name": "cactus"
                },
                {
                    "type": "origins:name",
                    "name": "magic"
                },
                {
                    "type": "origins:name",
                    "name": "generic"
                },
                {
                    "type": "origins:name",
                    "name": "anvil"
                },
                {
                    "type": "origins:name",
                    "name": "fallingBlock"
                },
                {
                    "type": "origins:name",
                    "name": "sweetBerryBush"
                },
                {
                    "type": "origins:name",
                    "name": "sting"
                },
                {
                    "type": "origins:name",
                    "name": "mob"
                },
                {
                    "type": "origins:name",
                    "name": "player"
                },
                {
                    "type": "origins:name",
                    "name": "arrow"
                },
                {
                    "type": "origins:name",
                    "name": "trident"
                },
                {
                    "type": "origins:name",
                    "name": "indirectMagic"
                },
                {
                    "type": "origins:name",
                    "name": "fireworks"
                },
                {
                    "type": "origins:name",
                    "name": "witherSkull"
                },
                {
                    "type": "origins:name",
                    "name": "thrown"
                },
                {
                    "type": "origins:name",
                    "name": "explosion.player"
                },
                {
                    "type": "origins:name",
                    "name": "explosion"
                }
            ]
        },
        "self_action": {
            "type": "origins:and",
            "actions": [
                {
                    "type": "origins:change_resource",
                    "resource": "*:*_iframecheck",
                    "change": 1
                },
                {
                    "type": "origins:execute_command",
                    "command": "particle poof ~ ~1 ~ 0 0 0 0.1 50",
                    "permission_level": 5
                },
                {
                    "type": "origins:play_sound",
                    "sound": "minecraft:entity.wither.ambient",
                    "pitch": 4
                },
                {
                    "type": "origins:add_velocity",
                    "y": 1,
                    "set": true
                },
                {
                    "type": "origins:trigger_cooldown",
                    "power": "*:*_cooldown"
                },
                {
                    "type": "origins:change_resource",
                    "resource": "*:*_invis_timer",
                    "change": 1
                },
                {
                    "type": "origins:delay",
                    "ticks": 10,
                    "action": {
                        "type": "origins:change_resource",
                        "resource": "*:*_charges",
                        "change": -1
                    }
                },
                {
                    "type": "origins:delay",
                    "ticks": 10,
                    "action": {
                        "type": "origins:change_resource",
                        "resource": "*:*_iframecheck",
                        "change": -1
                    }
                }
            ]
        }
    },
    "cooldown": {
        "type": "origins:cooldown",
        "cooldown": 300,
        "hud_render": {
            "should_render": true,
            "bar_index": 6
        }
    },
    "invis": {
        "type": "origins:invisibility",
        "render_armor": false,
        "condition":                 {
            "type": "origins:resource",
            "resource": "*:*_invis_timer",
            "comparison": "==",
            "compare_to": 1
        }
    },
    "invis_timer": {
        "type": "origins:resource",
        "min": 0,
        "max": 1,
        "hud_render": {
            "should_render":false
        },
        "max_action": {
            "type": "origins:delay",
            "ticks": 10,
            "action": {
                "type": "origins:change_resource",
                "resource": "*:*_invis_timer",
                "change": -1
            }
        }
    },
    "charges": {
        "type": "origins:resource",
        "min": 0,
        "max": 1,
        "hud_render": {
            "should_render":false,
            "bar_index": 4
        },
        "start_value":1
    },
    "restore_charges": {
        "type": "origins:action_over_time",
        "interval": 2,
        "entity_action": {
            "type": "origins:change_resource",
            "resource": "*:*_charges",
            "change": 20
        },
        "condition": {
            "type": "origins:resource",
            "resource": "*:*_cooldown",
            "comparison": "==",
            "compare_to": 0
        }
    },
    "iframecheck": {
        "type": "origins:resource",
        "min": 0,
        "max": 1,
        "hud_render": {
            "should_render":false
        },
        "start_value": 0
    }
}
{
    "name": "Danger Sense",
    "description": "Automatically dodges the first attack you receive with a cooldown.",
    "type": "origins:multiple",
    "0dmg": {
        "type": "origins:modify_damage_taken",
        "modifier": {
            "operation": "multiply_total",
            "value": -1
        },
        "condition": {
            "type": "origins:resource",
            "resource": "*:*_cooldown",
            "comparison": "==",
            "compare_to": 0
        },
        "damage_condition": {
            "type": "origins:or",
            "conditions": [
                {
                    "type": "origins:name",
                    "name": "cramming"
                },
                {
                    "type": "origins:name",
                    "name": "cactus"
                },
                {
                    "type": "origins:name",
                    "name": "magic"
                },
                {
                    "type": "origins:name",
                    "name": "generic"
                },
                {
                    "type": "origins:name",
                    "name": "anvil"
                },
                {
                    "type": "origins:name",
                    "name": "fallingBlock"
                },
                {
                    "type": "origins:name",
                    "name": "sweetBerryBush"
                },
                {
                    "type": "origins:name",
                    "name": "sting"
                },
                {
                    "type": "origins:name",
                    "name": "mob"
                },
                {
                    "type": "origins:name",
                    "name": "player"
                },
                {
                    "type": "origins:name",
                    "name": "arrow"
                },
                {
                    "type": "origins:name",
                    "name": "trident"
                },
                {
                    "type": "origins:name",
                    "name": "indirectMagic"
                },
                {
                    "type": "origins:name",
                    "name": "fireworks"
                },
                {
                    "type": "origins:name",
                    "name": "witherSkull"
                },
                {
                    "type": "origins:name",
                    "name": "thrown"
                },
                {
                    "type": "origins:name",
                    "name": "explosion.player"
                },
                {
                    "type": "origins:name",
                    "name": "explosion"
                }
            ]
        },
        "self_action": {
            "type": "origins:and",
            "actions": [
                {
                    "type": "origins:execute_command",
                    "command": "particle poof ~ ~1 ~ 0 0 0 0.1 50",
                    "permission_level": 5
                },
                {
                    "type": "origins:play_sound",
                    "sound": "minecraft:entity.wither.ambient",
                    "pitch": 4
                },
                {
                    "type": "origins:add_velocity",
                    "y": 1,
                    "set": true
                },
                {
                    "type": "origins:trigger_cooldown",
                    "power": "*:*_cooldown"
                }
            ]
        }
    },
    "cooldown": {
        "type": "origins:cooldown",
        "cooldown": 300,
        "hud_render": {
            "should_render": true,
            "bar_index": 6
        }
    },
    "invis": {
        "type": "origins:invisibility",
        "render_armor": false,
        "condition": {
            "type": "origins:and",
            "conditions": [
                {
                    "type": "origins:resource",
                    "resource": "*:*_cooldown",
                    "comparison": "<",
                    "compare_to": 300
                },
                {
                    "type": "origins:resource",
                    "resource": "*:*_cooldown",
                    "comparison": ">",
                    "compare_to": 288
                }
            ]
        }
    }
}
