Skip to content

Commit

Permalink
Merge pull request #1040 from YocyCraft/small-fixes
Browse files Browse the repository at this point in the history
Farmer's Delight Compats
  • Loading branch information
whatthedrunk authored Nov 8, 2024
2 parents 7b26969 + cfe3f89 commit 849e269
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
11 changes: 11 additions & 0 deletions kubejs/server_scripts/mods/Farmer's Delight/Compatibility.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/*
This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
*/

ServerEvents.tags('item', allthemods => {
allthemods.add('farmersdelight:tools/knives', '#c:tools/knife')
})

// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
24 changes: 24 additions & 0 deletions kubejs/startup_scripts/Farmer's Delight/Compatibility.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
*/

let stews = [
"biomeswevegone:white_puffball_stew",
"rootsclassic:rooty_stew",
"undergarden:bloody_stew",
"undergarden:inky_stew",
"undergarden:indigo_stew",
"undergarden:veiled_stew"
]

ItemEvents.modification(allthemods => {
stews.forEach(stew => {
allthemods.modify(stew, item => {
item.maxStackSize = 16
})
})
})

// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.

0 comments on commit 849e269

Please sign in to comment.