MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / packFormat

Method packFormat

launcher/minecraft/mod/ResourcePack.h:26–26  ·  view source on GitHub ↗

Gets the numerical ID of the pack format. */

Source from the content-addressed store, hash-verified

24
25 /** Gets the numerical ID of the pack format. */
26 [[nodiscard]] int packFormat() const { return m_pack_format; }
27 /** Gets, respectively, the lower and upper versions supported by the set pack format. */
28 [[nodiscard]] std::pair<Version, Version> compatibleVersions() const;
29

Callers 5

compareMethod · 0.80
dataMethod · 0.80
test_parseFolderMethod · 0.80
test_parseFolder2Method · 0.80

Calls

no outgoing calls

Tested by 2

test_parseFolderMethod · 0.64
test_parseFolder2Method · 0.64