-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1040 from YocyCraft/small-fixes
Farmer's Delight Compats
- Loading branch information
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
kubejs/server_scripts/mods/Farmer's Delight/Compatibility.js
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,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. |
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,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. |