chore(sterni/machines/edwin): minecraft 1.17.1 -> 1.18

Change-Id: If9f6ee1c49a6c427530e56ceff60a2508f6fd9c6
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8331
Reviewed-by: sterni <sternenseemann@systemli.org>
Autosubmit: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
This commit is contained in:
sterni 2023-03-20 14:44:49 +01:00 committed by clbot
parent 2ccaabf9db
commit 3c7be2b361
2 changed files with 18 additions and 7 deletions

View file

@ -2,13 +2,13 @@
let let
carpet = pkgs.fetchurl { carpet = pkgs.fetchurl {
url = "https://github.com/gnembon/fabric-carpet/releases/download/1.4.57/fabric-carpet-1.17.1-1.4.57+v220119.jar"; url = "https://github.com/gnembon/fabric-carpet/releases/download/1.4.56/fabric-carpet-1.18-1.4.56+v211130.jar";
sha256 = "1q3mnhcrjcp0i573645lyb92ldb8n0jhpjl4ydi1fbk9wqckxzcs"; sha256 = "0rvl2yb8xymla8c052j07gqkqfkz4h5pxf6aip2v9v0h8r84p9hf";
}; };
carpet-extra = pkgs.fetchurl { carpet-extra = pkgs.fetchurl {
url = "https://github.com/gnembon/carpet-extra/releases/download/1.4.57/carpet-extra-1.17.1-1.4.57.jar"; url = "https://github.com/gnembon/carpet-extra/releases/download/1.4.56/carpet-extra-1.18-1.4.56.jar";
sha256 = "1bliqby1h5wm7rdfrx6z698qb9acfvm3d1sjcvlw2q55x982g7gb"; sha256 = "16d8szz13wh5344d61sf0f3f7aj3qa35c6jrbd68krf3srpqfa4x";
}; };
userGroup = "minecraft"; userGroup = "minecraft";
@ -37,6 +37,8 @@ let
}; };
in in
# TODO(sterni): regular backups of carpet world
{ {
imports = [ imports = [
../../modules/minecraft-fabric.nix ../../modules/minecraft-fabric.nix
@ -65,7 +67,7 @@ in
services.minecraft-fabric-server = { services.minecraft-fabric-server = {
creative = { creative = {
enable = true; enable = true;
version = "1.17.1"; version = "1.18";
mods = [ mods = [
carpet carpet
carpet-extra carpet-extra
@ -91,7 +93,7 @@ in
carpet = { carpet = {
enable = true; enable = true;
version = "1.17.1"; version = "1.18";
mods = [ mods = [
carpet carpet
carpet-extra carpet-extra

View file

@ -23,7 +23,7 @@
# * Op levels # * Op levels
# #
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# SPDX-FileCopyrightText: 2022 sterni <sternenseemann@systemli.org> # SPDX-FileCopyrightText: 2022-2023 sterni <sternenseemann@systemli.org>
{ lib, pkgs, config, depot, ... }: { lib, pkgs, config, depot, ... }:
@ -98,6 +98,15 @@ let
"-Dlog4j2.formatMsgNoLookups=true" "-Dlog4j2.formatMsgNoLookups=true"
]; ];
}; };
"1.18" = fetchJar {
pname = "server";
version = "1.18";
url = "https://launcher.mojang.com/v1/objects/3cf24a8694aca6267883b17d934efacc5e44440d/server.jar";
sha256 = "0vvycjcfq96z7cl5dsrq98k9b7j7l4x0y9nflrcqmcvink7fs5w4";
passthru.baseJvmOpts = [
"-Dlog4j2.formatMsgNoLookups=true"
];
};
}; };
# #