Interface DataPackFormat

All Superinterfaces:
Comparable<DataPackFormat>

public interface DataPackFormat extends Comparable<DataPackFormat>
Represents a data pack format version.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Gets the major version component.
    int
    Gets the minor version component.

    Methods inherited from interface java.lang.Comparable

    compareTo
  • Method Details

    • getMajor

      int getMajor()
      Gets the major version component.
      Returns:
      major version
    • getMinor

      int getMinor()
      Gets the minor version component.
      Returns:
      minor version