mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-22 23:15:36 +01:00
Add config option for failed beehive release cooldowns (#12186)
This commit is contained in:
parent
f12d33f04e
commit
1d9b399427
2 changed files with 4 additions and 1 deletions
paper-server
patches/sources/net/minecraft/world/level/block/entity
src/main/java/io/papermc/paper/configuration
|
@ -163,7 +163,7 @@
|
|||
iterator.remove();
|
||||
}
|
||||
+ // Paper start - Fix bees aging inside; use exitTickCounter to keep actual bee life
|
||||
+ else {
|
||||
+ else if (level.paperConfig().entities.behavior.cooldownFailedBeehiveReleases) {
|
||||
+ beeData.exitTickCounter = beeData.occupant.minTicksInHive / 2;
|
||||
+ }
|
||||
+ // Paper end - Fix bees aging inside; use exitTickCounter to keep actual bee life
|
||||
|
|
|
@ -327,6 +327,9 @@ public class WorldConfiguration extends ConfigurationPart {
|
|||
public int day = 5;
|
||||
}
|
||||
}
|
||||
|
||||
@Comment("Adds a cooldown to bees being released after a failed release, which can occur if the hive is blocked or it being night.")
|
||||
public boolean cooldownFailedBeehiveReleases = true;
|
||||
}
|
||||
|
||||
public TrackingRangeY trackingRangeY;
|
||||
|
|
Loading…
Add table
Reference in a new issue