Interface ResourcePackManifest.Version

Enclosing interface:
ResourcePackManifest

public static interface ResourcePackManifest.Version
Represents a version of a resource pack.
Since:
2.1.1
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Gets the major version.
    int
    Gets the minor version.
    int
    Gets the patch version.
    Gets the version formatted as a String.
  • Method Details

    • major

      int major()
      Gets the major version.
      Returns:
      the major version
      Since:
      2.1.1
    • minor

      int minor()
      Gets the minor version.
      Returns:
      the minor version
      Since:
      2.1.1
    • patch

      int patch()
      Gets the patch version.
      Returns:
      the patch version
      Since:
      2.1.1
    • toString

      String toString()
      Gets the version formatted as a String.
      Overrides:
      toString in class Object
      Returns:
      the version string
      Since:
      2.1.1