Class RenderTickCounter

java.lang.Object
net.minecraft.client.render.RenderTickCounter

@Environment(CLIENT) public class RenderTickCounter extends Object
Mappings:
Namespace Name
named net/minecraft/client/render/RenderTickCounter
intermediary net/minecraft/class_317
official ffs
  • Field Details

    • tickDelta

      public float tickDelta
      Mappings:
      Namespace Name Mixin selector
      named tickDelta Lnet/minecraft/client/render/RenderTickCounter;tickDelta:F
      intermediary field_1970 Lnet/minecraft/class_317;field_1970:F
      official a Lffs;a:F
    • lastFrameDuration

      public float lastFrameDuration
      Mappings:
      Namespace Name Mixin selector
      named lastFrameDuration Lnet/minecraft/client/render/RenderTickCounter;lastFrameDuration:F
      intermediary field_1969 Lnet/minecraft/class_317;field_1969:F
      official b Lffs;b:F
    • prevTimeMillis

      private long prevTimeMillis
      Mappings:
      Namespace Name Mixin selector
      named prevTimeMillis Lnet/minecraft/client/render/RenderTickCounter;prevTimeMillis:J
      intermediary field_1971 Lnet/minecraft/class_317;field_1971:J
      official c Lffs;c:J
    • tickTime

      private final float tickTime
      Mappings:
      Namespace Name Mixin selector
      named tickTime Lnet/minecraft/client/render/RenderTickCounter;tickTime:F
      intermediary field_1968 Lnet/minecraft/class_317;field_1968:F
      official d Lffs;d:F
    • targetMillisPerTick

      private final FloatUnaryOperator targetMillisPerTick
      Mappings:
      Namespace Name Mixin selector
      named targetMillisPerTick Lnet/minecraft/client/render/RenderTickCounter;targetMillisPerTick:Lit/unimi/dsi/fastutil/floats/FloatUnaryOperator;
      intermediary field_47102 Lnet/minecraft/class_317;field_47102:Lit/unimi/dsi/fastutil/floats/FloatUnaryOperator;
      official e Lffs;e:Lit/unimi/dsi/fastutil/floats/FloatUnaryOperator;
  • Constructor Details

    • RenderTickCounter

      public RenderTickCounter(float tps, long timeMillis, FloatUnaryOperator targetMillisPerTick)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/RenderTickCounter;<init>(FJLit/unimi/dsi/fastutil/floats/FloatUnaryOperator;)V
      intermediary <init> Lnet/minecraft/class_317;<init>(FJLit/unimi/dsi/fastutil/floats/FloatUnaryOperator;)V
      official <init> Lffs;<init>(FJLit/unimi/dsi/fastutil/floats/FloatUnaryOperator;)V
  • Method Details

    • beginRenderTick

      public int beginRenderTick(long timeMillis)
      Mappings:
      Namespace Name Mixin selector
      named beginRenderTick Lnet/minecraft/client/render/RenderTickCounter;beginRenderTick(J)I
      intermediary method_1658 Lnet/minecraft/class_317;method_1658(J)I
      official a Lffs;a(J)I