Tis

Minecraft 26.2 pre-release 3

Original Changelog

Several sulfur cube tweaks and a revert to the attribute swapping fix.

Sulfur Cube

Changed the knockback power of several archetypes:

Archetype Horizontal Power Vertical Power
Bouncy 0.33 → 0.4125 0.07 → 0.105
Explosive 0.33 → 0.4125 0.06 → 0.09
Fast Flat 0.73 → 0.9125 0.06 → 0.09
Fast Sliding 0.53 → 0.6625 0.06 → 0.09
High Resistance 0.33 → 0.4125 0.06 → 0.09
Hot 0.33 → 0.4125 0.06 → 0.09
Light 0.33 → 0.4125 0.012 → 0.18
Regular 0.33 → 0.4125 0.06 → 0.09
Slow Bouncy 0.33 → 0.4125 0.16 → 0.24
Slow Flat 0.33 → 0.4125 0.07 → 0.105
Slow Sliding 0.33 → 0.4125 0.06 → 0.09
Sticky 0.33 → 0.4125 0.06 → 0.09

Physics

Sulfur Cubes use the following process when hit by an attack:

  1. Find the horizontal angle between the cube’s center and the player’s aim direction and expand it by 60%. For example, if the player is looking 5 degrees to the right of the cube’s center, the cube will be knocked back 8 degrees to the right.
  2. Scale horizontal knockback from 50% when looking at the bottom of the cube, to 150% when looking at the top of the cube.
  3. Scale vertical knockback from 150% when looking at the bottom of the cube, to 50% when looking at the top of the cube.
  4. Rotate the <horizontalKnockbackPower, verticalKnockbackPower> vector vertically by the vertical angle from the player’s position to the cube’s position. For example, if the player is below the cube, the cube will be knocked back more vertically and less horizontally.
  5. Scale the knockback vector down until it no longer exceeds horizontalKnockbackPower horizontally or verticalKnockbackPower vertically, whichever is greater (new to this snapshot).
  6. Scale knockback power by the square root of damage taken. An attack that does no damage will deal no knockback.
  7. Scale knockback power by 1 - knockbackResistance. A knockback resistance of -2 will make the cube get knocked back twice as far.
  8. Multiply horizontal knockback by 0.4 and vertical knockback by 1.2.
  9. Cap knockback at 51.2 blocks/tick horizontally and 153.6 blocks/tick vertically.

A player on a vehicle or mount will now push sulfur cubes 53.33% as far compared to a player by themselves.