Paper icon indicating copy to clipboard operation
Paper copied to clipboard

Ticks skip does not affect bees 'ticksInHive' value behavior

Open maxcom1 opened this issue 1 year ago • 0 comments

Expected behavior

Bees are exiting the hive basing on their ticksInHive value (it has to be greater than 2400). When we skip ticks, let's say 2400, the ticksInHive should increase by 2400 and the bee should exit hive, but it doesn't.

Observed/Actual behavior

ticksInHive isn't modified and we still have to wait 2400 ticks even they theoretically passed

Steps/models to reproduce

  • Place the hive/nest block and some flowers, spawn a bee and wait until it collect nectar and enter the hive
  • Check entity's ticksInHive (e.g. by /data)
  • Freeze the game - /tick freeze
  • Skip x ticks - /tick skip 1000
  • Unfreeze the game - /tick unfreeze
  • Check entity's ticksInHive (e.g. by /data) - it is still the same as before

Plugin and Datapack List

No plugins/datapacks

Paper version

version
[22:38:52 INFO]: Checking version, please wait...
[22:38:52 INFO]: This server is running Paper version git-Paper-461 (MC: 1.20.4) (Implementing API version 1.20.4-R0.1-SNAPSHOT) (Git: b600140)
You are running the latest version
Previous version: git-Paper-"33fb574" (MC: 1.20.4)

Other

No response

maxcom1 avatar Mar 23 '24 21:03 maxcom1