mojira.dev
MC-308576

Replacing a sulfur cube's absorbed block with commands at the same time as swapping it causes the sulfur cube's attributes to have incorrect values

How to reproduce:

  1. Place an Always Active Repeating Command Block and enter the following command:

    execute as @e[type=sulfur_cube] if items entity @s armor.body dirt run item replace entity @s armor.body with air
  2. Summon a Sulfur Cube and right click it with Stone

  3. Right click the Sulfur Cube with Dirt

  4. The command block will replace the Dirt with Air and the Sulfur Cube will re-absorb the Stone item on the ground

  5. The Sulfur Cube will now have a Bounciness attribute value of 1.0 when it should have 0.6~ with Stone(Slow Bouncy Archetype)

You can check the Sulfur Cube’s current Bounciness value with:

/attribute @n[type=sulfur_cube] bounciness get

(Tested in 26.2 Pre-Release 2 AND 26.2 Pre-Release 1 and couldn’t reproduce)

Comments 1

actually not really sure if this would be called a desync, didn’t know what else to name it

Hexasan

(Unassigned)

1629232

Confirmed

Expansion A

Normal

Commands, Mob behaviour

26.2 Pre-Release 3, 26.2 Pre-Release 4

Retrieved