Rabbits usually fail to raid carrot crops
There are multiple problems inside net.minecraft.world.entity.animal.Rabbit$RaidGardenGoal and related code:
1. Rabbits can't reach the crops and always stop one block short of them.
2. Rabbits eat the crop instantly even while still jumping and being in the air.
3. The goal is immediately aborted (usually after a few ticks - when a target crop block was selected) due to problems inside canContinueToUse and isValidTarget
Further helpful links:
Related: MC-150224
Linked Issues
Created Issue:
Rabbits usually fail to raid carrot crops
There are multiple problems inside net.minecraft.world.entity.animal.Rabbit$RaidGardenGoal and related code:
1. Rabbits can't reach the crops and always stop one block short of them.
2. Rabbits eat the crop instantly even while still jumping and being in the air.
3. The goal is immediately aborted (usually after a few ticks - when a target crop block was selected) due to problems inside canContinueToUse and isValidTargetFurther helpful links:
There are multiple problems inside net.minecraft.world.entity.animal.Rabbit$RaidGardenGoal and related code:
1. Rabbits can't reach the crops and always stop one block short of them.
2. Rabbits eat the crop instantly even while still jumping and being in the air.
3. The goal is immediately aborted (usually after a few ticks - when a target crop block was selected) due to problems inside canContinueToUse and isValidTargetFurther helpful links:
Related:
MC-150224
relates to
There are multiple problems inside net.minecraft.world.entity.animal.Rabbit$RaidGardenGoal and related code
:
1. Rabbits can't reach the crops and always stop one block short of them.
2. Rabbits eat the crop instantly even while still jumping and being in the air.
3. The goal is immediately aborted (usually after a few ticks - when a target crop block was selected) due to problems inside canContinueToUse and isValidTargetFurther helpful links:
Related:
MC-150224There are multiple problems inside net.minecraft.world.entity.animal.Rabbit$RaidGardenGoal and related code, causing rabbits to get stuck
1. Rabbits can't reach the crops and always stop one block short of them.
2. Rabbits eat the crop instantly even while still jumping and being in the air.
3. The goal is immediately aborted (usually after a few ticks - when a target crop block was selected) due to problems inside canContinueToUse and isValidTargetFurther helpful links:
Related:
MC-150224
There are multiple problems inside net.minecraft.world.entity.animal.Rabbit$RaidGardenGoal and related code, causing rabbits to
get stuck
1. Rabbits can't reach the crops and always stop one block short of them.
2. Rabbits eat the crop instantly even while still jumping and being in the air.
3. The goal is immediately aborted (usually after a few ticks - when a target crop block was selected) due to problems inside canContinueToUse and isValidTargetFurther helpful links:
Related:
MC-150224There are multiple problems inside net.minecraft.world.entity.animal.Rabbit$RaidGardenGoal and related code, causing rabbits to just stand in front of crops and look at them:
1. Rabbits can't reach the crops and always stop one block short of them.
2. Rabbits eat the crop instantly even while still jumping and being in the air.
3. The goal is immediately aborted (usually after a few ticks - when a target crop block was selected) due to problems inside canContinueToUse and isValidTargetFurther helpful links:
Related:
MC-150224
There are multiple problems inside net.minecraft.world.entity.animal.Rabbit$RaidGardenGoal and related code, causing rabbits to just stand in front of crops and look at them:
1. Rabbits can't reach the crops and always stop one block short of them.
2. Rabbits eat the crop instantly even while still jumping and being in the air.
3. The goal is immediately aborted (usually after a few ticks - when a target crop block was selected) due to problems inside canContinueToUse and isValidTargetFurther helpful links:
Related:
MC-150224There are multiple problems inside net.minecraft.world.entity.animal.Rabbit$RaidGardenGoal and related code:
1. Rabbits can't reach the crops and always stop one block short of them.
2. Rabbits eat the crop instantly even while still jumping and being in the air.
3. The goal is immediately aborted (usually after a few ticks - when a target crop block was selected) due to problems inside canContinueToUse and isValidTargetFurther helpful links:
Related:
MC-150224
There are multiple problems inside rabbit pathfinding and related code causing this issue:
1. The calculation of the jump height/velocity is incorrect and poorly implemented. This results in too small jumps for climbing over a block (hops aren't high enough).
2. Rabbits sometimes "stall" (no horizontal movement) during jumps - due to this they just jump upwards in the same place when trying to climb a block.
3. Rabbits are stuck / try to wander around forever:
- The root cause is that PathNavigation#doStuckDetection sets its timeouts based on movement speed. If the movement speed is 0 (this is the case when a rabbit/mob is "stuck"), the timeout is also 0... and if the timeout is 0 it's ignored and therefore it's executed forever (or until interrupted by something external like another goal).
- Rabbits only have a single goal when idle: WaterAvoidingRandomStrollGoal/RandomStrollGoal. Most other entities also use RandomLookAroundGoal. Thus the above mentioned infinite navigation is likely never stopped in favor of executing another goal like in most other mobs.
- RabbitMoveControl#tick constantly updates the rabbits speed (Rabbit#setSpeedModifier). While doing this it also indirectly executes moveControl#setWantedPosition thus the rabbit always tries to reach it's last target even when it shouldn't do that.
Further helpful links:
See also: MC-277500
Are all three of the problems stated in this report caused by the same thing? (from what I've read, the answer is no)
If not, these would be separate issues that should all be reported independently from one another.
Depends on what you define as "thing"...
By the same AI-Goal? Yes
By the different pieces of code inside the goal? Yes
Each of them will require a separate fix though, and fixing one does not fix the others. Since they are not the same issue on different instances either (example: comma spliced strings), you should probably create separate reports for each problem.
Thank you for your report!
However, this issue is Invalid.
Please put only one bug report in each ticket. It is very difficult to keep track of bugs when they are not in their own tickets.
However, please review the Bug Tracker Guidelines before creating new reports. Be sure to search for an existing issue as it is likely to have already been reported.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Okay, why was this closed as invalid now?
MC-150224is a single bug despite having problems in at least 5 pieces of code...This is correct but to fix the broken behavior you need all fixes at once, otherwise the overall behavior will not be fixed.
Also I have no idea what is meant with "example: comma spliced strings"
Closing this an invalid makes no sense (same gameplay issue, just like
MC-150224). Leave this up to Mojang to decide, not random users