Fetchr

Fetchr

556 Downloads

Reduce sign placing in the lobby

NeunEinser opened this issue ยท 0 comments

commented

Currently all lobby signs are replaced every tick.

It is necessary to place signs continuously for the following reasons:

  • When joining, the player will by default not have the resource pack enabled, causing signs to render their translation keys instead of their actual translation. See also MC-162441
  • To prevent accidental permanent breaking of lobby functionality

While these are valid reasons, it is unnecessary to do this in every tick, and on servers can cause a high amount of network traffic, causing players to have bad ping in the lobby.

This could be improved by:

  • Not running the function every tick, but every second or so
  • Only replacing signs close to a player, skipping signs that are further away