Package net.minecraft

Interface GameVersion

All Known Implementing Classes:
MinecraftVersion

public interface GameVersion
The game version interface used by Minecraft, replacing the javabridge one's occurrences in Minecraft code.
Mappings:
Namespace Name
named net/minecraft/GameVersion
intermediary net/minecraft/class_6489
official ag
  • Method Details Link icon

    • getSaveVersion Link icon

      SaveVersion getSaveVersion()
      Returns the save version information for this game version.
      Returns:
      the save version information for this game version
      Mappings:
      Namespace Name Mixin selector
      named getSaveVersion Lnet/minecraft/GameVersion;getSaveVersion()Lnet/minecraft/SaveVersion;
      intermediary method_37912 Lnet/minecraft/class_6489;method_37912()Lnet/minecraft/class_6595;
      official d Lag;d()Leuy;
    • getId Link icon

      String getId()
      Mappings:
      Namespace Name Mixin selector
      named getId Lnet/minecraft/GameVersion;getId()Ljava/lang/String;
      intermediary method_48018 Lnet/minecraft/class_6489;method_48018()Ljava/lang/String;
      official b Lag;b()Ljava/lang/String;
    • getName Link icon

      String getName()
      Mappings:
      Namespace Name Mixin selector
      named getName Lnet/minecraft/GameVersion;getName()Ljava/lang/String;
      intermediary method_48019 Lnet/minecraft/class_6489;method_48019()Ljava/lang/String;
      official c Lag;c()Ljava/lang/String;
    • getProtocolVersion Link icon

      int getProtocolVersion()
      Mappings:
      Namespace Name Mixin selector
      named getProtocolVersion Lnet/minecraft/GameVersion;getProtocolVersion()I
      intermediary method_48020 Lnet/minecraft/class_6489;method_48020()I
      official e Lag;e()I
    • getResourceVersion Link icon

      int getResourceVersion(ResourceType type)
      Mappings:
      Namespace Name Mixin selector
      named getResourceVersion Lnet/minecraft/GameVersion;getResourceVersion(Lnet/minecraft/resource/ResourceType;)I
      intermediary method_48017 Lnet/minecraft/class_6489;method_48017(Lnet/minecraft/class_3264;)I
      official a Lag;a(Late;)I
    • getBuildTime Link icon

      Date getBuildTime()
      Mappings:
      Namespace Name Mixin selector
      named getBuildTime Lnet/minecraft/GameVersion;getBuildTime()Ljava/util/Date;
      intermediary method_48021 Lnet/minecraft/class_6489;method_48021()Ljava/util/Date;
      official f Lag;f()Ljava/util/Date;
    • isStable Link icon

      boolean isStable()
      Mappings:
      Namespace Name Mixin selector
      named isStable Lnet/minecraft/GameVersion;isStable()Z
      intermediary method_48022 Lnet/minecraft/class_6489;method_48022()Z
      official g Lag;g()Z