Package net.minecraft

Interface GameVersion

All Superinterfaces:
com.mojang.bridge.game.GameVersion
All Known Implementing Classes:
MinecraftVersion

public interface GameVersion extends com.mojang.bridge.game.GameVersion
The game version interface used by Minecraft, replacing the javabridge one's occurences in Minecraft code.
Mappings:
Namespace Name
official ae
intermediary net/minecraft/class_6489
named net/minecraft/GameVersion
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the save version information for this game version.
    default String
    Deprecated.
    default int
    Deprecated.

    Methods inherited from interface com.mojang.bridge.game.GameVersion

    getBuildTime, getId, getName, getPackVersion, getPackVersion, getProtocolVersion, getReleaseTarget, isStable
  • Method Details

    • getWorldVersion

      @Deprecated default int getWorldVersion()
      Deprecated.
      Specified by:
      getWorldVersion in interface com.mojang.bridge.game.GameVersion
    • getSeriesId

      @Deprecated default String getSeriesId()
      Deprecated.
      Specified by:
      getSeriesId in interface com.mojang.bridge.game.GameVersion
    • 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 b Lae;b()Ldiu;
      intermediary method_37912 Lnet/minecraft/class_6489;method_37912()Lnet/minecraft/class_6595;
      named getSaveVersion Lnet/minecraft/GameVersion;getSaveVersion()Lnet/minecraft/SaveVersion;