Class PreferencesCache
java.lang.Object
org.geysermc.geyser.session.cache.PreferencesCache
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidTell the client to hide or show the coordinates.
-
Constructor Details
-
PreferencesCache
-
-
Method Details
-
updateShowCoordinates
public void updateShowCoordinates()Tell the client to hide or show the coordinates. IfprefersShowCoordinatesis true, coordinates will be shown, unless either of the following conditions apply:
GeyserSession.reducedDebugInfois enabledGeyserConfiguration.isShowCoordinates()is disabled -
showCustomSkulls
public boolean showCustomSkulls()- Returns:
- true if the session prefers custom skulls, and the config allows them.
-