Class DeltaTracker.Timer

java.lang.Object
net.minecraft.client.DeltaTracker.Timer
All Implemented Interfaces:
DeltaTracker
Enclosing interface:
DeltaTracker

public static class DeltaTracker.Timer extends Object implements DeltaTracker
  • Field Details

    • deltaTicks

      private float deltaTicks
    • deltaTickResidual

      private float deltaTickResidual
    • realtimeDeltaTicks

      private float realtimeDeltaTicks
    • pausedDeltaTickResidual

      private float pausedDeltaTickResidual
    • lastMs

      private long lastMs
    • lastUiMs

      private long lastUiMs
    • msPerTick

      private final float msPerTick
    • targetMsptProvider

      private final it.unimi.dsi.fastutil.floats.FloatUnaryOperator targetMsptProvider
    • paused

      private boolean paused
    • frozen

      private boolean frozen
  • Constructor Details

    • Timer

      public Timer(float p_343882_, long p_344080_, it.unimi.dsi.fastutil.floats.FloatUnaryOperator p_343677_)
  • Method Details

    • advanceTime

      public int advanceTime(long p_343106_, boolean p_342855_)
    • advanceGameTime

      private int advanceGameTime(long p_342679_)
    • advanceRealTime

      private void advanceRealTime(long p_342368_)
    • updatePauseState

      public void updatePauseState(boolean p_342098_)
    • pause

      private void pause()
    • unPause

      private void unPause()
    • updateFrozenState

      public void updateFrozenState(boolean p_344005_)
    • getGameTimeDeltaTicks

      public float getGameTimeDeltaTicks()
      Specified by:
      getGameTimeDeltaTicks in interface DeltaTracker
    • getGameTimeDeltaPartialTick

      public float getGameTimeDeltaPartialTick(boolean p_344876_)
      Specified by:
      getGameTimeDeltaPartialTick in interface DeltaTracker
    • getRealtimeDeltaTicks

      public float getRealtimeDeltaTicks()
      Specified by:
      getRealtimeDeltaTicks in interface DeltaTracker