From 0eafe23898dc9c093f0ae18e768f716544bb3ee1 Mon Sep 17 00:00:00 2001 From: granny Date: Tue, 31 Mar 2026 17:22:15 -0700 Subject: [PATCH 1/2] Updated Upstream (Paper) Upstream has released updates that appear to apply and compile correctly Paper Changes: PaperMC/Paper@bd74bf65 feat: PlayerSwapWithEquipmentSlotEvent (#13687) --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 56cc7ef66..a3517aaeb 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,7 +3,7 @@ version = 1.21.11-R0.1-SNAPSHOT mcVersion = 1.21.11 apiVersion = 1.21.11 -paperCommit = 3f5728e24942a470a428c60839eda5340f85f9f8 +paperCommit = bd74bf6581ce81e59bdab07eadbfbe5d485eefa7 org.gradle.configuration-cache = true org.gradle.caching = true From f57bd8659b5c3cbaf03984ee5a8ecdcc0849040a Mon Sep 17 00:00:00 2001 From: Amine Kacimi Date: Sat, 4 Apr 2026 23:22:05 +0100 Subject: [PATCH 2/2] Fix axolotl dying after 300 ticks (#1769) --- .../sources/net/minecraft/world/entity/Entity.java.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/purpur-server/minecraft-patches/sources/net/minecraft/world/entity/Entity.java.patch b/purpur-server/minecraft-patches/sources/net/minecraft/world/entity/Entity.java.patch index 9ec640e01..e7518439d 100644 --- a/purpur-server/minecraft-patches/sources/net/minecraft/world/entity/Entity.java.patch +++ b/purpur-server/minecraft-patches/sources/net/minecraft/world/entity/Entity.java.patch @@ -52,7 +52,7 @@ this.type = type; this.level = level; this.dimensions = type.getDimensions(); -+ this.maxAirTicks = level == null ? Entity.TOTAL_AIR_SUPPLY : this.level.purpurConfig.drowningAirTicks; // Purpur - Drowning Settings ++ this.maxAirTicks = level == null || this.getDefaultMaxAirSupply() != Entity.TOTAL_AIR_SUPPLY ? this.getDefaultMaxAirSupply() : this.level.purpurConfig.drowningAirTicks; // Purpur - Drowning Settings + // Purpur start - Add toggle for RNG manipulation + this.random = level == null || level.purpurConfig.entitySharedRandom ? SHARED_RANDOM : RandomSource.create(); + this.uuid = Mth.createInsecureUUID(this.random);