Object ServerPackManifest.Companion
-
- All Implemented Interfaces:
public class ServerPackManifest.CompanionWhere a server pack's manifest lives — the single place that answer is spelled.
Load-bearing rather than merely tidy: the manifest's presence is what tells ServerPackUpdater a generation is an update of an existing pack rather than a first run, and that decision governs what may be overwritten and what must be preserved — a world, an
ops.json, a hand-tunedserver.propertiesthat ServerPackCreator never wrote. A second spelling of the name would mean one caller looking where another does not write.
-
-
Field Summary
Fields Modifier and Type Field Description public final static ServerPackManifest.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final Fileinside(File serverPack)The manifest-file of the server pack in serverPack, whether or not it exists yet. -
-
Method Detail
-
inside
final File inside(File serverPack)
The manifest-file of the server pack in serverPack, whether or not it exists yet.
-
-
-
-