about summary refs log tree commit diff
path: root/users/sterni/modules/minecraft-fabric.nix
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2024-11-16T17·27+0100
committerclbot <clbot@tvl.fyi>2024-11-17T15·57+0000
commitef7f281f37467db0375c8b049311e7b123e3ba3c (patch)
treee3683e91570331f5d5eca40a1be9bd4c75131355 /users/sterni/modules/minecraft-fabric.nix
parent3f1b326b3a6dfa5f319bad40b97885d3f9a049ff (diff)
chore(sterni/ingeborg/minecraft): 1.20.4 -> 1.21.1 r/8933
1.21.1 fixes an exploit in 1.21 without any other changes, so we can
safely skip it.

Change-Id: I72503c9f3869d7bafdfc78842b61804627a1d452
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12798
Reviewed-by: sterni <sternenseemann@systemli.org>
Autosubmit: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/sterni/modules/minecraft-fabric.nix')
-rw-r--r--users/sterni/modules/minecraft-fabric.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/users/sterni/modules/minecraft-fabric.nix b/users/sterni/modules/minecraft-fabric.nix
index 8f44c8a536af..0234cf968368 100644
--- a/users/sterni/modules/minecraft-fabric.nix
+++ b/users/sterni/modules/minecraft-fabric.nix
@@ -186,6 +186,21 @@ let
       url = "https://piston-data.mojang.com/v1/objects/8dd1a28015f51b1803213892b50b7b4fc76e594d/server.jar";
       sha256 = "0qykf9a3nacklqsyb30kg9m79nw462la6rf92gsdssdakprscgy0";
     };
+    # https://www.minecraft.net/en-us/article/minecraft-java-edition-1-21
+    # Has a known exploit, fixed in 1.21.1
+    "1.21" = fetchJar {
+      pname = "server";
+      version = "1.21";
+      url = "https://piston-data.mojang.com/v1/objects/450698d1863ab5180c25d7c804ef0fe6369dd1ba/server.jar";
+      sha256 = "0gzmpifl6l1cq11lpjd5gadw50095wgyxlm2gkpzkngrhvd98qy9";
+    };
+    # https://www.minecraft.net/en-us/article/minecraft-java-edition-1-21-1
+    "1.21.1" = fetchJar {
+      pname = "server";
+      version = "1.21.1";
+      url = "https://piston-data.mojang.com/v1/objects/59353fb40c36d304f2035d51e7d6e6baa98dc05c/server.jar";
+      sha256 = "1fxl66938ixks6imz8c5bry69z0kh6iawq1fiwca1kck7rlmbg73";
+    };
   };
 
   #