-
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.
Implement improved modifier display name logic
- Loading branch information
1 parent
0cf2a01
commit 7e9b450
Showing
47 changed files
with
317 additions
and
229 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
1 change: 1 addition & 0 deletions
1
src/generated/resources/data/tconstruct/tinkering/modifiers/diamond.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
6 changes: 3 additions & 3 deletions
6
src/generated/resources/data/tconstruct/tinkering/modifiers/draconic.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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"type": "tconstruct:extra_slot", | ||
"level_display": "tconstruct:single_level", | ||
"always_show": false, | ||
"slots": { | ||
"abilities": 1 | ||
}, | ||
"single_level": true, | ||
"always_show": false | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
src/generated/resources/data/tconstruct/tinkering/modifiers/ductile.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
1 change: 1 addition & 0 deletions
1
src/generated/resources/data/tconstruct/tinkering/modifiers/emerald.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
6 changes: 3 additions & 3 deletions
6
src/generated/resources/data/tconstruct/tinkering/modifiers/enhanced.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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"type": "tconstruct:extra_slot", | ||
"level_display": "tconstruct:default", | ||
"always_show": true, | ||
"slots": { | ||
"upgrades": 1 | ||
}, | ||
"single_level": false, | ||
"always_show": true | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
src/generated/resources/data/tconstruct/tinkering/modifiers/fortune.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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"type": "tconstruct:loot", | ||
"level_display": "tconstruct:default", | ||
"enchantment": { | ||
"name": "minecraft:fortune", | ||
"level": 1 | ||
}, | ||
"single_level": false | ||
} | ||
} |
6 changes: 3 additions & 3 deletions
6
src/generated/resources/data/tconstruct/tinkering/modifiers/gilded.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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"type": "tconstruct:extra_slot", | ||
"level_display": "tconstruct:default", | ||
"always_show": false, | ||
"slots": { | ||
"upgrades": 2 | ||
}, | ||
"single_level": false, | ||
"always_show": false | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
src/generated/resources/data/tconstruct/tinkering/modifiers/golden.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
6 changes: 3 additions & 3 deletions
6
src/generated/resources/data/tconstruct/tinkering/modifiers/harmonious.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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"type": "tconstruct:extra_slot", | ||
"level_display": "tconstruct:single_level", | ||
"always_show": false, | ||
"slots": { | ||
"upgrades": 1 | ||
}, | ||
"single_level": true, | ||
"always_show": false | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
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
1 change: 1 addition & 0 deletions
1
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
1 change: 1 addition & 0 deletions
1
src/generated/resources/data/tconstruct/tinkering/modifiers/knockback_resistance.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
1 change: 1 addition & 0 deletions
1
src/generated/resources/data/tconstruct/tinkering/modifiers/lightweight.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
4 changes: 2 additions & 2 deletions
4
src/generated/resources/data/tconstruct/tinkering/modifiers/looting.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"type": "tconstruct:loot", | ||
"looting": 1, | ||
"single_level": false | ||
"level_display": "tconstruct:default", | ||
"looting": 1 | ||
} |
12 changes: 12 additions & 0 deletions
12
src/generated/resources/data/tconstruct/tinkering/modifiers/luck.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,12 @@ | ||
{ | ||
"type": "tconstruct:loot", | ||
"level_display": { | ||
"type": "tconstruct:unique", | ||
"unique_until": 3 | ||
}, | ||
"enchantment": { | ||
"name": "minecraft:fortune", | ||
"level": 1 | ||
}, | ||
"looting": 1 | ||
} |
1 change: 1 addition & 0 deletions
1
src/generated/resources/data/tconstruct/tinkering/modifiers/netherite.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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"type": "tconstruct:stat_boost", | ||
"level_display": "tconstruct:single_level", | ||
"rarity": "rare", | ||
"stats": [ | ||
{ | ||
|
1 change: 1 addition & 0 deletions
1
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
6 changes: 3 additions & 3 deletions
6
src/generated/resources/data/tconstruct/tinkering/modifiers/recapitated.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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"type": "tconstruct:extra_slot", | ||
"level_display": "tconstruct:single_level", | ||
"always_show": false, | ||
"slots": { | ||
"upgrades": 1 | ||
}, | ||
"single_level": true, | ||
"always_show": false | ||
} | ||
} |
6 changes: 3 additions & 3 deletions
6
src/generated/resources/data/tconstruct/tinkering/modifiers/resurrected.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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"type": "tconstruct:extra_slot", | ||
"level_display": "tconstruct:single_level", | ||
"always_show": false, | ||
"slots": { | ||
"upgrades": 1 | ||
}, | ||
"single_level": true, | ||
"always_show": false | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
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
14 changes: 14 additions & 0 deletions
14
src/generated/resources/data/tconstruct/tinkering/modifiers/sharpness.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,14 @@ | ||
{ | ||
"type": "tconstruct:stat_boost", | ||
"level_display": { | ||
"type": "tconstruct:unique", | ||
"unique_until": 5 | ||
}, | ||
"stats": [ | ||
{ | ||
"stat": "tconstruct:attack_damage", | ||
"type": "add", | ||
"value": 0.75 | ||
} | ||
] | ||
} |
1 change: 1 addition & 0 deletions
1
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
1 change: 1 addition & 0 deletions
1
src/generated/resources/data/tconstruct/tinkering/modifiers/shiny.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
4 changes: 2 additions & 2 deletions
4
src/generated/resources/data/tconstruct/tinkering/modifiers/silky.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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"type": "tconstruct:loot", | ||
"level_display": "tconstruct:no_levels", | ||
"enchantment": { | ||
"name": "minecraft:silk_touch", | ||
"level": 1 | ||
}, | ||
"single_level": true | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
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
1 change: 1 addition & 0 deletions
1
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
1 change: 1 addition & 0 deletions
1
src/generated/resources/data/tconstruct/tinkering/modifiers/sturdy.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
14 changes: 14 additions & 0 deletions
14
src/generated/resources/data/tconstruct/tinkering/modifiers/swiftstrike.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,14 @@ | ||
{ | ||
"type": "tconstruct:stat_boost", | ||
"level_display": { | ||
"type": "tconstruct:unique", | ||
"unique_until": 5 | ||
}, | ||
"stats": [ | ||
{ | ||
"stat": "tconstruct:attack_speed", | ||
"type": "multiply_base", | ||
"value": 0.05 | ||
} | ||
] | ||
} |
1 change: 1 addition & 0 deletions
1
src/generated/resources/data/tconstruct/tinkering/modifiers/wings.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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"type": "tconstruct:stat_boost", | ||
"level_display": "tconstruct:default", | ||
"flags": [ | ||
"tconstruct:elyta" | ||
] | ||
|
2 changes: 2 additions & 0 deletions
2
src/generated/resources/data/tconstruct/tinkering/modifiers/worldbound.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
6 changes: 3 additions & 3 deletions
6
src/generated/resources/data/tconstruct/tinkering/modifiers/writable.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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"type": "tconstruct:extra_slot", | ||
"level_display": "tconstruct:single_level", | ||
"always_show": false, | ||
"slots": { | ||
"upgrades": 1 | ||
}, | ||
"single_level": true, | ||
"always_show": false | ||
} | ||
} |
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
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
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.