cosmetic fixes
14
build/resources/main/aspects.mixins.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"required": true,
|
||||
"minVersion": "0.8",
|
||||
"package": "net.fabricmc.fishplex.mixin",
|
||||
"compatibilityLevel": "JAVA_16",
|
||||
"mixins": [
|
||||
],
|
||||
"client": [
|
||||
"AspectsMixin"
|
||||
],
|
||||
"injectors": {
|
||||
"defaultRequire": 1
|
||||
}
|
||||
}
|
||||
BIN
build/resources/main/assets/aspects/icon.png
Normal file
|
After Width: | Height: | Size: 5.0 KiB |
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "aspects:item/anemo_feather"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "aspects:item/hydro_kelp"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "aspects:item/pyro_fire"
|
||||
}
|
||||
}
|
||||
BIN
build/resources/main/assets/aspects/textures/gui/badge/check.png
Normal file
|
After Width: | Height: | Size: 590 B |
BIN
build/resources/main/assets/aspects/textures/gui/badge/cross.png
Normal file
|
After Width: | Height: | Size: 581 B |
BIN
build/resources/main/assets/aspects/textures/gui/badge/equal.png
Normal file
|
After Width: | Height: | Size: 606 B |
|
After Width: | Height: | Size: 5.0 KiB |
BIN
build/resources/main/assets/aspects/textures/item/hydro_kelp.png
Normal file
|
After Width: | Height: | Size: 9.9 KiB |
BIN
build/resources/main/assets/aspects/textures/item/pyro_fire.png
Normal file
|
After Width: | Height: | Size: 1006 B |
@@ -0,0 +1,2 @@
|
||||
playsound item.firecharge.use neutral @s
|
||||
particle flame ~ ~ ~ 1 1 1 3 10
|
||||
@@ -0,0 +1,3 @@
|
||||
particle minecraft:snowflake ~ ~ ~ 1 1 1 1 5 normal @a
|
||||
fill ~1 ~-1 ~1 ~-1 ~-1 ~-1 minecraft:frosted_ice replace water[level=0]
|
||||
playsound block.snow.place neutral @a ~ ~ ~ 5
|
||||
@@ -0,0 +1,3 @@
|
||||
particle minecraft:snowflake
|
||||
fill ~1 ~-1 ~1 ~-1 ~-1 ~-1 minecraft:frosted_ice replace water[level=0]
|
||||
playsound block.powder_snow.place neutral @a
|
||||
@@ -0,0 +1,2 @@
|
||||
particle snowflake ~ ~ ~ 3 3 3 5 10 normal
|
||||
playsound block.glass.break neutral @a ~ ~ ~ 5
|
||||
@@ -0,0 +1,4 @@
|
||||
particle minecraft:electric_spark ~ ~ ~ 0 0 0 0.0 5 normal @a
|
||||
fill ~1 ~-1 ~1 ~-1 ~-1 ~-1 minecraft:fire replace air
|
||||
playsound entity.lightning_bolt.thunder neutral @a ~ ~ ~ 5
|
||||
summon lightning_bolt ~ ~ ~
|
||||
@@ -0,0 +1,2 @@
|
||||
particle electric_spark ~ ~ ~ 3 3 3 5 10 normal
|
||||
playsound entity.lightning_bolt.thunder neutral @a ~ ~ ~ 5
|
||||
@@ -0,0 +1,2 @@
|
||||
particle flame ~ ~ ~ 2 2 2 1 10 normal
|
||||
playsound entity.blaze.shoot neutral @a ~ ~ ~ 5
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"order": -1,
|
||||
"origins": [
|
||||
"aspects:anemo",
|
||||
"aspects:hydro",
|
||||
"aspects:geo",
|
||||
"aspects:pyro",
|
||||
"aspects:ordo",
|
||||
"aspects:perditio"
|
||||
],
|
||||
"name": "Aspect",
|
||||
"replace":true
|
||||
}
|
||||
48
build/resources/main/data/aspects/origin_layers/origins.json
Normal file
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"order": 0,
|
||||
"origins": [
|
||||
{
|
||||
"condition": {
|
||||
"type": "origins:origin",
|
||||
"origin": "aspects:pyro",
|
||||
"layer": "aspects:elements"
|
||||
},
|
||||
"origins": [
|
||||
"aspects:human",
|
||||
"aspects:magmus",
|
||||
"aspects:ignis",
|
||||
"aspects:navitas"
|
||||
]
|
||||
},
|
||||
{
|
||||
"condition": {
|
||||
"type": "origins:origin",
|
||||
"origin": "aspects:hydro",
|
||||
"layer": "aspects:elements"
|
||||
},
|
||||
"origins": [
|
||||
"aspects:cryo",
|
||||
"aspects:human",
|
||||
"aspects:altum",
|
||||
"aspects:aquatillis"
|
||||
]
|
||||
},
|
||||
{
|
||||
"condition": {
|
||||
"type":"origins:origin",
|
||||
"origin":"aspects:anemo",
|
||||
"layer":"aspects:elements"
|
||||
},
|
||||
"origins": [
|
||||
"aspects:human",
|
||||
"aspects:tempus",
|
||||
"aspects:avis",
|
||||
"aspects:sophos",
|
||||
"icarus:icarae"
|
||||
]
|
||||
}
|
||||
],
|
||||
|
||||
"name": "Type",
|
||||
"replace":true
|
||||
}
|
||||
14
build/resources/main/data/aspects/origins/anemo.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"powers": [
|
||||
"aspects:fleet_footed",
|
||||
"aspects:negate_fall_damage",
|
||||
"aspects:chained",
|
||||
"aspects:windborn",
|
||||
"aspects:wise"
|
||||
],
|
||||
"icon": {
|
||||
"item": "aspects:anemo_feather"
|
||||
},
|
||||
"name": "Anemo",
|
||||
"description": "Anemo users are light on their feet, freeform in combat and wanderers by nature."
|
||||
}
|
||||
13
build/resources/main/data/aspects/origins/cryo.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"powers": [
|
||||
"aspects:cold_biomes",
|
||||
"aspects:frost_walker",
|
||||
"aspects:cryo_primary",
|
||||
"aspects:cryo_secondary"
|
||||
],
|
||||
"icon": {
|
||||
"item": "minecraft:snowball"
|
||||
},
|
||||
"name": "Cryo",
|
||||
"description": "Cold, calculating and precise, Cryo types always get the job done."
|
||||
}
|
||||
13
build/resources/main/data/aspects/origins/hydro.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"powers": [
|
||||
"aspects:water_breathing",
|
||||
"aspects:constitution",
|
||||
"aspects:fire_damage",
|
||||
"aspects:waterborn"
|
||||
],
|
||||
"icon": {
|
||||
"item": "aspects:hydro_kelp"
|
||||
},
|
||||
"name": "Hydro",
|
||||
"description": "Fluid and ever-changing, Hydro users are flexible and aware of the intent behind the actions of their enemies in order to better defy them."
|
||||
}
|
||||
13
build/resources/main/data/aspects/origins/ignis.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"powers": [
|
||||
"aspects:hot_biomes",
|
||||
"aspects:ignis_primary",
|
||||
"aspects:ignis_secondary",
|
||||
"aspects:fire_strength"
|
||||
],
|
||||
"icon": {
|
||||
"item": "minecraft:fire_charge"
|
||||
},
|
||||
"name": "Ignis",
|
||||
"description": "Full of energy and power, Ignis types are certainly the life of the party."
|
||||
}
|
||||
14
build/resources/main/data/aspects/origins/pyro.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"powers": [
|
||||
"aspects:fire_immunity",
|
||||
"aspects:nether_buff",
|
||||
"aspects:water_damage",
|
||||
"aspects:lava_vision",
|
||||
"aspects:flameborn"
|
||||
],
|
||||
"icon": {
|
||||
"item": "aspects:pyro_fire"
|
||||
},
|
||||
"name": "Pyro",
|
||||
"description": "fire go weeee"
|
||||
}
|
||||
13
build/resources/main/data/aspects/origins/tempus.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"powers": [
|
||||
"aspects:fleet",
|
||||
"aspects:storm_strength",
|
||||
"aspects:tempus_primary",
|
||||
"aspects:tempus_secondary"
|
||||
],
|
||||
"icon": {
|
||||
"item": "minecraft:amethyst_shard"
|
||||
},
|
||||
"name": "Tempus",
|
||||
"description": "Dark minds crackling and churning, Tempus types always have a storm brewing in their heads."
|
||||
}
|
||||
23
build/resources/main/data/aspects/powers/chained.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"type": "origins:conditioned_attribute",
|
||||
"block_condition": {
|
||||
"type": "origins:exposed_to_sky",
|
||||
"inverted": "true"
|
||||
},
|
||||
"modifier":
|
||||
{
|
||||
"attribute": "minecraft:generic.attack_speed",
|
||||
"operation": "addition",
|
||||
"value": -1
|
||||
},
|
||||
|
||||
"tick_rate": 20,
|
||||
"name":"Chained",
|
||||
"description":"When you aren't exposed to the sky, you become slower in combat.",
|
||||
"badges": [
|
||||
{
|
||||
"sprite": "aspects:textures/gui/badge/cross.png",
|
||||
"text": "Negative"
|
||||
}
|
||||
]
|
||||
}
|
||||
25
build/resources/main/data/aspects/powers/cold_biomes.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"type": "origins:conditioned_attribute",
|
||||
"modifier": {
|
||||
"attribute": "minecraft:generic.attack_damage",
|
||||
"operation": "addition",
|
||||
"value": 0.4
|
||||
},
|
||||
"tick_rate": 20,
|
||||
"condition": {
|
||||
"type": "origins:biome",
|
||||
"condition": {
|
||||
"type": "origins:temperature",
|
||||
"comparison": "<=",
|
||||
"compare_to": 0.05
|
||||
}
|
||||
},
|
||||
"name":"Cold Affinity",
|
||||
"description":"You get a decent attack boost in cold biomes. (N)ice ;)",
|
||||
"badges": [
|
||||
{
|
||||
"sprite": "aspects:textures/gui/badge/check.png",
|
||||
"text": "Positive"
|
||||
}
|
||||
]
|
||||
}
|
||||
17
build/resources/main/data/aspects/powers/constitution.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"type": "origins:attribute",
|
||||
"modifier": {
|
||||
"attribute": "minecraft:generic.max_health",
|
||||
"value": 4,
|
||||
"operation": "addition"
|
||||
},
|
||||
|
||||
"name":"Watery Persistence",
|
||||
"description":"You have slightly increased max health.",
|
||||
"badges": [
|
||||
{
|
||||
"sprite": "aspects:textures/gui/badge/check.png",
|
||||
"text": "Positive"
|
||||
}
|
||||
]
|
||||
}
|
||||
38
build/resources/main/data/aspects/powers/cryo_primary.json
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"type": "origins:active_self",
|
||||
"entity_action": {
|
||||
"type": "origins:raycast",
|
||||
"distance": 8,
|
||||
"block": true,
|
||||
"entity": true,
|
||||
"shape_type": "visual",
|
||||
"fluid_handling": "any",
|
||||
"bientity_action": {
|
||||
"type": "origins:target_action",
|
||||
"action":{
|
||||
"type":"origins:damage",
|
||||
"amount": 8,
|
||||
"source": {
|
||||
"name": "freeze",
|
||||
"bypasses_armor": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"command_at_hit": "function aspects:freeze_focus",
|
||||
"command_along_ray": "function aspects:freeze_ray",
|
||||
"command_step": 1,
|
||||
"command_along_ray_only_on_hit": false
|
||||
},
|
||||
"cooldown": 240,
|
||||
"hud_render": {
|
||||
"should_render": true,
|
||||
"sprite_location": "origins:textures/gui/resource_bar.png",
|
||||
"bar_index":5,
|
||||
"inverted":true
|
||||
},
|
||||
|
||||
"name":"Freeze Focus",
|
||||
"description":"When pressing the respective key, you will fire a ray of ice in the direction you are facing that will deal freeze damage to the target and freeze over ice on impact."
|
||||
|
||||
}
|
||||
|
||||
42
build/resources/main/data/aspects/powers/cryo_secondary.json
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"type": "origins:active_self",
|
||||
"entity_action": {
|
||||
"type":"origins:and",
|
||||
"actions": [
|
||||
{
|
||||
"type": "origins:area_of_effect",
|
||||
"radius": 8,
|
||||
"bientity_action": {
|
||||
"type": "origins:damage",
|
||||
"amount": 6,
|
||||
"source": {
|
||||
"name": "freeze",
|
||||
"bypasses_armor": true
|
||||
}
|
||||
},
|
||||
"bientity_condition": {
|
||||
"type": "origins:can_see"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type":"origins:execute_command",
|
||||
"command":"function aspects:icy_aura"
|
||||
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"cooldown": 800,
|
||||
"hud_render": {
|
||||
"should_render": true,
|
||||
"sprite_location": "origins:textures/gui/community/spiderkolo/resource_bar_02.png",
|
||||
"bar_index":8,
|
||||
"inverted":true
|
||||
},
|
||||
"key": {
|
||||
"key": "key.origins.secondary_active"
|
||||
},
|
||||
"name":"Icy Aura",
|
||||
"description":"With your secondary key, you can deal freeze damage to those around you within an 8 block radius."
|
||||
|
||||
}
|
||||
24
build/resources/main/data/aspects/powers/fire_damage.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"type": "origins:action_when_damage_taken",
|
||||
"entity_action": {
|
||||
"type": "origins:damage",
|
||||
"amount": 2,
|
||||
"source": {
|
||||
"name": "onFire",
|
||||
"fire": true,
|
||||
"bypasses_armor": true
|
||||
}
|
||||
},
|
||||
"damage_condition": {
|
||||
"type": "origins:fire"
|
||||
},
|
||||
"cooldown": 20,
|
||||
"name":"Evaporation",
|
||||
"description":"Fire hurts you a lot more than it normally would.",
|
||||
"badges": [
|
||||
{
|
||||
"sprite": "aspects:textures/gui/badge/cross.png",
|
||||
"text": "Negative"
|
||||
}
|
||||
]
|
||||
}
|
||||
19
build/resources/main/data/aspects/powers/fire_immunity.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"type": "origins:modify_damage_taken",
|
||||
"damage_condition": {
|
||||
"type": "origins:fire"
|
||||
},
|
||||
"modifier": {
|
||||
"operation": "multiply_total",
|
||||
"value": -1
|
||||
},
|
||||
|
||||
"name":"Fire Immunity",
|
||||
"description":"You are immune to fire damage.",
|
||||
"badges": [
|
||||
{
|
||||
"sprite": "aspects:textures/gui/badge/check.png",
|
||||
"text": "Positive"
|
||||
}
|
||||
]
|
||||
}
|
||||
21
build/resources/main/data/aspects/powers/fire_strength.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"type": "origins:conditioned_attribute",
|
||||
"modifier": {
|
||||
"attribute": "minecraft:generic.attack_damage",
|
||||
"operation": "addition",
|
||||
"value": 2
|
||||
},
|
||||
"tick_rate": 20,
|
||||
"condition": {
|
||||
"type": "origins:on_fire"
|
||||
},
|
||||
|
||||
"name":"Heated Strength",
|
||||
"description":"Being on fire grants you an attack damage bonus.",
|
||||
"badges": [
|
||||
{
|
||||
"sprite": "aspects:textures/gui/badge/check.png",
|
||||
"text": "Positive"
|
||||
}
|
||||
]
|
||||
}
|
||||
6
build/resources/main/data/aspects/powers/flameborn.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"type": "origins:particle",
|
||||
"particle": "minecraft:flame",
|
||||
"frequency": 80,
|
||||
"hidden":true
|
||||
}
|
||||
17
build/resources/main/data/aspects/powers/fleet.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"type": "origins:attribute",
|
||||
"modifier": {
|
||||
"attribute": "minecraft:generic.movement_speed",
|
||||
"value": 0.01,
|
||||
"operation": "addition"
|
||||
},
|
||||
"name":"Like Lightning",
|
||||
"description":"You are an even faster variant of Anemo.",
|
||||
"badges": [
|
||||
{
|
||||
"sprite": "aspects:textures/gui/badge/check.png",
|
||||
"text": "Positive"
|
||||
}
|
||||
]
|
||||
|
||||
}
|
||||
16
build/resources/main/data/aspects/powers/fleet_footed.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"type": "origins:attribute",
|
||||
"modifier": {
|
||||
"attribute": "minecraft:generic.movement_speed",
|
||||
"value": 0.05,
|
||||
"operation": "addition"
|
||||
},
|
||||
"name":"Fleet Footed",
|
||||
"description":"You are quicker on your feet than others.",
|
||||
"badges": [
|
||||
{
|
||||
"sprite": "aspects:textures/gui/badge/check.png",
|
||||
"text": "Positive"
|
||||
}
|
||||
]
|
||||
}
|
||||
41
build/resources/main/data/aspects/powers/frost_walker.json
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"type": "origins:action_over_time",
|
||||
"interval": 5,
|
||||
"entity_action": {
|
||||
"type": "origins:if_else",
|
||||
"condition": {
|
||||
"type": "origins:or",
|
||||
"inverted":true,
|
||||
"conditions": [
|
||||
{
|
||||
"type": "origins:sneaking"
|
||||
|
||||
},
|
||||
{
|
||||
"type": "origins:fall_distance",
|
||||
"comparison": ">=",
|
||||
"compare_to": 4
|
||||
},
|
||||
{
|
||||
"type": "origins:in_block",
|
||||
"block_condition": {
|
||||
"type": "origins:block",
|
||||
"block": "minecraft:water"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"if_action": {
|
||||
"type":"origins:execute_command",
|
||||
"command": "fill ~1 ~-1 ~1 ~-1 ~-1 ~-1 minecraft:frosted_ice replace water[level=0]"
|
||||
}
|
||||
},
|
||||
"name":"Frost Walker",
|
||||
"description":"Water beneath you will turn into ice. Deactivates when you are falling, sneaking, or under the water.",
|
||||
"badges": [
|
||||
{
|
||||
"sprite": "aspects:textures/gui/badge/equal.png",
|
||||
"text": "Neutral"
|
||||
}
|
||||
]
|
||||
}
|
||||
25
build/resources/main/data/aspects/powers/hot_biomes.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"type": "origins:conditioned_attribute",
|
||||
"modifier": {
|
||||
"attribute": "minecraft:generic.attack_damage",
|
||||
"operation": "addition",
|
||||
"value": 0.4
|
||||
},
|
||||
"tick_rate": 20,
|
||||
"condition": {
|
||||
"type": "origins:biome",
|
||||
"condition": {
|
||||
"type": "origins:temperature",
|
||||
"comparison": ">=",
|
||||
"compare_to": 1.0
|
||||
}
|
||||
},
|
||||
"name":"Heat Affinity",
|
||||
"description":"You get a decent attack boost in hot biomes.",
|
||||
"badges": [
|
||||
{
|
||||
"sprite": "aspects:textures/gui/badge/check.png",
|
||||
"text": "Positive"
|
||||
}
|
||||
]
|
||||
}
|
||||
25
build/resources/main/data/aspects/powers/ignis_primary.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"type": "origins:active_self",
|
||||
"entity_action": {
|
||||
"type":"origins:and",
|
||||
"actions": [
|
||||
{
|
||||
"type": "origins:set_on_fire",
|
||||
"duration": 15
|
||||
},
|
||||
{
|
||||
"type":"origins:execute_command",
|
||||
"command":"function aspects:fire_light"
|
||||
}
|
||||
],
|
||||
"cooldown": 300,
|
||||
"hud_render": {
|
||||
"should_render": true,
|
||||
"bar_index": 7,
|
||||
"inverted":true
|
||||
}
|
||||
},
|
||||
|
||||
"name":"Ignition",
|
||||
"description":"Using your primary active ability, you can light yourself on fire for a short duration, granting you an attack buff."
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"type": "origins:active_self",
|
||||
"entity_action": {
|
||||
"type":"origins:and",
|
||||
"actions": [
|
||||
{
|
||||
"type": "origins:area_of_effect",
|
||||
"radius": 10,
|
||||
"bientity_action": {
|
||||
"type": "origins:target_action",
|
||||
"action": {
|
||||
"type": "origins:set_on_fire",
|
||||
"duration": 5
|
||||
}
|
||||
},
|
||||
"bientity_condition": {
|
||||
"type": "origins:can_see"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type":"origins:execute_command",
|
||||
"command":"function aspects:ring_of_fire"
|
||||
|
||||
}
|
||||
]
|
||||
},
|
||||
"key":"key.origins.secondary_active",
|
||||
"cooldown": 1400,
|
||||
"name":"Ring of Fire",
|
||||
"description":"As your secondary ability, you can light entites around you on fire for a few seconds."
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"type": "origins:lava_vision",
|
||||
"s": 0,
|
||||
"v": 15,
|
||||
"hidden":true
|
||||
}
|
||||
298
build/resources/main/data/aspects/powers/negate_fall_damage.json
Normal file
@@ -0,0 +1,298 @@
|
||||
{
|
||||
"type": "origins:multiple",
|
||||
|
||||
"slowness_when_fall1": {
|
||||
"type": "origins:self_action_when_hit",
|
||||
"entity_action": {
|
||||
"type": "origins:apply_effect",
|
||||
"effect": {
|
||||
"effect": "minecraft:slowness",
|
||||
"amplifier": 0,
|
||||
"duration": 100
|
||||
}
|
||||
},
|
||||
"damage_condition": {
|
||||
"type": "origins:and",
|
||||
"conditions": [
|
||||
{
|
||||
"type": "origins:name",
|
||||
"name": "fall"
|
||||
},
|
||||
{
|
||||
"type": "origins:amount",
|
||||
"comparison": ">=",
|
||||
"compare_to": 3.0
|
||||
}
|
||||
]
|
||||
},
|
||||
"cooldown": 20
|
||||
},
|
||||
"slowness_when_flyintowall1": {
|
||||
"type": "origins:self_action_when_hit",
|
||||
"entity_action": {
|
||||
"type": "origins:apply_effect",
|
||||
"effect": {
|
||||
"effect": "minecraft:slowness",
|
||||
"amplifier": 0,
|
||||
"duration": 100
|
||||
}
|
||||
},
|
||||
"damage_condition": {
|
||||
"type": "origins:and",
|
||||
"conditions": [
|
||||
{
|
||||
"type": "origins:name",
|
||||
"name": "flyIntoWall"
|
||||
},
|
||||
{
|
||||
"type": "origins:amount",
|
||||
"comparison": ">=",
|
||||
"compare_to": 3.0
|
||||
}
|
||||
]
|
||||
},
|
||||
"cooldown": 20
|
||||
},
|
||||
|
||||
"slowness_when_fall3": {
|
||||
"type": "origins:self_action_when_hit",
|
||||
"entity_action": {
|
||||
"type": "origins:apply_effect",
|
||||
"effect": {
|
||||
"effect": "minecraft:slowness",
|
||||
"amplifier": 1,
|
||||
"duration": 100
|
||||
}
|
||||
},
|
||||
"damage_condition": {
|
||||
"type": "origins:and",
|
||||
"conditions": [
|
||||
{
|
||||
"type": "origins:name",
|
||||
"name": "fall"
|
||||
},
|
||||
{
|
||||
"type": "origins:amount",
|
||||
"comparison": ">=",
|
||||
"compare_to": 6.0
|
||||
}
|
||||
]
|
||||
},
|
||||
"cooldown": 20
|
||||
},
|
||||
"slowness_when_flyintowall3": {
|
||||
"type": "origins:self_action_when_hit",
|
||||
"entity_action": {
|
||||
"type": "origins:apply_effect",
|
||||
"effect": {
|
||||
"effect": "minecraft:slowness",
|
||||
"amplifier": 1,
|
||||
"duration": 100
|
||||
}
|
||||
},
|
||||
"damage_condition": {
|
||||
"type": "origins:and",
|
||||
"conditions": [
|
||||
{
|
||||
"type": "origins:name",
|
||||
"name": "flyIntoWall"
|
||||
},
|
||||
{
|
||||
"type": "origins:amount",
|
||||
"comparison": ">=",
|
||||
"compare_to": 6.0
|
||||
}
|
||||
]
|
||||
},
|
||||
"cooldown": 20
|
||||
},
|
||||
|
||||
"slowness_when_fall5": {
|
||||
"type": "origins:self_action_when_hit",
|
||||
"entity_action": {
|
||||
"type": "origins:apply_effect",
|
||||
"effect": {
|
||||
"effect": "minecraft:slowness",
|
||||
"amplifier": 2,
|
||||
"duration": 120
|
||||
}
|
||||
},
|
||||
"damage_condition": {
|
||||
"type": "origins:and",
|
||||
"conditions": [
|
||||
{
|
||||
"type": "origins:name",
|
||||
"name": "fall"
|
||||
},
|
||||
{
|
||||
"type": "origins:amount",
|
||||
"comparison": ">=",
|
||||
"compare_to": 10.0
|
||||
}
|
||||
]
|
||||
},
|
||||
"cooldown": 20
|
||||
},
|
||||
"slowness_when_flyintowall5": {
|
||||
"type": "origins:self_action_when_hit",
|
||||
"entity_action": {
|
||||
"type": "origins:apply_effect",
|
||||
"effect": {
|
||||
"effect": "minecraft:slowness",
|
||||
"amplifier": 2,
|
||||
"duration": 120
|
||||
}
|
||||
},
|
||||
"damage_condition": {
|
||||
"type": "origins:and",
|
||||
"conditions": [
|
||||
{
|
||||
"type": "origins:name",
|
||||
"name": "flyIntoWall"
|
||||
},
|
||||
{
|
||||
"type": "origins:amount",
|
||||
"comparison": ">=",
|
||||
"compare_to": 10.0
|
||||
}
|
||||
]
|
||||
},
|
||||
"cooldown": 20
|
||||
},
|
||||
|
||||
"slowness_when_fall7": {
|
||||
"type": "origins:self_action_when_hit",
|
||||
"entity_action": {
|
||||
"type": "origins:apply_effect",
|
||||
"effect": {
|
||||
"effect": "minecraft:slowness",
|
||||
"amplifier": 3,
|
||||
"duration": 140
|
||||
}
|
||||
},
|
||||
"damage_condition": {
|
||||
"type": "origins:and",
|
||||
"conditions": [
|
||||
{
|
||||
"type": "origins:name",
|
||||
"name": "fall"
|
||||
},
|
||||
{
|
||||
"type": "origins:amount",
|
||||
"comparison": ">=",
|
||||
"compare_to": 14.0
|
||||
}
|
||||
]
|
||||
},
|
||||
"cooldown": 20
|
||||
},
|
||||
"slowness_when_flyintowall7": {
|
||||
"type": "origins:self_action_when_hit",
|
||||
"entity_action": {
|
||||
"type": "origins:apply_effect",
|
||||
"effect": {
|
||||
"effect": "minecraft:slowness",
|
||||
"amplifier": 3,
|
||||
"duration": 140
|
||||
}
|
||||
},
|
||||
"damage_condition": {
|
||||
"type": "origins:and",
|
||||
"conditions": [
|
||||
{
|
||||
"type": "origins:name",
|
||||
"name": "flyIntoWall"
|
||||
},
|
||||
{
|
||||
"type": "origins:amount",
|
||||
"comparison": ">=",
|
||||
"compare_to": 14.0
|
||||
}
|
||||
]
|
||||
},
|
||||
"cooldown": 20
|
||||
},
|
||||
|
||||
"slowness_when_fall9": {
|
||||
"type": "origins:self_action_when_hit",
|
||||
"entity_action": {
|
||||
"type": "origins:apply_effect",
|
||||
"effect": {
|
||||
"effect": "minecraft:slowness",
|
||||
"amplifier": 4,
|
||||
"duration": 140
|
||||
}
|
||||
},
|
||||
"damage_condition": {
|
||||
"type": "origins:and",
|
||||
"conditions": [
|
||||
{
|
||||
"type": "origins:name",
|
||||
"name": "fall"
|
||||
},
|
||||
{
|
||||
"type": "origins:amount",
|
||||
"comparison": ">=",
|
||||
"compare_to": 18.0
|
||||
}
|
||||
]
|
||||
},
|
||||
"cooldown": 20
|
||||
},
|
||||
"slowness_when_flyintowall9": {
|
||||
"type": "origins:self_action_when_hit",
|
||||
"entity_action": {
|
||||
"type": "origins:apply_effect",
|
||||
"effect": {
|
||||
"effect": "minecraft:slowness",
|
||||
"amplifier": 4,
|
||||
"duration": 140
|
||||
}
|
||||
},
|
||||
"damage_condition": {
|
||||
"type": "origins:and",
|
||||
"conditions": [
|
||||
{
|
||||
"type": "origins:name",
|
||||
"name": "flyIntoWall"
|
||||
},
|
||||
{
|
||||
"type": "origins:amount",
|
||||
"comparison": ">=",
|
||||
"compare_to": 18.0
|
||||
}
|
||||
]
|
||||
},
|
||||
"cooldown": 20
|
||||
},
|
||||
|
||||
"reduced_kinetic_damage": {
|
||||
"type": "origins:modify_damage_taken",
|
||||
"modifier": {
|
||||
"name": "More kinetic damage taken",
|
||||
"value": -0.85,
|
||||
"operation": "multiply_base"
|
||||
},
|
||||
"damage_condition": {
|
||||
"type": "origins:or",
|
||||
"conditions": [
|
||||
{
|
||||
"type": "origins:name",
|
||||
"name": "fall"
|
||||
},
|
||||
{
|
||||
"type": "origins:name",
|
||||
"name": "flyIntoWall"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"name":"Negate Falling",
|
||||
"description":"You cannot take fall damage, but the more fall damage that is absorbed by the atmosphere, the more your movement speed will temporarily decrease.",
|
||||
"badges": [
|
||||
{
|
||||
"sprite": "aspects:textures/gui/badge/equal.png",
|
||||
"text": "Neutral"
|
||||
}
|
||||
]
|
||||
}
|
||||
23
build/resources/main/data/aspects/powers/nether_buff.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"type": "origins:conditioned_attribute",
|
||||
"modifier": {
|
||||
"attribute": "minecraft:generic.attack_damage",
|
||||
"operation": "addition",
|
||||
"value": 0.4
|
||||
},
|
||||
"condition": {
|
||||
"type": "origins:biome",
|
||||
"condition": {
|
||||
"type": "origins:category",
|
||||
"category": "nether"
|
||||
}
|
||||
},
|
||||
"name":"Homely Strength",
|
||||
"description":"You do more damage whilst in the Nether.",
|
||||
"badges": [
|
||||
{
|
||||
"sprite": "aspects:textures/gui/badge/check.png",
|
||||
"text": "Positive"
|
||||
}
|
||||
]
|
||||
}
|
||||
21
build/resources/main/data/aspects/powers/storm_strength.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"type": "origins:conditioned_attribute",
|
||||
"modifier": {
|
||||
"attribute": "minecraft:generic.attack_damage",
|
||||
"operation": "addition",
|
||||
"value": 0.4
|
||||
},
|
||||
"tick_rate": 10,
|
||||
"condition": {
|
||||
"type": "origins:predicate",
|
||||
"predicate": "aspects:weather/is_thunderstorm"
|
||||
},
|
||||
"name":"Storm Strength",
|
||||
"description":"During thunderstorms, you do significantly more damage to others.",
|
||||
"badges": [
|
||||
{
|
||||
"sprite": "aspects:textures/gui/badge/check.png",
|
||||
"text": "Positive"
|
||||
}
|
||||
]
|
||||
}
|
||||
35
build/resources/main/data/aspects/powers/tempus_primary.json
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"type": "origins:active_self",
|
||||
"entity_action": {
|
||||
"type": "origins:raycast",
|
||||
"distance": 8,
|
||||
"block": true,
|
||||
"entity": true,
|
||||
"shape_type": "visual",
|
||||
"fluid_handling": "any",
|
||||
"bientity_action": {
|
||||
"type": "origins:target_action",
|
||||
"action":{
|
||||
"type":"origins:damage",
|
||||
"amount": 2,
|
||||
"source": {
|
||||
"name": "lightningBolt",
|
||||
"bypasses_armor": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"command_at_hit": "function aspects:lightning_bolt",
|
||||
"command_step": 1
|
||||
},
|
||||
"cooldown": 240,
|
||||
"hud_render": {
|
||||
"should_render": true,
|
||||
"sprite_location": "origins:textures/gui/resource_bar.png",
|
||||
"bar_index":2,
|
||||
"inverted":true
|
||||
},
|
||||
|
||||
"name":"Lightning Bolt",
|
||||
"description":"When pressing the respective key, you will summon a lightning bolt at the block or entity you are looking at, doing damage and setting nearby blocks on fire as well."
|
||||
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
|
||||
{
|
||||
"type": "origins:active_self",
|
||||
"entity_action": {
|
||||
"type": "origins:and",
|
||||
"actions": [
|
||||
{
|
||||
"type": "origins:area_of_effect",
|
||||
"radius": 10,
|
||||
"bientity_action": {
|
||||
"type": "origins:target_action",
|
||||
"action": {
|
||||
"type": "origins:add_velocity",
|
||||
"z": 5
|
||||
}
|
||||
},
|
||||
"bientity_condition": {
|
||||
"type": "origins:can_see"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "origins:area_of_effect",
|
||||
"radius": 10,
|
||||
"bientity_action": {
|
||||
"type": "origins:damage",
|
||||
"amount": 5,
|
||||
"source": {
|
||||
"name": "lightningBolt",
|
||||
"bypasses_armor": true
|
||||
}
|
||||
},
|
||||
"bientity_condition": {
|
||||
"type": "origins:can_see"
|
||||
}
|
||||
|
||||
},
|
||||
{
|
||||
"type": "origins:heal",
|
||||
"amount": 6
|
||||
},
|
||||
{
|
||||
"type":"origins:execute_command",
|
||||
"command":"function aspects:raging_gales"
|
||||
}
|
||||
]
|
||||
},
|
||||
"hud_render": {
|
||||
"should_render": true,
|
||||
"inverted":true,
|
||||
"sprite_location": "origins:textures/gui/resource_bar.png",
|
||||
"bar_index":3
|
||||
|
||||
},
|
||||
"key":"key.origins.secondary_active",
|
||||
"cooldown": 400,
|
||||
"name":"Raging Gales",
|
||||
"description":"As your secondary ability, you can push enemies away by a few blocks whilst healing yourself and dealing damage to others."
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"type": "origins:action_over_time",
|
||||
"entity_action": {
|
||||
"type": "origins:gain_air",
|
||||
"value": 200
|
||||
},
|
||||
"interval": 20,
|
||||
"condition": {
|
||||
"type": "origins:submerged_in",
|
||||
"fluid": "minecraft:water"
|
||||
},
|
||||
|
||||
"name":"Gills",
|
||||
"description":"You can breathe underwater.",
|
||||
"badges": [
|
||||
{
|
||||
"sprite": "aspects:textures/gui/badge/check.png",
|
||||
"text": "Positive"
|
||||
}
|
||||
]
|
||||
}
|
||||
36
build/resources/main/data/aspects/powers/water_damage.json
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"type": "origins:damage_over_time",
|
||||
"interval": 20,
|
||||
"onset_delay": 1,
|
||||
"damage": 2,
|
||||
"damage_easy": 1,
|
||||
"damage_source": {
|
||||
"name": "hurt_by_water",
|
||||
"unblockable": true,
|
||||
"bypasses_armor": true
|
||||
},
|
||||
"protection_enchantment": "origins:water_protection",
|
||||
"protection_effectiveness": 1.0,
|
||||
"condition": {
|
||||
"type": "origins:or",
|
||||
"conditions": [
|
||||
{
|
||||
"type": "origins:fluid_height",
|
||||
"fluid": "minecraft:water",
|
||||
"comparison": ">",
|
||||
"compare_to": 0.0
|
||||
},
|
||||
{
|
||||
"type": "origins:in_rain"
|
||||
}
|
||||
]
|
||||
},
|
||||
"name":"Water Damage",
|
||||
"description":"When you touch water, you receive damage.",
|
||||
"badges": [
|
||||
{
|
||||
"sprite": "aspects:textures/gui/badge/cross.png",
|
||||
"text": "Negative"
|
||||
}
|
||||
]
|
||||
}
|
||||
6
build/resources/main/data/aspects/powers/waterborn.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"type": "origins:particle",
|
||||
"particle": "minecraft:bubble",
|
||||
"frequency": 80,
|
||||
"hidden":true
|
||||
}
|
||||
6
build/resources/main/data/aspects/powers/windborn.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"type": "origins:particle",
|
||||
"particle": "minecraft:cloud",
|
||||
"frequency": 80,
|
||||
"hidden":true
|
||||
}
|
||||
15
build/resources/main/data/aspects/powers/wise.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"type": "origins:modify_xp_gain",
|
||||
"modifier": {
|
||||
"operation": "multiply_base",
|
||||
"value": 2.0
|
||||
},
|
||||
"name":"Wise",
|
||||
"description":"Anemo is also the aspect of wisdom and knowledge. You gain 3x more experience upon picking up an experience orb. Way to go, smarty pants.",
|
||||
"badges": [
|
||||
{
|
||||
"sprite": "aspects:textures/gui/badge/check.png",
|
||||
"text": "Positive"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"condition": "minecraft:weather_check",
|
||||
"raining": true,
|
||||
"thundering": true
|
||||
}
|
||||
38
build/resources/main/fabric.mod.json
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"id": "aspects",
|
||||
"version": "1.0.0",
|
||||
|
||||
"name": "Aspects",
|
||||
"description": "This is an example description! Tell everyone what your mod is about!",
|
||||
"authors": [
|
||||
"Fishplex"
|
||||
],
|
||||
"contact": {
|
||||
"homepage": "https://fabricmc.net/",
|
||||
"sources": "https://github.com/FabricMC/fabric-example-mod"
|
||||
},
|
||||
|
||||
"license": "CC0-1.0",
|
||||
"icon": "assets/modid/icon.png",
|
||||
|
||||
"environment": "*",
|
||||
"entrypoints": {
|
||||
"main": [
|
||||
"net.fabricmc.fishplex.Aspects"
|
||||
]
|
||||
},
|
||||
"mixins": [
|
||||
"aspects.mixins.json"
|
||||
],
|
||||
|
||||
"depends": {
|
||||
"fabricloader": ">=0.11.3",
|
||||
"fabric": "*",
|
||||
"minecraft": "1.18.x",
|
||||
"java": ">=17"
|
||||
},
|
||||
"suggests": {
|
||||
"another-mod": "*"
|
||||
}
|
||||
}
|
||||