Class TickRateManager

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

public class TickRateManager extends Object
  • Field Details

    • MIN_TICKRATE

      public static final float MIN_TICKRATE
      See Also:
    • tickrate

      protected float tickrate
    • nanosecondsPerTick

      protected long nanosecondsPerTick
    • frozenTicksToRun

      protected int frozenTicksToRun
    • runGameElements

      protected boolean runGameElements
    • isFrozen

      protected boolean isFrozen
  • Constructor Details

    • TickRateManager

      public TickRateManager()
  • Method Details

    • setTickRate

      public void setTickRate(float p_308963_)
    • tickrate

      public float tickrate()
    • millisecondsPerTick

      public float millisecondsPerTick()
    • nanosecondsPerTick

      public long nanosecondsPerTick()
    • runsNormally

      public boolean runsNormally()
    • isSteppingForward

      public boolean isSteppingForward()
    • setFrozenTicksToRun

      public void setFrozenTicksToRun(int p_309193_)
    • frozenTicksToRun

      public int frozenTicksToRun()
    • setFrozen

      public void setFrozen(boolean p_308905_)
    • isFrozen

      public boolean isFrozen()
    • tick

      public void tick()
    • isEntityFrozen

      public boolean isEntityFrozen(Entity p_308960_)