Class PreferencesCache

java.lang.Object
org.geysermc.connector.network.session.cache.PreferencesCache

public class PreferencesCache extends Object
  • Constructor Details

    • PreferencesCache

      public PreferencesCache(GeyserSession session)
  • Method Details

    • updateShowCoordinates

      public void updateShowCoordinates()
      Tell the client to hide or show the coordinates. If prefersShowCoordinates is true, coordinates will be shown, unless either of the following conditions apply:

      GeyserSession.reducedDebugInfo is enabled GeyserConfiguration.isShowCoordinates() is disabled
    • showCustomSkulls

      public boolean showCustomSkulls()
      Returns:
      true if the session prefers custom skulls, and the config allows them.