Object ServerPackManifest.Companion

  • All Implemented Interfaces:

    
    public class ServerPackManifest.Companion
    
                        

    Where 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-tuned server.properties that ServerPackCreator never wrote. A second spelling of the name would mean one caller looking where another does not write.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final File inside(File serverPack) The manifest-file of the server pack in serverPack, whether or not it exists yet.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • inside

         final File inside(File serverPack)

        The manifest-file of the server pack in serverPack, whether or not it exists yet.