diff --git a/patches/server/0003-GLOBAL_SOUND-is-disabled-by-default.patch b/patches/server/0003-GLOBAL_SOUND-is-disabled-by-default.patch new file mode 100644 index 0000000..4623679 --- /dev/null +++ b/patches/server/0003-GLOBAL_SOUND-is-disabled-by-default.patch @@ -0,0 +1,19 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: 404Setup <153366651+404Setup@users.noreply.github.com> +Date: Thu, 8 Aug 2024 23:01:52 +0800 +Subject: [PATCH] GLOBAL_SOUND is disabled by default + + +diff --git a/src/main/java/net/minecraft/world/level/GameRules.java b/src/main/java/net/minecraft/world/level/GameRules.java +index 89e327bc3a45879fe68887c7aadb077f31a770eb..485b3a43eedc53dbdc6a6295cbf27c1b27541454 100644 +--- a/src/main/java/net/minecraft/world/level/GameRules.java ++++ b/src/main/java/net/minecraft/world/level/GameRules.java +@@ -113,7 +113,7 @@ public class GameRules { + public static final GameRules.Key RULE_SNOW_ACCUMULATION_HEIGHT = GameRules.register("snowAccumulationHeight", GameRules.Category.UPDATES, GameRules.IntegerValue.create(1)); + public static final GameRules.Key RULE_WATER_SOURCE_CONVERSION = GameRules.register("waterSourceConversion", GameRules.Category.UPDATES, GameRules.BooleanValue.create(true)); + public static final GameRules.Key RULE_LAVA_SOURCE_CONVERSION = GameRules.register("lavaSourceConversion", GameRules.Category.UPDATES, GameRules.BooleanValue.create(false)); +- public static final GameRules.Key RULE_GLOBAL_SOUND_EVENTS = GameRules.register("globalSoundEvents", GameRules.Category.MISC, GameRules.BooleanValue.create(true)); ++ public static final GameRules.Key RULE_GLOBAL_SOUND_EVENTS = GameRules.register("globalSoundEvents", GameRules.Category.MISC, GameRules.BooleanValue.create(false)); // Vine - This is very noisy, so it needs to be disabled by default + public static final GameRules.Key RULE_DO_VINES_SPREAD = GameRules.register("doVinesSpread", GameRules.Category.UPDATES, GameRules.BooleanValue.create(true)); + public static final GameRules.Key RULE_ENDER_PEARLS_VANISH_ON_DEATH = GameRules.register("enderPearlsVanishOnDeath", GameRules.Category.PLAYER, GameRules.BooleanValue.create(true)); + public static final GameRules.Key RULE_SPAWN_CHUNK_RADIUS = GameRules.register("spawnChunkRadius", GameRules.Category.MISC, GameRules.IntegerValue.create(2, 0, 32, (minecraftserver, gamerules_gameruleint) -> { diff --git a/patches/server/0003-Leaf-Fix-MC-183518.patch b/patches/server/0004-Leaf-Fix-MC-183518.patch similarity index 100% rename from patches/server/0003-Leaf-Fix-MC-183518.patch rename to patches/server/0004-Leaf-Fix-MC-183518.patch diff --git a/patches/server/0004-Leaf-Optimize-Minecart-collisions.patch b/patches/server/0005-Leaf-Optimize-Minecart-collisions.patch similarity index 100% rename from patches/server/0004-Leaf-Optimize-Minecart-collisions.patch rename to patches/server/0005-Leaf-Optimize-Minecart-collisions.patch diff --git a/patches/server/0005-Skip-empty-events.patch b/patches/server/0006-Skip-empty-events.patch similarity index 100% rename from patches/server/0005-Skip-empty-events.patch rename to patches/server/0006-Skip-empty-events.patch diff --git a/patches/server/0006-Pufferfish-Move-ThreadUnsafeRandom-Initialization.patch b/patches/server/0007-Pufferfish-Move-ThreadUnsafeRandom-Initialization.patch similarity index 100% rename from patches/server/0006-Pufferfish-Move-ThreadUnsafeRandom-Initialization.patch rename to patches/server/0007-Pufferfish-Move-ThreadUnsafeRandom-Initialization.patch diff --git a/patches/server/0007-Pufferfish-Only-check-for-spooky-season-once-an-hour.patch b/patches/server/0008-Pufferfish-Only-check-for-spooky-season-once-an-hour.patch similarity index 100% rename from patches/server/0007-Pufferfish-Only-check-for-spooky-season-once-an-hour.patch rename to patches/server/0008-Pufferfish-Only-check-for-spooky-season-once-an-hour.patch diff --git a/patches/server/0008-Pufferfish-Optimize-entity-coordinate-key.patch b/patches/server/0009-Pufferfish-Optimize-entity-coordinate-key.patch similarity index 100% rename from patches/server/0008-Pufferfish-Optimize-entity-coordinate-key.patch rename to patches/server/0009-Pufferfish-Optimize-entity-coordinate-key.patch diff --git a/patches/server/0009-Pufferfish-Optimize-suffocation.patch b/patches/server/0010-Pufferfish-Optimize-suffocation.patch similarity index 100% rename from patches/server/0009-Pufferfish-Optimize-suffocation.patch rename to patches/server/0010-Pufferfish-Optimize-suffocation.patch diff --git a/patches/server/0010-Pufferfish-Improve-container-checking-with-a-bitset.patch b/patches/server/0011-Pufferfish-Improve-container-checking-with-a-bitset.patch similarity index 100% rename from patches/server/0010-Pufferfish-Improve-container-checking-with-a-bitset.patch rename to patches/server/0011-Pufferfish-Improve-container-checking-with-a-bitset.patch diff --git a/patches/server/0011-Pufferfish-Throttle-goal-selector-during-inactive-ti.patch b/patches/server/0012-Pufferfish-Throttle-goal-selector-during-inactive-ti.patch similarity index 100% rename from patches/server/0011-Pufferfish-Throttle-goal-selector-during-inactive-ti.patch rename to patches/server/0012-Pufferfish-Throttle-goal-selector-during-inactive-ti.patch diff --git a/patches/server/0012-Pufferfish-Reduce-projectile-chunk-loading.patch b/patches/server/0013-Pufferfish-Reduce-projectile-chunk-loading.patch similarity index 100% rename from patches/server/0012-Pufferfish-Reduce-projectile-chunk-loading.patch rename to patches/server/0013-Pufferfish-Reduce-projectile-chunk-loading.patch diff --git a/patches/server/0013-Pufferfish-Cache-climbing-check-for-activation.patch b/patches/server/0014-Pufferfish-Cache-climbing-check-for-activation.patch similarity index 100% rename from patches/server/0013-Pufferfish-Cache-climbing-check-for-activation.patch rename to patches/server/0014-Pufferfish-Cache-climbing-check-for-activation.patch diff --git a/patches/server/0014-Pufferfish-Optimize-random-calls-in-chunk-ticking.patch b/patches/server/0015-Pufferfish-Optimize-random-calls-in-chunk-ticking.patch similarity index 100% rename from patches/server/0014-Pufferfish-Optimize-random-calls-in-chunk-ticking.patch rename to patches/server/0015-Pufferfish-Optimize-random-calls-in-chunk-ticking.patch diff --git a/patches/server/0015-Mobtimizations-RePathing-optimization.patch b/patches/server/0016-Mobtimizations-RePathing-optimization.patch similarity index 100% rename from patches/server/0015-Mobtimizations-RePathing-optimization.patch rename to patches/server/0016-Mobtimizations-RePathing-optimization.patch diff --git a/patches/server/0016-Mobtimizations-Optimization-Zombie-Search-And-Destro.patch b/patches/server/0017-Mobtimizations-Optimization-Zombie-Search-And-Destro.patch similarity index 100% rename from patches/server/0016-Mobtimizations-Optimization-Zombie-Search-And-Destro.patch rename to patches/server/0017-Mobtimizations-Optimization-Zombie-Search-And-Destro.patch diff --git a/patches/server/0017-Slice-Improve-map-saving-performance.patch b/patches/server/0018-Slice-Improve-map-saving-performance.patch similarity index 100% rename from patches/server/0017-Slice-Improve-map-saving-performance.patch rename to patches/server/0018-Slice-Improve-map-saving-performance.patch diff --git a/patches/server/0018-Divine-Implement-Secure-Seed.patch b/patches/server/0019-Divine-Implement-Secure-Seed.patch similarity index 100% rename from patches/server/0018-Divine-Implement-Secure-Seed.patch rename to patches/server/0019-Divine-Implement-Secure-Seed.patch diff --git a/patches/server/0019-Divine-Fix-MC-31819.patch b/patches/server/0020-Divine-Fix-MC-31819.patch similarity index 100% rename from patches/server/0019-Divine-Fix-MC-31819.patch rename to patches/server/0020-Divine-Fix-MC-31819.patch diff --git a/patches/server/0020-Divine-Fix-MC-172801.patch b/patches/server/0021-Divine-Fix-MC-172801.patch similarity index 100% rename from patches/server/0020-Divine-Fix-MC-172801.patch rename to patches/server/0021-Divine-Fix-MC-172801.patch diff --git a/patches/server/0021-Divine-Fix-MC-2025.patch b/patches/server/0022-Divine-Fix-MC-2025.patch similarity index 100% rename from patches/server/0021-Divine-Fix-MC-2025.patch rename to patches/server/0022-Divine-Fix-MC-2025.patch diff --git a/patches/server/0022-Divine-C2ME-reduce_allocs.patch b/patches/server/0023-Divine-C2ME-reduce_allocs.patch similarity index 100% rename from patches/server/0022-Divine-C2ME-reduce_allocs.patch rename to patches/server/0023-Divine-C2ME-reduce_allocs.patch diff --git a/patches/server/0023-Divine-C2ME-opts-math.patch b/patches/server/0024-Divine-C2ME-opts-math.patch similarity index 100% rename from patches/server/0023-Divine-C2ME-opts-math.patch rename to patches/server/0024-Divine-C2ME-opts-math.patch diff --git a/patches/server/0024-Divine-Fix-MC-7569.patch b/patches/server/0025-Divine-Fix-MC-7569.patch similarity index 100% rename from patches/server/0024-Divine-Fix-MC-7569.patch rename to patches/server/0025-Divine-Fix-MC-7569.patch diff --git a/patches/server/0025-Divine-lithium-math.sine_lut.patch b/patches/server/0026-Divine-lithium-math.sine_lut.patch similarity index 100% rename from patches/server/0025-Divine-lithium-math.sine_lut.patch rename to patches/server/0026-Divine-lithium-math.sine_lut.patch diff --git a/patches/server/0026-Divine-lithium-cached_hashcode.patch b/patches/server/0027-Divine-lithium-cached_hashcode.patch similarity index 100% rename from patches/server/0026-Divine-lithium-cached_hashcode.patch rename to patches/server/0027-Divine-lithium-cached_hashcode.patch diff --git a/patches/server/0027-Divine-Fix-MC-93826.patch b/patches/server/0028-Divine-Fix-MC-93826.patch similarity index 100% rename from patches/server/0027-Divine-Fix-MC-93826.patch rename to patches/server/0028-Divine-Fix-MC-93826.patch diff --git a/patches/server/0028-Divine-Fix-MC-110386.patch b/patches/server/0029-Divine-Fix-MC-110386.patch similarity index 100% rename from patches/server/0028-Divine-Fix-MC-110386.patch rename to patches/server/0029-Divine-Fix-MC-110386.patch diff --git a/patches/server/0029-Divine-Fix-MC-98160-and-MC-105103.patch b/patches/server/0030-Divine-Fix-MC-98160-and-MC-105103.patch similarity index 100% rename from patches/server/0029-Divine-Fix-MC-98160-and-MC-105103.patch rename to patches/server/0030-Divine-Fix-MC-98160-and-MC-105103.patch diff --git a/patches/server/0030-Divine-Fix-MC-93018.patch b/patches/server/0031-Divine-Fix-MC-93018.patch similarity index 100% rename from patches/server/0030-Divine-Fix-MC-93018.patch rename to patches/server/0031-Divine-Fix-MC-93018.patch diff --git a/patches/server/0031-Canvas-Optimize-Math.round-and-Math.hypot.patch b/patches/server/0032-Canvas-Optimize-Math.round-and-Math.hypot.patch similarity index 100% rename from patches/server/0031-Canvas-Optimize-Math.round-and-Math.hypot.patch rename to patches/server/0032-Canvas-Optimize-Math.round-and-Math.hypot.patch diff --git a/patches/server/0032-Folia-Sync-vehicle-position-to-player-position-on-pl.patch b/patches/server/0033-Folia-Sync-vehicle-position-to-player-position-on-pl.patch similarity index 100% rename from patches/server/0032-Folia-Sync-vehicle-position-to-player-position-on-pl.patch rename to patches/server/0033-Folia-Sync-vehicle-position-to-player-position-on-pl.patch diff --git a/patches/server/0033-MemoryLeakFix-Biome.patch b/patches/server/0034-MemoryLeakFix-Biome.patch similarity index 100% rename from patches/server/0033-MemoryLeakFix-Biome.patch rename to patches/server/0034-MemoryLeakFix-Biome.patch diff --git a/patches/server/0034-Airplane-Improve-fluid-direction-caching.patch b/patches/server/0035-Airplane-Improve-fluid-direction-caching.patch similarity index 100% rename from patches/server/0034-Airplane-Improve-fluid-direction-caching.patch rename to patches/server/0035-Airplane-Improve-fluid-direction-caching.patch diff --git a/patches/server/0035-Canvas-Dont-load-chunks-to-spawn-phantoms.patch b/patches/server/0036-Canvas-Dont-load-chunks-to-spawn-phantoms.patch similarity index 100% rename from patches/server/0035-Canvas-Dont-load-chunks-to-spawn-phantoms.patch rename to patches/server/0036-Canvas-Dont-load-chunks-to-spawn-phantoms.patch diff --git a/patches/server/0036-Reduce-chunk-loading-lookups.patch b/patches/server/0037-Reduce-chunk-loading-lookups.patch similarity index 100% rename from patches/server/0036-Reduce-chunk-loading-lookups.patch rename to patches/server/0037-Reduce-chunk-loading-lookups.patch diff --git a/patches/server/0037-The-anvil-becomes-a-drop-at-Y0.patch b/patches/server/0038-The-anvil-becomes-a-drop-at-Y0.patch similarity index 100% rename from patches/server/0037-The-anvil-becomes-a-drop-at-Y0.patch rename to patches/server/0038-The-anvil-becomes-a-drop-at-Y0.patch diff --git a/patches/server/0038-CarpetFix-incorrectBounceLogicFix.patch b/patches/server/0039-CarpetFix-incorrectBounceLogicFix.patch similarity index 100% rename from patches/server/0038-CarpetFix-incorrectBounceLogicFix.patch rename to patches/server/0039-CarpetFix-incorrectBounceLogicFix.patch diff --git a/patches/server/0039-CarpetFix-explosionBreaksItemFrameInWaterFix.patch b/patches/server/0040-CarpetFix-explosionBreaksItemFrameInWaterFix.patch similarity index 100% rename from patches/server/0039-CarpetFix-explosionBreaksItemFrameInWaterFix.patch rename to patches/server/0040-CarpetFix-explosionBreaksItemFrameInWaterFix.patch diff --git a/patches/server/0040-Carpet-TIS-Addition-Random-flatten-triangular-distri.patch b/patches/server/0041-Carpet-TIS-Addition-Random-flatten-triangular-distri.patch similarity index 100% rename from patches/server/0040-Carpet-TIS-Addition-Random-flatten-triangular-distri.patch rename to patches/server/0041-Carpet-TIS-Addition-Random-flatten-triangular-distri.patch diff --git a/patches/server/0041-Skip-distanceToSqr-call-in-ServerEntity-sendChanges-.patch b/patches/server/0042-Skip-distanceToSqr-call-in-ServerEntity-sendChanges-.patch similarity index 100% rename from patches/server/0041-Skip-distanceToSqr-call-in-ServerEntity-sendChanges-.patch rename to patches/server/0042-Skip-distanceToSqr-call-in-ServerEntity-sendChanges-.patch diff --git a/patches/server/0042-Leaves-Zero-tick-plants.patch b/patches/server/0043-Leaves-Zero-tick-plants.patch similarity index 100% rename from patches/server/0042-Leaves-Zero-tick-plants.patch rename to patches/server/0043-Leaves-Zero-tick-plants.patch diff --git a/patches/server/0043-disable-spark.patch b/patches/server/0044-disable-spark.patch similarity index 100% rename from patches/server/0043-disable-spark.patch rename to patches/server/0044-disable-spark.patch diff --git a/patches/server/0044-ScalableLux-Upstream-Starlight-Fix.patch b/patches/server/0045-ScalableLux-Upstream-Starlight-Fix.patch similarity index 100% rename from patches/server/0044-ScalableLux-Upstream-Starlight-Fix.patch rename to patches/server/0045-ScalableLux-Upstream-Starlight-Fix.patch