Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Soybean fix and SushiGoCrafting Tags (Issues #1614, #1615) #1616

Merged
merged 2 commits into from
Jan 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion kubejs/server_scripts/mods/Minecolonies/Recipes.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ if (Platform.isLoaded('minecolonies')) {
//Onion replacement
event.replaceInput({ input: 'minecolonies:onion' }, 'minecolonies:onion', '#c:crops/onion' )
//Soybean replacement
event.replaceInput({ input: 'minecolonies:soybean' }, 'minecolonies:soybean', '#c:crops/onion' )
event.replaceInput({ input: 'minecolonies:soybean' }, 'minecolonies:soybean', '#c:crops/soybean' )
//Tomato replacement
event.replaceInput({ input: 'minecolonies:tomato' }, 'minecolonies:tomato', '#c:crops/tomato' )
//Rice replacement
Expand Down
43 changes: 43 additions & 0 deletions kubejs/server_scripts/mods/SushiGoCrafting/tags.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
//This file intended to help SushiGoCrafting crops / items be used in place of other crops / items in recipes, mirroring tags currently applied to crops / items of the same in-game name or intended purpose.
//It's quite possible that many of these tags are redundant somehow
ServerEvents.tags('item', allthemods => {
//Soybean
allthemods.add('c:crops', 'sushigocrafting:soy_bean')
allthemods.add('c:crops/soybean', 'sushigocrafting:soy_bean')
allthemods.add('c:flour_plants/soybean', 'sushigocrafting:soy_bean')
allthemods.add('c:flour_plants', 'sushigocrafting:soy_bean')
allthemods.add('c:grain/soybean', 'sushigocrafting:soy_bean')
allthemods.add('c:grain', 'sushigocrafting:soy_bean')
//Rice
allthemods.add('twilightforest:tiny_bird_tempt_items', 'sushigocrafting:rice')
allthemods.add('minecraft:chicken_food', 'sushigocrafting:rice')
allthemods.add('cookingforblockheads:ingredients', 'sushigocrafting:rice')
allthemods.add('twilightforest:raven_tempt_items', 'sushigocrafting:rice')
allthemods.add('c:crops/grain', 'sushigocrafting:rice')
allthemods.add('minecraft:parrot_food', 'sushigocrafting:rice')
allthemods.add('twilightforest:squirrel_tempt_items', 'sushigocrafting:rice')
allthemods.add('c:animal_foods', 'sushigocrafting:rice')
allthemods.add('c:paper_plants/rice', 'sushigocrafting:rice')
allthemods.add('c:paper_plants', 'sushigocrafting:rice')
allthemods.add('c:protein', 'sushigocrafting:rice')
allthemods.add('c:flour_plants', 'sushigocrafting:rice')
allthemods.add('c:carbs/rice', 'sushigocrafting:rice')
allthemods.add('c:flour_plants/rice', 'sushigocrafting:rice')
allthemods.add('c:grain/rice', 'sushigocrafting:rice')
allthemods.add('c:carbs', 'sushigocrafting:rice')
allthemods.add('c:vinegar_ingredients', 'sushigocrafting:rice')
allthemods.add('c:grain', 'sushigocrafting:rice')
allthemods.add('c:protein/rice', 'sushigocrafting:rice')
//Avocado
allthemods.add('c:egg', 'sushigocrafting:avocado')
allthemods.add('c:egg/avocado', 'sushigocrafting:avocado')
allthemods.add('c:vegetables', 'sushigocrafting:avocado')
allthemods.add('c:vegetables/avocado', 'sushigocrafting:avocado')
allthemods.add('minecolonies:blacksmith_ingredient_excluded', 'sushigocrafting:avocado')
allthemods.add('minecolonies:compostables', 'sushigocrafting:avocado')
//Cucumber
allthemods.add('c:vegetables', 'sushigocrafting:cucumber')
allthemods.add('c:vegetables/cucumber', 'sushigocrafting:cucumber')
allthemods.add('minecolonies:compostables', 'sushigocrafting:cucumber')
allthemods.add('c:salad_ingredients/cucumber', 'sushigocrafting:cucumber')
})