Class WorldUnloadedEvent

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

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

    • ABSENT_LAST_TICK

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

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

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

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

    • WorldUnloadedEvent

      public WorldUnloadedEvent()
  • Method Details

    • start

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

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

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

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