-
-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: ✨ Add copper backpack with more inventory slots but still only 1 upgrade slot * feat: ✨ Add Stack Upgrade Starter Tier crafted with copper blocks and can be crafted into tier 1 with fewer iron blocks needed
- Loading branch information
Showing
37 changed files
with
392 additions
and
70 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
34 changes: 34 additions & 0 deletions
34
...a/sophisticatedbackpacks/advancements/recipes/sophisticatedbackpacks/copper_backpack.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,34 @@ | ||
{ | ||
"parent": "minecraft:recipes/root", | ||
"rewards": { | ||
"recipes": [ | ||
"sophisticatedbackpacks:copper_backpack" | ||
] | ||
}, | ||
"criteria": { | ||
"has_backpack": { | ||
"trigger": "minecraft:inventory_changed", | ||
"conditions": { | ||
"items": [ | ||
{ | ||
"items": [ | ||
"sophisticatedbackpacks:backpack" | ||
] | ||
} | ||
] | ||
} | ||
}, | ||
"has_the_recipe": { | ||
"trigger": "minecraft:recipe_unlocked", | ||
"conditions": { | ||
"recipe": "sophisticatedbackpacks:copper_backpack" | ||
} | ||
} | ||
}, | ||
"requirements": [ | ||
[ | ||
"has_backpack", | ||
"has_the_recipe" | ||
] | ||
] | ||
} |
34 changes: 34 additions & 0 deletions
34
...catedbackpacks/advancements/recipes/sophisticatedbackpacks/iron_backpack_from_copper.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,34 @@ | ||
{ | ||
"parent": "minecraft:recipes/root", | ||
"rewards": { | ||
"recipes": [ | ||
"sophisticatedbackpacks:iron_backpack_from_copper" | ||
] | ||
}, | ||
"criteria": { | ||
"has_copper_backpack": { | ||
"trigger": "minecraft:inventory_changed", | ||
"conditions": { | ||
"items": [ | ||
{ | ||
"items": [ | ||
"sophisticatedbackpacks:copper_backpack" | ||
] | ||
} | ||
] | ||
} | ||
}, | ||
"has_the_recipe": { | ||
"trigger": "minecraft:recipe_unlocked", | ||
"conditions": { | ||
"recipe": "sophisticatedbackpacks:iron_backpack_from_copper" | ||
} | ||
} | ||
}, | ||
"requirements": [ | ||
[ | ||
"has_copper_backpack", | ||
"has_the_recipe" | ||
] | ||
] | ||
} |
34 changes: 34 additions & 0 deletions
34
...atedbackpacks/advancements/recipes/sophisticatedbackpacks/stack_upgrade_starter_tier.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,34 @@ | ||
{ | ||
"parent": "minecraft:recipes/root", | ||
"rewards": { | ||
"recipes": [ | ||
"sophisticatedbackpacks:stack_upgrade_starter_tier" | ||
] | ||
}, | ||
"criteria": { | ||
"has_upgrade_base": { | ||
"trigger": "minecraft:inventory_changed", | ||
"conditions": { | ||
"items": [ | ||
{ | ||
"items": [ | ||
"sophisticatedbackpacks:upgrade_base" | ||
] | ||
} | ||
] | ||
} | ||
}, | ||
"has_the_recipe": { | ||
"trigger": "minecraft:recipe_unlocked", | ||
"conditions": { | ||
"recipe": "sophisticatedbackpacks:stack_upgrade_starter_tier" | ||
} | ||
} | ||
}, | ||
"requirements": [ | ||
[ | ||
"has_upgrade_base", | ||
"has_the_recipe" | ||
] | ||
] | ||
} |
34 changes: 34 additions & 0 deletions
34
...kpacks/advancements/recipes/sophisticatedbackpacks/stack_upgrade_tier_1_from_starter.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,34 @@ | ||
{ | ||
"parent": "minecraft:recipes/root", | ||
"rewards": { | ||
"recipes": [ | ||
"sophisticatedbackpacks:stack_upgrade_tier_1_from_starter" | ||
] | ||
}, | ||
"criteria": { | ||
"has_upgrade_base": { | ||
"trigger": "minecraft:inventory_changed", | ||
"conditions": { | ||
"items": [ | ||
{ | ||
"items": [ | ||
"sophisticatedbackpacks:upgrade_base" | ||
] | ||
} | ||
] | ||
} | ||
}, | ||
"has_the_recipe": { | ||
"trigger": "minecraft:recipe_unlocked", | ||
"conditions": { | ||
"recipe": "sophisticatedbackpacks:stack_upgrade_tier_1_from_starter" | ||
} | ||
} | ||
}, | ||
"requirements": [ | ||
[ | ||
"has_upgrade_base", | ||
"has_the_recipe" | ||
] | ||
] | ||
} |
21 changes: 21 additions & 0 deletions
21
src/generated/resources/data/sophisticatedbackpacks/loot_tables/blocks/copper_backpack.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,21 @@ | ||
{ | ||
"type": "minecraft:block", | ||
"pools": [ | ||
{ | ||
"name": "main", | ||
"rolls": 1.0, | ||
"bonus_rolls": 0.0, | ||
"entries": [ | ||
{ | ||
"type": "minecraft:item", | ||
"name": "sophisticatedbackpacks:copper_backpack" | ||
} | ||
], | ||
"functions": [ | ||
{ | ||
"function": "sophisticatedbackpacks:copy_backpack_data" | ||
} | ||
] | ||
} | ||
] | ||
} |
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
25 changes: 25 additions & 0 deletions
25
src/generated/resources/data/sophisticatedbackpacks/recipes/copper_backpack.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,25 @@ | ||
{ | ||
"type": "sophisticatedbackpacks:backpack_upgrade", | ||
"conditions": [ | ||
{ | ||
"itemRegistryName": "sophisticatedbackpacks:copper_backpack", | ||
"type": "sophisticatedcore:item_enabled" | ||
} | ||
], | ||
"pattern": [ | ||
"CCC", | ||
"CBC", | ||
"CCC" | ||
], | ||
"key": { | ||
"C": { | ||
"tag": "forge:ingots/copper" | ||
}, | ||
"B": { | ||
"item": "sophisticatedbackpacks:backpack" | ||
} | ||
}, | ||
"result": { | ||
"item": "sophisticatedbackpacks:copper_backpack" | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
src/generated/resources/data/sophisticatedbackpacks/recipes/iron_backpack_from_copper.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,25 @@ | ||
{ | ||
"type": "sophisticatedbackpacks:backpack_upgrade", | ||
"conditions": [ | ||
{ | ||
"itemRegistryName": "sophisticatedbackpacks:iron_backpack", | ||
"type": "sophisticatedcore:item_enabled" | ||
} | ||
], | ||
"pattern": [ | ||
" I ", | ||
"IBI", | ||
" I " | ||
], | ||
"key": { | ||
"I": { | ||
"tag": "forge:ingots/iron" | ||
}, | ||
"B": { | ||
"item": "sophisticatedbackpacks:copper_backpack" | ||
} | ||
}, | ||
"result": { | ||
"item": "sophisticatedbackpacks:iron_backpack" | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
src/generated/resources/data/sophisticatedbackpacks/recipes/stack_upgrade_starter_tier.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,25 @@ | ||
{ | ||
"type": "minecraft:crafting_shaped", | ||
"conditions": [ | ||
{ | ||
"itemRegistryName": "sophisticatedbackpacks:stack_upgrade_starter_tier", | ||
"type": "sophisticatedcore:item_enabled" | ||
} | ||
], | ||
"pattern": [ | ||
"CCC", | ||
"CBC", | ||
"CCC" | ||
], | ||
"key": { | ||
"B": { | ||
"item": "sophisticatedbackpacks:upgrade_base" | ||
}, | ||
"C": { | ||
"tag": "forge:storage_blocks/copper" | ||
} | ||
}, | ||
"result": { | ||
"item": "sophisticatedbackpacks:stack_upgrade_starter_tier" | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...ated/resources/data/sophisticatedbackpacks/recipes/stack_upgrade_tier_1_from_starter.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,25 @@ | ||
{ | ||
"type": "minecraft:crafting_shaped", | ||
"conditions": [ | ||
{ | ||
"itemRegistryName": "sophisticatedbackpacks:stack_upgrade_tier_1", | ||
"type": "sophisticatedcore:item_enabled" | ||
} | ||
], | ||
"pattern": [ | ||
" I ", | ||
"ISI", | ||
" I " | ||
], | ||
"key": { | ||
"S": { | ||
"item": "sophisticatedbackpacks:stack_upgrade_starter_tier" | ||
}, | ||
"I": { | ||
"tag": "forge:storage_blocks/iron" | ||
} | ||
}, | ||
"result": { | ||
"item": "sophisticatedbackpacks:stack_upgrade_tier_1" | ||
} | ||
} |
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.