mojira.dev
MC-110685

Entity View Distance Not Clamped

When used for chunk sending, view distance is clamped [3,32]. It is not clamped however when used for entity sending. This means values < 3 will cause invisible entities with no obvious error.

Comments 6

Isn't the range [2,32]?

No.

i = MathHelper.clamp(i, 3, 32);

Is this still a issue in the latest version of the game(currently 1.13.1)?

If so, please add it to the affected versions, thanks!

Does this still apply to 1.15.2?

Looking at the code I think it was fixed at some point

Resolving as CR as the fixed version is extremely unclear.

md_5

(Unassigned)

Plausible

(Unassigned)

chunk, chunksending, entity, invisible, view-distance

Minecraft 1.11, Minecraft 1.13.1

Retrieved