Class TickRateManager

java.lang.Object
net.minecraft.world.TickRateManager
Direct Known Subclasses:
ServerTickRateManager

public class TickRateManager extends Object
  • Field Details Link icon

    • MIN_TICKRATE Link icon

      public static final float MIN_TICKRATE
      See Also:
    • tickrate Link icon

      protected float tickrate
    • nanosecondsPerTick Link icon

      protected long nanosecondsPerTick
    • frozenTicksToRun Link icon

      protected int frozenTicksToRun
    • runGameElements Link icon

      protected boolean runGameElements
    • isFrozen Link icon

      protected boolean isFrozen
  • Constructor Details Link icon

    • TickRateManager Link icon

      public TickRateManager()
  • Method Details Link icon

    • setTickRate Link icon

      public void setTickRate(float p_308963_)
    • tickrate Link icon

      public float tickrate()
    • millisecondsPerTick Link icon

      public float millisecondsPerTick()
    • nanosecondsPerTick Link icon

      public long nanosecondsPerTick()
    • runsNormally Link icon

      public boolean runsNormally()
    • isSteppingForward Link icon

      public boolean isSteppingForward()
    • setFrozenTicksToRun Link icon

      public void setFrozenTicksToRun(int p_309193_)
    • frozenTicksToRun Link icon

      public int frozenTicksToRun()
    • setFrozen Link icon

      public void setFrozen(boolean p_308905_)
    • isFrozen Link icon

      public boolean isFrozen()
    • tick Link icon

      public void tick()
    • isEntityFrozen Link icon

      public boolean isEntityFrozen(Entity p_308960_)