Merge pull request #7 from AbyssDweller/main

Bug fixes and update to 1.19
This commit is contained in:
Fishplex
2022-09-05 15:06:31 -03:00
committed by GitHub
25 changed files with 53 additions and 599 deletions

Binary file not shown.

View File

@@ -1,14 +1,14 @@
commonProperties
fabric.development=true
fabric.remapClasspathFile=C:\Users\yena\Documents\GitHub\Aspects\.gradle\loom-cache\remapClasspath.txt
log4j.configurationFile=C:\Users\yena\Documents\GitHub\Aspects\.gradle\loom-cache\log4j.xml
fabric.remapClasspathFile=C:\Users\inscr\Documents\GitHub\Aspects\.gradle\loom-cache\remapClasspath.txt
log4j.configurationFile=C:\Users\inscr\Documents\GitHub\Aspects\.gradle\loom-cache\log4j.xml
log4j2.formatMsgNoLookups=true
fabric.log.disableAnsi=false
clientArgs
--assetIndex
1.18.2-1.18
--assetsDir
C:\Users\yena\.gradle\caches\fabric-loom\assets
C:\Users\inscr\.gradle\caches\fabric-loom\assets
clientProperties
java.library.path=C:\Users\yena\.gradle\caches\fabric-loom\1.18.2\natives
org.lwjgl.librarypath=C:\Users\yena\.gradle\caches\fabric-loom\1.18.2\natives
java.library.path=C:\Users\inscr\.gradle\caches\fabric-loom\1.18.2\natives
org.lwjgl.librarypath=C:\Users\inscr\.gradle\caches\fabric-loom\1.18.2\natives

File diff suppressed because one or more lines are too long

View File

@@ -10,3 +10,5 @@ Aspects is an element-based Origins addon, meaning it expands the functions and
- [Origins](https://www.curseforge.com/minecraft/mc-mods/origins)
- [Origins Extra Keybinds](https://www.curseforge.com/minecraft/mc-mods/origins-extra-keybinds)

View File

@@ -1,5 +1,5 @@
plugins {
id 'fabric-loom' version '0.10-SNAPSHOT'
id 'fabric-loom' version '0.12-SNAPSHOT'
id 'maven-publish'
}

View File

@@ -1,298 +1,27 @@
{
"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
}
},
"fall_immunity": {
"type": "origins:invulnerability",
"damage_condition": {
"type": "origins:and",
"conditions": [
{
"type": "origins:name",
"name": "fall"
},
{
"type": "origins:amount",
"comparison": ">=",
"compare_to": 3.0
}
]
"type": "origins:name",
"name": "fall"
},
"cooldown": 20
"cooldown": 1
},
"slowness_when_flyintowall1": {
"type": "origins:self_action_when_hit",
"entity_action": {
"type": "origins:apply_effect",
"effect": {
"effect": "minecraft:slowness",
"amplifier": 0,
"duration": 100
}
},
"kinetic_immunity": {
"type": "origins:invulnerability",
"damage_condition": {
"type": "origins:and",
"conditions": [
{
"type": "origins:name",
"name": "flyIntoWall"
},
{
"type": "origins:amount",
"comparison": ">=",
"compare_to": 3.0
}
]
"type": "origins:name",
"name": "flyIntoWall"
},
"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": -99999,
"operation": "multiply_base"
},
"damage_condition": {
"type": "origins:or",
"conditions": [
{
"type": "origins:name",
"name": "fall"
},
{
"type": "origins:name",
"name": "flyIntoWall"
}
]
}
"cooldown": 1
},
"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.",
"description":"You cannot take fall damage.",
"badges": [
{
"sprite": "aspects:textures/gui/badge/equal.png",
"text": "Neutral"
}
]
]
}

View File

@@ -1,7 +1,7 @@
{
"schemaVersion": 1,
"id": "aspects",
"version": "1.0.6",
"version": "1.0.7",
"name": "Aspects",
"description": "An element-based Origins addon for the Fabric modloader.",

View File

@@ -4,15 +4,15 @@ org.gradle.java.home=C:/Program Files/Java/jdk-17.0.2
# Fabric Properties
# check these on https://fabricmc.net/versions.html
minecraft_version=1.18.2
yarn_mappings=1.18.2+build.3
loader_version=0.14.6
minecraft_version=1.19
yarn_mappings=1.19+build.4
loader_version=0.14.9
# Mod Properties
mod_version = 1.0.6
mod_version = 1.0.8
maven_group = com.aspects
archives_base_name = aspects
origins_version=v1.4.1
origins_version=v1.6.2
# Dependencies
fabric_version=0.54.0+1.18.2
fabric_version=0.58.0+1.19

View File

@@ -2,7 +2,7 @@
"required": true,
"minVersion": "0.8",
"package": "net.fabricmc.fishplex.mixin",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_17",
"mixins": [
],
"client": [

View File

@@ -1,10 +1,8 @@
{
"powers": [
"aspects:fleet",
"aspects:storm_strength",
"aspects:lightning_immunity",
"aspects:tempus_primary",
"aspects:tempus_secondary"
"aspects:tempus_primary"
],
"icon": {
"item": "minecraft:amethyst_shard"

View File

@@ -2,11 +2,11 @@
"type": "origins:attribute",
"modifier": {
"attribute": "minecraft:generic.movement_speed",
"value": 0.01,
"value": 0.03,
"operation": "addition"
},
"name":"Like Lightning",
"description":"You are an even faster variant of Anemo. / +0.01 movement speed",
"description":"You are an even faster variant of Anemo. / +0.03 movement speed",
"badges": [
{
"sprite": "aspects:textures/gui/badge/check.png",

View File

@@ -1,12 +1,8 @@
{
"type": "origins:modify_damage_taken",
"type": "origins:invulnerability",
"damage_condition": {
"type": "origins:name",
"name":"lightningBolt"
},
"modifier": {
"operation": "addition",
"value": -1000
},
"hidden": true
}

View File

@@ -1,298 +1,27 @@
{
"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
}
},
"fall_immunity": {
"type": "origins:invulnerability",
"damage_condition": {
"type": "origins:and",
"conditions": [
{
"type": "origins:name",
"name": "fall"
},
{
"type": "origins:amount",
"comparison": ">=",
"compare_to": 3.0
}
]
"type": "origins:name",
"name": "fall"
},
"cooldown": 20
"cooldown": 1
},
"slowness_when_flyintowall1": {
"type": "origins:self_action_when_hit",
"entity_action": {
"type": "origins:apply_effect",
"effect": {
"effect": "minecraft:slowness",
"amplifier": 0,
"duration": 100
}
},
"kinetic_immunity": {
"type": "origins:invulnerability",
"damage_condition": {
"type": "origins:and",
"conditions": [
{
"type": "origins:name",
"name": "flyIntoWall"
},
{
"type": "origins:amount",
"comparison": ">=",
"compare_to": 3.0
}
]
"type": "origins:name",
"name": "flyIntoWall"
},
"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": -99999,
"operation": "multiply_base"
},
"damage_condition": {
"type": "origins:or",
"conditions": [
{
"type": "origins:name",
"name": "fall"
},
{
"type": "origins:name",
"name": "flyIntoWall"
}
]
}
"cooldown": 1
},
"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.",
"description":"You cannot take fall damage.",
"badges": [
{
"sprite": "aspects:textures/gui/badge/equal.png",
"text": "Neutral"
}
]
]
}

View File

@@ -2,7 +2,7 @@
"type": "origins:active_self",
"entity_action": {
"type": "origins:raycast",
"distance": 8,
"distance": 16,
"block": true,
"entity": true,
"shape_type": "visual",
@@ -14,14 +14,14 @@
"amount": 2,
"source": {
"name": "lightningBolt",
"bypasses_armor": false
"bypasses_armor": true
}
}
},
"command_at_hit": "function aspects:lightning_bolt",
"command_step": 1
},
"cooldown": 240,
"cooldown": 200,
"hud_render": {
"should_render": true,
"sprite_location": "origins:textures/gui/resource_bar.png",

View File

@@ -28,11 +28,11 @@
],
"depends": {
"fabricloader": ">=0.11.3",
"fabricloader": ">=0.14.9",
"fabric": "*",
"minecraft": "1.18.x",
"minecraft": "1.19.*",
"java": ">=17",
"extrakeybinds":"*",
"origins": ">=1.4.1"
"origins": ">=1.6.2"
}
}