Class WorldLoadedEvent

java.lang.Object
net.minecraft.client.util.telemetry.WorldLoadedEvent
All Implemented Interfaces:
TelemetryEvent

@Environment(CLIENT) public class WorldLoadedEvent extends Object implements TelemetryEvent
Mappings:
Namespace Name
official ftj
intermediary net/minecraft/class_7979
named net/minecraft/client/util/telemetry/WorldLoadedEvent
  • Field Details

    • callback

      private final WorldLoadedEvent.Callback callback
      Mappings:
      Namespace Name Mixin selector
      official a Lftj;a:Lftj$a;
      intermediary field_41515 Lnet/minecraft/class_7979;field_41515:Lnet/minecraft/class_7979$class_7980;
      named callback Lnet/minecraft/client/util/telemetry/WorldLoadedEvent;callback:Lnet/minecraft/client/util/telemetry/WorldLoadedEvent$Callback;
    • sent

      private boolean sent
      Mappings:
      Namespace Name Mixin selector
      official b Lftj;b:Z
      intermediary field_41516 Lnet/minecraft/class_7979;field_41516:Z
      named sent Lnet/minecraft/client/util/telemetry/WorldLoadedEvent;sent:Z
    • gameMode

      Mappings:
      Namespace Name Mixin selector
      official c Lftj;c:Lftd$b;
      intermediary field_41517 Lnet/minecraft/class_7979;field_41517:Lnet/minecraft/class_7969$class_7971;
      named gameMode Lnet/minecraft/client/util/telemetry/WorldLoadedEvent;gameMode:Lnet/minecraft/client/util/telemetry/TelemetryEventProperty$GameMode;
    • brand

      @Nullable private @Nullable String brand
      Mappings:
      Namespace Name Mixin selector
      official d Lftj;d:Ljava/lang/String;
      intermediary field_41518 Lnet/minecraft/class_7979;field_41518:Ljava/lang/String;
      named brand Lnet/minecraft/client/util/telemetry/WorldLoadedEvent;brand:Ljava/lang/String;
  • Constructor Details

    • WorldLoadedEvent

      public WorldLoadedEvent(WorldLoadedEvent.Callback callback)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lftj;<init>(Lftj$a;)V
      intermediary <init> Lnet/minecraft/class_7979;<init>(Lnet/minecraft/class_7979$class_7980;)V
      named <init> Lnet/minecraft/client/util/telemetry/WorldLoadedEvent;<init>(Lnet/minecraft/client/util/telemetry/WorldLoadedEvent$Callback;)V
  • Method Details

    • putServerType

      public void putServerType(PropertyMap.Builder builder)
      Mappings:
      Namespace Name Mixin selector
      official a Lftj;a(Lfte$a;)V
      intermediary method_47792 Lnet/minecraft/class_7979;method_47792(Lnet/minecraft/class_7973$class_7974;)V
      named putServerType Lnet/minecraft/client/util/telemetry/WorldLoadedEvent;putServerType(Lnet/minecraft/client/util/telemetry/PropertyMap$Builder;)V
    • getServerType

      private TelemetryEventProperty.ServerType getServerType()
      Mappings:
      Namespace Name Mixin selector
      official b Lftj;b()Lftd$c;
      intermediary method_47794 Lnet/minecraft/class_7979;method_47794()Lnet/minecraft/class_7969$class_7972;
      named getServerType Lnet/minecraft/client/util/telemetry/WorldLoadedEvent;getServerType()Lnet/minecraft/client/util/telemetry/TelemetryEventProperty$ServerType;
    • send

      public void send(TelemetrySender sender)
      Specified by:
      send in interface TelemetryEvent
      Mappings:
      Namespace Name Mixin selector
      official a Lfti;a(Lfta;)V
      intermediary method_47786 Lnet/minecraft/class_7978;method_47786(Lnet/minecraft/class_7965;)V
      named send Lnet/minecraft/client/util/telemetry/TelemetryEvent;send(Lnet/minecraft/client/util/telemetry/TelemetrySender;)V
    • setGameMode

      public void setGameMode(GameMode gameMode, boolean hardcore)
      Mappings:
      Namespace Name Mixin selector
      official a Lftj;a(Lcjt;Z)V
      intermediary method_47791 Lnet/minecraft/class_7979;method_47791(Lnet/minecraft/class_1934;Z)V
      named setGameMode Lnet/minecraft/client/util/telemetry/WorldLoadedEvent;setGameMode(Lnet/minecraft/world/GameMode;Z)V
    • setBrand

      public void setBrand(String brand)
      Mappings:
      Namespace Name Mixin selector
      official a Lftj;a(Ljava/lang/String;)V
      intermediary method_47793 Lnet/minecraft/class_7979;method_47793(Ljava/lang/String;)V
      named setBrand Lnet/minecraft/client/util/telemetry/WorldLoadedEvent;setBrand(Ljava/lang/String;)V
    • getBrand

      @Nullable public @Nullable String getBrand()
      Mappings:
      Namespace Name Mixin selector
      official a Lftj;a()Ljava/lang/String;
      intermediary method_47790 Lnet/minecraft/class_7979;method_47790()Ljava/lang/String;
      named getBrand Lnet/minecraft/client/util/telemetry/WorldLoadedEvent;getBrand()Ljava/lang/String;