mojira.dev
MC-270801

Squid ink particles do not properly account for the scale attribute

Particles created from a squid or glow squid when they are attacked do not function as expected when the squid's scale attribute is non-standard. This issue affects all scales, but is primarily an issue at larger scales due to how the squid particles are created, and how big they are.

Steps to Reproduce:

  1. Create an all water superflat world (Optional)

  2. Summon/spawn a squid/glow squid

  3. Allow it to rotate sideways

  4. Freeze the game

    /tick freeze
  5. Modify the squid's scale

    /attribute @e[type=minecraft:squid,sort=nearest,limit=1] minecraft:scale base set 20
  6. Hit the squid

  7. Tick step

    /tick step 3

Observed Behavior:

The particles will be created at the bottom of the squid's hitbox, visually appearing to be created at the side of the squid's model.

Expected Behavior:

The particles would be created near the bottom or the back of the squid's model.

Screenshots/Videos:

[media]

Notes:

  1. This affects glow squids as well

  2. Related to MC-270594 MC-270592 MC-267708 MC-267707 MC-267706 MC-267428

Linked issues

Attachments

Comments 0

No comments.

[Mod] Jingy

(Unassigned)

Confirmed

Platform

Low

Commands, Particles

attribute, ink, particle, scale, squid

23w51a, 1.20.5 Pre-Release 2, 1.20.5, 1.20.6 Release Candidate 1, 1.20.6, 24w19b, 1.21.3, 24w45a

Retrieved