Mojira Archive
MC-272687

Entities get slowed down and take damage from sweet berry bushes even when not in their hitbox

Relates to MC-215402 and MC-262309. The calculation for whether an entity is slowed down or damaged by a sweet berry bush treats the bush as a full block. Age 0 berry bushes only slow entities without causing damage. The hitbox of age 3 berry bushes matches that of a full block, while for age 2 bushes, it's slightly smaller, allowing them to reproduce the same effect.

Steps to reproduce (Age 0)

  1. /gamerule randomTickSpeed 0
  2. /setblock ~ ~ ~ minecraft:sweet_berry_bush[age=0]
  3. /execute align xyz run tp ~-0.25 ~ ~-0.25
  4. Move around

Observed outcome: Despite not intersecting with your hitbox, the berry bush slows you down.

Expected outcome: If your hitbox doesn't intersect with the sweet berry bush's hitbox, you shouldn't be slowed down.

Steps to reproduce (age 2)

  1. /gamerule randomTickSpeed 0
  2. /setblock ~ ~ ~ minecraft:sweet_berry_bush[age=2]
  3. /execute align xyz run tp ~ ~ ~-0.25
  4. Break blocks beneath you without affecting the block beneath the berry bush
  5. Move cautiously along the edge in survival mode while sneaking

Observed outcome: You sustain damage and experience reduced movement speed.

Expected outcome: You shouldn't be slowed down or take damage, as your hitbox doesn't intersect with the berry bush's hitbox.

Unresolved

No User

The grandpa of minecraft

2024-05-30, 09:37 PM

2024-07-12, 07:20 AM

1

0

Confirmed

Low

Gameplay

Entities

1.20.6, 1.21 Pre-Release 1, 1.21 Pre-Release 2

-