-
Notifications
You must be signed in to change notification settings - Fork 754
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for attributes in the stat boost modifier
Also fixes the salvage recipe for revitalized
- Loading branch information
1 parent
8dd034a
commit 7317b11
Showing
25 changed files
with
429 additions
and
365 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
src/generated/resources/data/tconstruct/tinkering/modifiers/heavy.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"type": "tconstruct:stat_boost", | ||
"stats": [ | ||
{ | ||
"stat": "tconstruct:attack_damage", | ||
"type": "multiply_base", | ||
"value": 0.1 | ||
} | ||
], | ||
"attributes": [ | ||
{ | ||
"unique": "tconstruct.modifier.heavy", | ||
"attribute": "minecraft:generic.movement_speed", | ||
"operation": "multiply_base", | ||
"amount": -0.1, | ||
"slots": [ | ||
"mainhand", | ||
"offhand" | ||
] | ||
} | ||
] | ||
} |
17 changes: 17 additions & 0 deletions
17
src/generated/resources/data/tconstruct/tinkering/modifiers/knockback_armor.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"type": "tconstruct:stat_boost", | ||
"attributes": [ | ||
{ | ||
"unique": "tconstruct.modifier.armor_knockback", | ||
"attribute": "minecraft:generic.attack_knockback", | ||
"operation": "addition", | ||
"amount": 1.0, | ||
"slots": [ | ||
"feet", | ||
"legs", | ||
"chest", | ||
"head" | ||
] | ||
} | ||
] | ||
} |
18 changes: 18 additions & 0 deletions
18
src/generated/resources/data/tconstruct/tinkering/modifiers/reach.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"type": "tconstruct:stat_boost", | ||
"attributes": [ | ||
{ | ||
"unique": "tconstruct.modifier.reach", | ||
"attribute": "forge:reach_distance", | ||
"operation": "addition", | ||
"amount": 1.0, | ||
"slots": [ | ||
"mainhand", | ||
"feet", | ||
"legs", | ||
"chest", | ||
"head" | ||
] | ||
} | ||
] | ||
} |
17 changes: 17 additions & 0 deletions
17
src/generated/resources/data/tconstruct/tinkering/modifiers/revitalizing.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"type": "tconstruct:stat_boost", | ||
"attributes": [ | ||
{ | ||
"unique": "tconstruct.modifier.revitalizing", | ||
"attribute": "minecraft:generic.max_health", | ||
"operation": "addition", | ||
"amount": 2.0, | ||
"slots": [ | ||
"feet", | ||
"legs", | ||
"chest", | ||
"head" | ||
] | ||
} | ||
] | ||
} |
22 changes: 22 additions & 0 deletions
22
src/generated/resources/data/tconstruct/tinkering/modifiers/sharpweight.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"type": "tconstruct:stat_boost", | ||
"stats": [ | ||
{ | ||
"stat": "tconstruct:mining_speed", | ||
"type": "multiply_base", | ||
"value": 0.1 | ||
} | ||
], | ||
"attributes": [ | ||
{ | ||
"unique": "tconstruct.modifier.sharpweight", | ||
"attribute": "minecraft:generic.movement_speed", | ||
"operation": "multiply_base", | ||
"amount": -0.1, | ||
"slots": [ | ||
"mainhand", | ||
"offhand" | ||
] | ||
} | ||
] | ||
} |
17 changes: 17 additions & 0 deletions
17
src/generated/resources/data/tconstruct/tinkering/modifiers/speedy.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"type": "tconstruct:stat_boost", | ||
"attributes": [ | ||
{ | ||
"unique": "tconstruct.modifier.speedy", | ||
"attribute": "minecraft:generic.movement_speed", | ||
"operation": "multiply_total", | ||
"amount": 0.1, | ||
"slots": [ | ||
"feet", | ||
"legs", | ||
"chest", | ||
"head" | ||
] | ||
} | ||
] | ||
} |
17 changes: 17 additions & 0 deletions
17
src/generated/resources/data/tconstruct/tinkering/modifiers/strength.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"type": "tconstruct:stat_boost", | ||
"attributes": [ | ||
{ | ||
"unique": "tconstruct.modifier.strength", | ||
"attribute": "minecraft:generic.attack_damage", | ||
"operation": "multiply_total", | ||
"amount": 0.1, | ||
"slots": [ | ||
"feet", | ||
"legs", | ||
"chest", | ||
"head" | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.