Compare commits
2 Commits
6cdd161e63
...
6b1830e160
Author | SHA1 | Date | |
---|---|---|---|
6b1830e160 | |||
72e92ae6b7 |
14
index.toml
14
index.toml
@ -60,6 +60,10 @@ hash = "6f5bf766cebabca0bcfa339eeb119956c48c40eba03c5aa39d7685eab67c56b5"
|
||||
file = "config/yosbr/shaderpacks/rethinking-voxels_r0.1_alpha9b.zip.txt"
|
||||
hash = "6e7b02f11cb6feb7f08d1088d042518d1a04cb6b71a7b2b109cf997173510e3c"
|
||||
|
||||
[[files]]
|
||||
file = "kubejs/server_scripts/cherry_wood_fixes.js"
|
||||
hash = "4f35c8097157e770778f53b4b81dbd3450c1b76d0d99cd8cca76d8551c5dda1e"
|
||||
|
||||
[[files]]
|
||||
file = "mods/ad-astra.pw.toml"
|
||||
hash = "ff786550ebc945232c072bd3011919ab9fef52baf819705309d67c961332b604"
|
||||
@ -415,6 +419,11 @@ file = "mods/krypton.pw.toml"
|
||||
hash = "71ef7cc16632c0039fe194183b5885968c6d740aaa67a58000653ae0cb40b882"
|
||||
metafile = true
|
||||
|
||||
[[files]]
|
||||
file = "mods/kubejs.pw.toml"
|
||||
hash = "284fc793b1ba4d32cef7a8b48d71a6d165ee6bc02c8f39625471c755ce5a3c32"
|
||||
metafile = true
|
||||
|
||||
[[files]]
|
||||
file = "mods/lambdynamiclights.pw.toml"
|
||||
hash = "a626674fc1092afe5ccc6cbf4856c09119e42395494f1c3862eed2ab17da0221"
|
||||
@ -535,6 +544,11 @@ file = "mods/resourceful-lib.pw.toml"
|
||||
hash = "c89835f045a03832c287470cd1729a70f1265e3eac7b3cdaf603c3c1fd677689"
|
||||
metafile = true
|
||||
|
||||
[[files]]
|
||||
file = "mods/rhino.pw.toml"
|
||||
hash = "af8bd290a5c7d75986905bf1b433e238e14933539836ac7bc37be02b3dcd6613"
|
||||
metafile = true
|
||||
|
||||
[[files]]
|
||||
file = "mods/rightclickharvest.pw.toml"
|
||||
hash = "31b3bcbde9677f9fc1006aab482e6f43b7552146359cc4ef363e30a237d1d12b"
|
||||
|
96
kubejs/server_scripts/cherry_wood_fixes.js
Normal file
96
kubejs/server_scripts/cherry_wood_fixes.js
Normal 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
13
mods/kubejs.pw.toml
Normal 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
13
mods/rhino.pw.toml
Normal 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"
|
Loading…
x
Reference in New Issue
Block a user