Class WorldUnloadEvent

java.lang.Object
net.minecraft.client.telemetry.events.WorldUnloadEvent

public class WorldUnloadEvent extends Object
  • Field Details

    • NOT_TRACKING_TIME

      private static final int NOT_TRACKING_TIME
      See Also:
    • worldLoadedTime

      private Optional<Instant> worldLoadedTime
    • totalTicks

      private long totalTicks
    • lastGameTime

      private long lastGameTime
  • Constructor Details

    • WorldUnloadEvent

      public WorldUnloadEvent()
  • Method Details

    • onPlayerInfoReceived

      public void onPlayerInfoReceived()
    • setTime

      public void setTime(long p_261780_)
    • getTimeInSecondsSinceLoad

      private int getTimeInSecondsSinceLoad(Instant p_261735_)
    • send

      public void send(TelemetryEventSender p_262088_)