Class TimeHelper

java.lang.Object
net.minecraft.util.TimeHelper

public class TimeHelper extends Object
Mappings:
Namespace Name
official amh
intermediary net/minecraft/class_4802
named net/minecraft/util/TimeHelper
  • Field Details

    • SECOND_IN_NANOS

      public static final long SECOND_IN_NANOS
      Mappings:
      Namespace Name Mixin selector
      official a Lamh;a:J
      intermediary field_33868 Lnet/minecraft/class_4802;field_33868:J
      named SECOND_IN_NANOS Lnet/minecraft/util/TimeHelper;SECOND_IN_NANOS:J
    • MILLI_IN_NANOS

      public static final long MILLI_IN_NANOS
      Mappings:
      Namespace Name Mixin selector
      official b Lamh;b:J
      intermediary field_33869 Lnet/minecraft/class_4802;field_33869:J
      named MILLI_IN_NANOS Lnet/minecraft/util/TimeHelper;MILLI_IN_NANOS:J
  • Constructor Details

    • TimeHelper

      public TimeHelper()
  • Method Details

    • betweenSeconds

      public static UniformIntProvider betweenSeconds(int min, int max)
      Mappings:
      Namespace Name Mixin selector
      official a Lamh;a(II)Layx;
      intermediary method_24505 Lnet/minecraft/class_4802;method_24505(II)Lnet/minecraft/class_6019;
      named betweenSeconds Lnet/minecraft/util/TimeHelper;betweenSeconds(II)Lnet/minecraft/util/math/intprovider/UniformIntProvider;