Skip to content

Commit 574e764

Browse files
authored
Add Leaves's Lithium sleeping block entity & Drop outdated hopper perf patches (#725)
* Add Leaves version's Lithium Sleeping Block Entity * fixup: Leaves: Lithium Sleeping Block Entity * Add configurable in fixup * [ci/skip] Fix code style * Drop unneeded gale and leaf's hopper optimization patches * Add Leaves vanilla hopper * [ci/skip] Temp reduce diff * Fix build
1 parent e9f7c62 commit 574e764

340 files changed

Lines changed: 5038 additions & 115 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

leaf-server/minecraft-patches/features/0026-Reduce-hopper-item-checks.patch renamed to leaf-archived-patches/removed/1.21.11/mcserver/0026-Reduce-hopper-item-checks.patch

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ From: Martijn Muijsers <martijnmuijsers@live.nl>
33
Date: Thu, 24 Nov 2022 23:03:52 +0100
44
Subject: [PATCH] Reduce hopper item checks
55

6+
Removed since Leaf 1.21.11, replaced by Lithium's sleeping block entity
7+
68
License: GPL-3.0-only (https://www.gnu.org/licenses/gpl-3.0.html)
79
Gale - https://galemc.org
810

leaf-server/minecraft-patches/features/0112-Reduce-active-items-finding-hopper-nearby-check.patch renamed to leaf-archived-patches/removed/1.21.11/mcserver/0112-Reduce-active-items-finding-hopper-nearby-check.patch

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ From: Dreeam <61569423+Dreeam-qwq@users.noreply.github.com>
33
Date: Mon, 15 Jan 2024 10:53:10 -0500
44
Subject: [PATCH] Reduce active items finding hopper nearby check
55

6+
Removed since Leaf 1.21.11, replaced by Lithium's sleeping block entity
7+
68
This patch add a toggle for active items checking MinecraftHopper nearby,
79

810
But still recommend to turn-off `checkForMinecartNearItemWhileActive`

leaf-server/minecraft-patches/features/0118-SparklyPaper-Allow-throttling-hopper-checks-if-the-t.patch renamed to leaf-archived-patches/removed/1.21.11/mcserver/0118-SparklyPaper-Allow-throttling-hopper-checks-if-the-t.patch

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ Date: Fri, 23 Aug 2024 16:20:45 -0300
44
Subject: [PATCH] SparklyPaper: Allow throttling hopper checks if the target
55
container is full
66

7+
Removed since Leaf 1.21.11, replaced by Lithium's sleeping block entity
8+
79
Original project: https://github.com/SparklyPower/SparklyPaper
810

911
diff --git a/net/minecraft/world/level/block/entity/HopperBlockEntity.java b/net/minecraft/world/level/block/entity/HopperBlockEntity.java

leaf-server/minecraft-patches/features/0027-Reduce-villager-item-re-pickup.patch renamed to leaf-server/minecraft-patches/features/0026-Reduce-villager-item-re-pickup.patch

File renamed without changes.

leaf-server/minecraft-patches/features/0028-Variable-entity-wake-up-duration.patch renamed to leaf-server/minecraft-patches/features/0027-Variable-entity-wake-up-duration.patch

File renamed without changes.

leaf-server/minecraft-patches/features/0029-Do-not-process-chat-commands-before-player-has-joine.patch renamed to leaf-server/minecraft-patches/features/0028-Do-not-process-chat-commands-before-player-has-joine.patch

File renamed without changes.

leaf-server/minecraft-patches/features/0030-Do-not-log-invalid-statistics.patch renamed to leaf-server/minecraft-patches/features/0029-Do-not-log-invalid-statistics.patch

File renamed without changes.

leaf-server/minecraft-patches/features/0031-Do-not-log-empty-message-warnings.patch renamed to leaf-server/minecraft-patches/features/0030-Do-not-log-empty-message-warnings.patch

File renamed without changes.

leaf-server/minecraft-patches/features/0032-Do-not-log-ignored-advancements.patch renamed to leaf-server/minecraft-patches/features/0031-Do-not-log-ignored-advancements.patch

File renamed without changes.

leaf-server/minecraft-patches/features/0033-Do-not-log-setBlock-in-far-chunks.patch renamed to leaf-server/minecraft-patches/features/0032-Do-not-log-setBlock-in-far-chunks.patch

File renamed without changes.

0 commit comments

Comments
 (0)