mojira.dev
MC-307428

Sulfur cube does not apply acceleration in correct direction when hit in opposite direction as cube velocity

If I hit a sulfur cube when it is traveling toward me, it does not reverse directions and travel away from me, nor does it slow down. Instead it goes even faster in the direction it was going.

Reproduction:

  1. Don’t use modifications to the game’s code.

  2. Freeze the game and hit any archetype of sulfur cube. (I have tested bouncy and fast flat archetypes)

  3. Use /data get entity @e[type=minecraft:sulfur_cube,limit=1] Motion to see the motion.

  4. Move to the other side of the sulfur cube

  5. Step a few ticks (10 or more; Note: The incorrect behavior described did not occur when stepping less than 5 ticks. Although, I got extra upwards velocity instead.)

  6. Hit the cube in the opposite direction.

  7. Use /data get entity @e[type=minecraft:sulfur_cube,limit=1] Motion to see the buggy motion.

Expected result: Sulfur cube either reverses direction or is slowed down by the deceleration caused by the hit

Actual Result: Sulfur cube moves even faster without reversing direction or slowing down

Impacts: Minecraft games such as tennis where a sulfur cube has to be hit back and forth

See attached video.

Attachments

Comments 1

Thank you for helping us improve Minecraft! We saved your files:

[media]

AKminer2

(Unassigned)

Unconfirmed

(Unassigned)

Retrieved