Class WorldCache

java.lang.Object
org.geysermc.geyser.session.cache.WorldCache

public final class WorldCache extends Object
  • Constructor Details

  • 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.