Compare commits

...

2 Commits

Author SHA1 Message Date
6b1830e160
Add missing cherry wood recipes 2023-10-24 19:32:22 -04:00
72e92ae6b7
Add KubeJS 2023-10-24 19:28:46 -04:00
5 changed files with 137 additions and 1 deletions

View File

@ -60,6 +60,10 @@ hash = "6f5bf766cebabca0bcfa339eeb119956c48c40eba03c5aa39d7685eab67c56b5"
file = "config/yosbr/shaderpacks/rethinking-voxels_r0.1_alpha9b.zip.txt" file = "config/yosbr/shaderpacks/rethinking-voxels_r0.1_alpha9b.zip.txt"
hash = "6e7b02f11cb6feb7f08d1088d042518d1a04cb6b71a7b2b109cf997173510e3c" hash = "6e7b02f11cb6feb7f08d1088d042518d1a04cb6b71a7b2b109cf997173510e3c"
[[files]]
file = "kubejs/server_scripts/cherry_wood_fixes.js"
hash = "4f35c8097157e770778f53b4b81dbd3450c1b76d0d99cd8cca76d8551c5dda1e"
[[files]] [[files]]
file = "mods/ad-astra.pw.toml" file = "mods/ad-astra.pw.toml"
hash = "ff786550ebc945232c072bd3011919ab9fef52baf819705309d67c961332b604" hash = "ff786550ebc945232c072bd3011919ab9fef52baf819705309d67c961332b604"
@ -415,6 +419,11 @@ file = "mods/krypton.pw.toml"
hash = "71ef7cc16632c0039fe194183b5885968c6d740aaa67a58000653ae0cb40b882" hash = "71ef7cc16632c0039fe194183b5885968c6d740aaa67a58000653ae0cb40b882"
metafile = true metafile = true
[[files]]
file = "mods/kubejs.pw.toml"
hash = "284fc793b1ba4d32cef7a8b48d71a6d165ee6bc02c8f39625471c755ce5a3c32"
metafile = true
[[files]] [[files]]
file = "mods/lambdynamiclights.pw.toml" file = "mods/lambdynamiclights.pw.toml"
hash = "a626674fc1092afe5ccc6cbf4856c09119e42395494f1c3862eed2ab17da0221" hash = "a626674fc1092afe5ccc6cbf4856c09119e42395494f1c3862eed2ab17da0221"
@ -535,6 +544,11 @@ file = "mods/resourceful-lib.pw.toml"
hash = "c89835f045a03832c287470cd1729a70f1265e3eac7b3cdaf603c3c1fd677689" hash = "c89835f045a03832c287470cd1729a70f1265e3eac7b3cdaf603c3c1fd677689"
metafile = true metafile = true
[[files]]
file = "mods/rhino.pw.toml"
hash = "af8bd290a5c7d75986905bf1b433e238e14933539836ac7bc37be02b3dcd6613"
metafile = true
[[files]] [[files]]
file = "mods/rightclickharvest.pw.toml" file = "mods/rightclickharvest.pw.toml"
hash = "31b3bcbde9677f9fc1006aab482e6f43b7552146359cc4ef363e30a237d1d12b" hash = "31b3bcbde9677f9fc1006aab482e6f43b7552146359cc4ef363e30a237d1d12b"

View File

@ -0,0 +1,96 @@
console.info('fixing cherry wood :3')
// we need plurals becuase "stripped_cherry_log" needs to be in
// "#c:stripped_logs", thanks The English Language i appreciate it very much
const logTypes = [
{"name": "log", "plural": "logs"},
{"name": "wood", "plural": "wood"}
]
const farmersDelightSalvageable = [
"trapdoor",
"sign",
"door"
]
ServerEvents.tags('item', event => {
for (const type of logTypes) {
event.add('c:stripped_' + type.plural, 'minecraft:stripped_cherry_' + type.name)
}
})
ServerEvents.recipes(event => {
for (const type of logTypes) {
// create recipes
event.custom({
"type": "create:cutting",
"ingredients": [
{
"item": "minecraft:cherry_" + type.name
}
],
"results": [
{
"item": "minecraft:stripped_cherry_" + type.name
}
],
"processingTime": 50
})
event.custom({
"type": "create:cutting",
"ingredients": [
{
"item": "minecraft:stripped_cherry_" + type.name
}
],
"results": [
{
"item": "minecraft:cherry_planks",
"count": 6
}
],
"processingTime": 50
})
// farmer's delight recipes
event.custom({
"type": "farmersdelight:cutting",
"ingredients": [
{
"item": "minecraft:cherry_" + type.name
}
],
"tool": {
"type": "farmersdelight:tool",
"tag": "c:tools/axes"
},
"result": [
{
"item": "minecraft:stripped_cherry_" + type.name
},
{
"item": "farmersdelight:tree_bark"
}
],
"sound": "minecraft:item.axe.strip"
})
}
for (const item of farmersDelightSalvageable) {
event.custom({
"type": "farmersdelight:cutting",
"ingredients": [
{
"item": "minecraft:cherry_" + item
}
],
"tool": {
"type": "farmersdelight:tool",
"tag": "c:tools/axes"
},
"result": [
{
"item": "minecraft:cherry_planks"
}
]
})
}
})

13
mods/kubejs.pw.toml Normal file
View File

@ -0,0 +1,13 @@
name = "KubeJS"
filename = "kubejs-fabric-2001.6.3-build.73.jar"
side = "both"
[download]
url = "https://cdn.modrinth.com/data/umyGl7zF/versions/tjHJUplK/kubejs-fabric-2001.6.3-build.73.jar"
hash-format = "sha1"
hash = "6a09686b2696a609539801534515960e292ca23e"
[update]
[update.modrinth]
mod-id = "umyGl7zF"
version = "tjHJUplK"

13
mods/rhino.pw.toml Normal file
View File

@ -0,0 +1,13 @@
name = "Rhino"
filename = "rhino-fabric-2001.2.2-build.11.jar"
side = "both"
[download]
url = "https://cdn.modrinth.com/data/sk9knFPE/versions/335Xyflr/rhino-fabric-2001.2.2-build.11.jar"
hash-format = "sha1"
hash = "85a27860f75ac8e67662aa9c28e64e8bd7074ece"
[update]
[update.modrinth]
mod-id = "sk9knFPE"
version = "335Xyflr"

View File

@ -6,7 +6,7 @@ pack-format = "packwiz:1.1.0"
[index] [index]
file = "index.toml" file = "index.toml"
hash-format = "sha256" hash-format = "sha256"
hash = "406348c3b6948162b57d91791c1e3c974560b8e78fc850162e4592e14bfff628" hash = "d622108831dbf250d08d1f52c968ad06407fe38b5d2dce2ef480fa5a1b0e0021"
[versions] [versions]
minecraft = "1.20.1" minecraft = "1.20.1"