Add a mod to the server (NO UPDATE REQUIRED) so Mike's old computer can log in
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Steve McMaster 2024-07-21 00:19:58 +00:00
parent 4df4fdfc43
commit bcce7846a9
4 changed files with 49 additions and 3 deletions

View File

@ -3442,7 +3442,7 @@ hash = "ec9cf1010d2c460e964aff9fc71015098b7fa66e9d7188454576eb63c5dbd155"
[[files]]
file = "kubejs/server_scripts/quark.js"
hash = "9dc5c6a24c9fef1f328e640fe9f9523042d804ebcf86132e5f911b198e25241b"
hash = "84b0531e2429b7e8203ecee3cb1c376b85a67fcad7addfe71009ee7a649c3d7f"
[[files]]
file = "kubejs/server_scripts/soul_soil_farmland.js"
@ -4236,6 +4236,11 @@ file = "mods/library-ferret-forge.pw.toml"
hash = "207ea5c3ad00aee495de4d614c504d443c141068a2ddf0554f5a7829923cfeec"
metafile = true
[[files]]
file = "mods/longer-login-times.pw.toml"
hash = "de11f7238ed12518a874ea67a1051db095d92c65a073ab8391db6c17645b5074"
metafile = true
[[files]]
file = "mods/loot-beams.pw.toml"
hash = "154db7b13596de00401df478f001ad5f476ee01fbd00809617359119275c6412"

View File

@ -1,5 +1,6 @@
ServerEvents.recipes((event) => {
global.woodTypes.forEach((wood) => {
let planks_item = ('mod' in wood['planks'] ? wood['planks']['mod'] : wood['mod']) + ':' + wood['planks']['id']
let item_id = 'quark:vertical_' + wood['id'] + '_planks'
if (!(wood['id'] in global.quarkExistingVerticalPlanks)) {
@ -16,11 +17,38 @@ ServerEvents.recipes((event) => {
).id(item_id)
}
if (!(wood['mod'] in ['minecraft', 'twilightforest'])) {
event.shaped(
'minecraft:chest',
[
'PPP',
'P P',
'PPP'
],
{
'P': { 'item': wood['planks']['id'] }
}
)
event.shaped(
'minecraft:ladder',
[
'S S',
'SPS',
'S S'
],
{
'P': planks_item,
'S': { 'tag': 'forge:rods/wooden' }
}
)
}
if (Platform.isLoaded('create')) {
event.custom({
'type': 'create:cutting',
'ingredients': [
{ 'item': ('mod' in wood['planks'] ? wood['planks']['mod'] : wood['mod']) + ':' + wood['planks']['id'] }
{ 'item': planks_item }
],
'results': [
{

View File

@ -0,0 +1,13 @@
name = "Longer Login Times"
filename = "longerlogintimes-1.0.0-forge-mc1.20.jar"
side = "server"
[download]
hash-format = "sha1"
hash = "708e7f8f1dc2955c0331b5fb028fa97720762df3"
mode = "metadata:curseforge"
[update]
[update.curseforge]
file-id = 4594800
project-id = 566374

View File

@ -6,7 +6,7 @@ pack-format = "packwiz:1.1.0"
[index]
file = "index.toml"
hash-format = "sha256"
hash = "a85531963f63c3b3a5b057430c876f434f98ad402d9a21ae3a872361bc3836c7"
hash = "10ca4135ee80c4237307385c737e31ec57c0d99bf9ed3c68ed6c332a069c913d"
[versions]
forge = "47.3.5"