Class HubRenderer

java.lang.Object
io.github.zhengzhengyiyi.hub.HubRenderer

public class HubRenderer extends Object
A HUD renderer that displays a small in-game information panel. Shows player position, FPS, TPS, and biome information. This class is designed to work only on the client side.

Usage: Call init() during client initialization to register the HUD renderer.

  • Method Details

    • init

      @Deprecated public static void init()
      Deprecated.
      Initializes the HubRenderer singleton and registers it to the HUD render callback. This method should be called once during client initialization.

      If already initialized, this method does nothing.