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
official ad
intermediary net/minecraft/class_6489
named net/minecraft/GameVersion
  • Method Details

    • getSaveVersion

      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
      official d Lad;d()Ldys;
      intermediary method_37912 Lnet/minecraft/class_6489;method_37912()Lnet/minecraft/class_6595;
      named getSaveVersion Lnet/minecraft/GameVersion;getSaveVersion()Lnet/minecraft/SaveVersion;
    • getId

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

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

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

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

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

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