@@ -70,16 +70,29 @@ index 4f647507d06d45a65b4b1793219d90c65e110225..dac4646902a93eaaa287f5b6da324eea
70
70
!(entity.spawnReason == org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.NATURAL ||
71
71
entity.spawnReason == org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.CHUNK_GEN)) {
72
72
continue;
73
+ diff --git a/net/minecraft/world/level/block/entity/BeehiveBlockEntity.java b/net/minecraft/world/level/block/entity/BeehiveBlockEntity.java
74
+ index cbbe3dee3dda06d0e2451597dae0ac03009330e0..aa94abe106ae0f47f61e6c431f1abcbdbf945dfa 100644
75
+ --- a/net/minecraft/world/level/block/entity/BeehiveBlockEntity.java
76
+ +++ b/net/minecraft/world/level/block/entity/BeehiveBlockEntity.java
77
+ @@ -342,7 +342,7 @@ public class BeehiveBlockEntity extends BlockEntity {
78
+ // Leaves end - pca
79
+ }
80
+ // Paper start - Fix bees aging inside; use exitTickCounter to keep actual bee life
81
+ - else if (level.paperConfig().entities.behavior.cooldownFailedBeehiveReleases) {
82
+ + else if (!org.leavesmc.leaves.LeavesConfig.modify.mcTechnicalMode && level.paperConfig().entities.behavior.cooldownFailedBeehiveReleases) { // Leaves - mc technical survival mode
83
+ beeData.exitTickCounter = beeData.occupant.minTicksInHive / 2;
84
+ }
85
+ // Paper end - Fix bees aging inside; use exitTickCounter to keep actual bee life
73
86
diff --git a/net/minecraft/world/level/block/entity/HopperBlockEntity.java b/net/minecraft/world/level/block/entity/HopperBlockEntity.java
74
- index d7755e6a4641b5463eb39885bf53b6950c09bfc9..1dd5538be2e45514c9009f60494ae5fceb2ad7e6 100644
87
+ index d7755e6a4641b5463eb39885bf53b6950c09bfc9..52ef2891eb9b6c8c8db763c9836fc6470746c68f 100644
75
88
--- a/net/minecraft/world/level/block/entity/HopperBlockEntity.java
76
89
+++ b/net/minecraft/world/level/block/entity/HopperBlockEntity.java
77
90
@@ -275,7 +275,7 @@ public class HopperBlockEntity extends RandomizableContainerBlockEntity implemen
78
91
origItemStack.setCount(originalItemCount);
79
92
}
80
93
}
81
94
- if (foundItem && level.paperConfig().hopper.cooldownWhenFull) { // Inventory was full - cooldown
82
- + if (foundItem && level.paperConfig().hopper.cooldownWhenFull && !org.leavesmc.leaves.LeavesConfig.modify.mcTechnicalMode) { // Inventory was full - cooldown // Leaves
95
+ + if (foundItem && level.paperConfig().hopper.cooldownWhenFull && !org.leavesmc.leaves.LeavesConfig.modify.mcTechnicalMode) { // Inventory was full - cooldown // Leaves - mc technical survival mode
83
96
hopper.setCooldown(level.spigotConfig.hopperTransfer);
84
97
}
85
98
return false;
@@ -88,7 +101,7 @@ index d7755e6a4641b5463eb39885bf53b6950c09bfc9..1dd5538be2e45514c9009f60494ae5fc
88
101
origItemStack.setCount(originalItemCount);
89
102
90
103
- if (level.paperConfig().hopper.cooldownWhenFull) {
91
- + if (level.paperConfig().hopper.cooldownWhenFull && !org.leavesmc.leaves.LeavesConfig.modify.mcTechnicalMode) { // Leaves
104
+ + if (level.paperConfig().hopper.cooldownWhenFull && !org.leavesmc.leaves.LeavesConfig.modify.mcTechnicalMode) { // Leaves - mc technical survival mode
92
105
applyCooldown(hopper);
93
106
}
94
107
0 commit comments