@@ -13,7 +13,7 @@ Subject: [PATCH] Optimize Hoppers
1313* Remove Streams from Item Suck In and restore restore 1.12 AABB checks which is simpler and no voxel allocations (was doing TWO Item Suck ins)
1414
1515diff --git a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
16- index 3e3a48a636c225ec113c1c64f6ffc8a37ad9169e..94336c6a644bf913d366baa71c2372eb67b6e2cd 100644
16+ index 3e3a48a636c225ec113c1c64f6ffc8a37ad9169e..98adf2fd1c2e9fe75456266ea1d7604fe64109b1 100644
1717--- a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
1818+++ b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
1919@@ -511,5 +511,17 @@ public class PaperWorldConfig {
@@ -23,14 +23,14 @@ index 3e3a48a636c225ec113c1c64f6ffc8a37ad9169e..94336c6a644bf913d366baa71c2372eb
2323+
2424+ public boolean cooldownHopperWhenFull = true;
2525+ public boolean disableHopperMoveEvents = false;
26- + public boolean hoppersIgnoreOccludingBlocks = true ;
26+ + public boolean hoppersIgnoreOccludingBlocks = false ;
2727+ private void hopperOptimizations() {
2828+ cooldownHopperWhenFull = getBoolean("hopper.cooldown-when-full", cooldownHopperWhenFull);
2929+ log("Cooldown Hoppers when Full: " + (cooldownHopperWhenFull ? "enabled" : "disabled"));
3030+ disableHopperMoveEvents = getBoolean("hopper.disable-move-event", disableHopperMoveEvents);
3131+ log("Hopper Move Item Events: " + (disableHopperMoveEvents ? "disabled" : "enabled"));
3232+ hoppersIgnoreOccludingBlocks = getBoolean("hopper.ignore-occluding-blocks", hoppersIgnoreOccludingBlocks);
33- + log("Hopper Ignore Occluding Blocks: " + (hoppersIgnoreOccludingBlocks ? "enabled" : "disabled"));
33+ + log("Hopper Ignore Container Entities inside Occluding Blocks: " + (hoppersIgnoreOccludingBlocks ? "enabled" : "disabled"));
3434+ }
3535 }
3636
0 commit comments