header
logo

LagGogglesLegacy

LagGoggles Legacy

A backport of TerminatorNL's LagGoggles to 1.7.10.

Dependencies

Original description:

Intuitive lag hunting!

LagGoggles is a profiler where you can see timings in the world, visually. It comes with a custom GUI using a configurable keybind.

You can use LagGoggles as a player too! This is my attempt to create an understanding of what causes lag on a server to regular players.

I noticed some common misconceptions like having machines spread out over different chunks causes less lag than putting it in one chunk.

With LagGoggles, you can look around and see that alot of small things like pipes or cables cause a tiny bit of lag most of the time, often resulting in more lag than a machine right next to the source would.

Video explaining the concept

Massive thanks to Grok DuckFarmer for making this video.

Minecraft Talk 35 - LagGoggles and Better Server Play

IMAGE ALT TEXT HERE

Features

  • Teleporting to sources of lag
  • Client GUI, including overlay and clickable menus
  • Colour scale for easy spotting of sources of lag.
  • Calculations are done on the client, so each client can have a different colour scale.
  • Clientside FPS support!
    • Checks render time for Entities, Tile entities and event subscribers
    • It's very young, but it should give some insight in what may cause FPS issues.
  • Config for client:
    • Custom gradients
    • Colorblindess support
  • Config for server
    • Custom permissions for players (non-operators)

Configuration

  • Drop the jar in the /mods folder
  • Serverside configuration is not required and has no effect.
  • Clients can edit the config to change the colour scale.

How it works

Entities, blocks and event-subscribers are timed using System.nanotime() before and after the tick() and update() methods. These times are being recorded and sent to the client when the profiler is done.

Benefits

  • Visualisation of various sources of lag
  • Learn your players to build lag-free bases.

 

LICENSE AND CREDITS

This project is a derivative work based on the LagGoggles project, available at https://www.curseforge.com/minecraft/mc-mods/laggoggles

 

Lag Goggles: Legacy

Copyright (C) 2022 FalsePattern

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see https://www.gnu.org/licenses/

------------------------------------------------------------------------------------------------------

LagGoggles

Copyright (c) 2020 TerminatorNL

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see http://www.gnu.org/licenses/