Class WorldCache
java.lang.Object
org.geysermc.geyser.session.cache.WorldCache
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidvoidvoidresetTitleTimes(boolean clientSync)Reset the true active title times to the (Java Edition 1.18.2) defaults.voidsetTitleTimes(int fadeInTime, int stayTime, int fadeOutTime)Store the true active title times.voidIf needed, ensure that the Bedrock client will use the correct timings for titles.
-
Constructor Details
-
WorldCache
-
-
Method Details
-
removeScoreboard
public void removeScoreboard() -
increaseAndGetScoreboardPacketsPerSecond
public int increaseAndGetScoreboardPacketsPerSecond() -
markTitleTimesAsIncorrect
public void markTitleTimesAsIncorrect() -
setTitleTimes
public void setTitleTimes(int fadeInTime, int stayTime, int fadeOutTime)Store the true active title times. -
synchronizeCorrectTitleTimes
public void synchronizeCorrectTitleTimes()If needed, ensure that the Bedrock client will use the correct timings for titles. -
resetTitleTimes
public void resetTitleTimes(boolean clientSync)Reset the true active title times to the (Java Edition 1.18.2) defaults.
-