Skip to content

Commit

Permalink
Merge pull request #1616 from Poseidon13856/main
Browse files Browse the repository at this point in the history
Soybean fix and SushiGoCrafting Tags (Issues #1614, #1615)
  • Loading branch information
whatthedrunk authored Jan 3, 2025
2 parents 21684cd + 8885b4a commit f994c28
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 1 deletion.
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')
})

0 comments on commit f994c28

Please sign in to comment.