Class WorldUnloadedEvent

java.lang.Object
net.minecraft.client.util.telemetry.WorldUnloadedEvent

@Environment(CLIENT) public class WorldUnloadedEvent extends Object
Mappings:
Namespace Name
official fze
intermediary net/minecraft/class_7982
named net/minecraft/client/util/telemetry/WorldUnloadedEvent
  • Field Details

    • ABSENT_LAST_TICK

      private static final int ABSENT_LAST_TICK
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lfze;a:I
      intermediary field_41712 Lnet/minecraft/class_7982;field_41712:I
      named ABSENT_LAST_TICK Lnet/minecraft/client/util/telemetry/WorldUnloadedEvent;ABSENT_LAST_TICK:I
    • startTime

      private Optional<Instant> startTime
      Mappings:
      Namespace Name Mixin selector
      official b Lfze;b:Ljava/util/Optional;
      intermediary field_41521 Lnet/minecraft/class_7982;field_41521:Ljava/util/Optional;
      named startTime Lnet/minecraft/client/util/telemetry/WorldUnloadedEvent;startTime:Ljava/util/Optional;
    • ticksSinceLoad

      private long ticksSinceLoad
      Mappings:
      Namespace Name Mixin selector
      official c Lfze;c:J
      intermediary field_41522 Lnet/minecraft/class_7982;field_41522:J
      named ticksSinceLoad Lnet/minecraft/client/util/telemetry/WorldUnloadedEvent;ticksSinceLoad:J
    • lastTick

      private long lastTick
      Mappings:
      Namespace Name Mixin selector
      official d Lfze;d:J
      intermediary field_41523 Lnet/minecraft/class_7982;field_41523:J
      named lastTick Lnet/minecraft/client/util/telemetry/WorldUnloadedEvent;lastTick:J
  • Constructor Details

    • WorldUnloadedEvent

      public WorldUnloadedEvent()
  • Method Details

    • start

      public void start()
      Mappings:
      Namespace Name Mixin selector
      official a Lfze;a()V
      intermediary method_47982 Lnet/minecraft/class_7982;method_47982()V
      named start Lnet/minecraft/client/util/telemetry/WorldUnloadedEvent;start()V
    • setTick

      public void setTick(long tick)
      Mappings:
      Namespace Name Mixin selector
      official a Lfze;a(J)V
      intermediary method_47798 Lnet/minecraft/class_7982;method_47798(J)V
      named setTick Lnet/minecraft/client/util/telemetry/WorldUnloadedEvent;setTick(J)V
    • getSecondsSinceLoad

      private int getSecondsSinceLoad(Instant startTime)
      Mappings:
      Namespace Name Mixin selector
      official a Lfze;a(Ljava/time/Instant;)I
      intermediary method_47800 Lnet/minecraft/class_7982;method_47800(Ljava/time/Instant;)I
      named getSecondsSinceLoad Lnet/minecraft/client/util/telemetry/WorldUnloadedEvent;getSecondsSinceLoad(Ljava/time/Instant;)I
    • send

      public void send(TelemetrySender sender)
      Mappings:
      Namespace Name Mixin selector
      official a Lfze;a(Lfyt;)V
      intermediary method_47786 Lnet/minecraft/class_7982;method_47786(Lnet/minecraft/class_7965;)V
      named send Lnet/minecraft/client/util/telemetry/WorldUnloadedEvent;send(Lnet/minecraft/client/util/telemetry/TelemetrySender;)V