MCPcopy Create free account

hub / github.com/Alvinn8/paper-nms-maven-plugin / functions

Functions49 in github.com/Alvinn8/paper-nms-maven-plugin

↓ 7 callersMethodgetNmsGroupId
Get the group id of the generated nms dependency. <p> If using the default configuration for NMS with Paper, the group id will be "ca.bkaw" and the ar
src/main/java/ca/bkaw/papernmsmavenplugin/MojoBase.java:127
↓ 5 callersMethodgetCacheDirectory
Get the directory where mapping files are stored and where temporary files are created during init. @return The path to the cache directory.
src/main/java/ca/bkaw/papernmsmavenplugin/MojoBase.java:109
↓ 4 callersMethoddownloadFile
Download a file from a URL. @param url The url to download the file from. @param path The path to place the downloaded file. @throws MojoExecutionExc
src/main/java/ca/bkaw/papernmsmavenplugin/MojoBase.java:243
↓ 4 callersMethodgetDevBundleArtifact
(String version)
src/main/java/ca/bkaw/papernmsmavenplugin/MojoBase.java:485
↓ 4 callersMethodgetGameVersionFor
Identify the game version from the version the user has specified. @param userVersion The version or version range that the user has specified. @retu
src/main/java/ca/bkaw/papernmsmavenplugin/MojoBase.java:182
↓ 3 callersMethoddeleteRecursively
Delete the directory on the path recursively, if the directory exists. @param path The path to the directory. @throws IOException If something goes w
src/main/java/ca/bkaw/papernmsmavenplugin/MojoBase.java:311
↓ 3 callersMethodgetDevBundleRepositories
Get a list of the repositories to use to search for the dev-bundle and related resources. @return The list of maven repositories. @throws MojoExecuti
src/main/java/ca/bkaw/papernmsmavenplugin/MojoBase.java:452
↓ 3 callersMethodinit
Initialize paper-nms. Will create a Mojang mapped server dependency and install it into the local repository. @throws MojoExecutionException If somet
src/main/java/ca/bkaw/papernmsmavenplugin/MojoBase.java:348
↓ 3 callersMethodmapJar
Map the input jar to the output jar. @param in The input jar. @param out The output jar. @param mappingFrom The mapping namespace to map from. @param
src/main/java/ca/bkaw/papernmsmavenplugin/MojoBase.java:1287
↓ 3 callersMethodremapArtifact
(Path artifactPath, Path outputPath, Path mappingsPath, String mappingFrom, String mappingTo, List<Path> class
src/main/java/ca/bkaw/papernmsmavenplugin/RemapMojo.java:247
↓ 3 callersMethodremapClasses
(Path classesPath, Path mappingsPath, String mappingFrom, String mappingTo, List<Path> classPath, boolean mark
src/main/java/ca/bkaw/papernmsmavenplugin/RemapMojo.java:202
↓ 2 callersMethodcreateDevBundleConfiguration
If the {@link #devBundle} hasn't been set, set the default.
src/main/java/ca/bkaw/papernmsmavenplugin/MojoBase.java:134
↓ 2 callersMethodextractServerJar
Extract the server jar from the downloaded paperclip jar. Depending on the version, the extracted jar might have all dependencies shaded or not. <p>I
src/main/java/ca/bkaw/papernmsmavenplugin/MojoBase.java:1162
↓ 2 callersMethodgetCompileDependenciesFromMetadata
Get all required dependencies from the {@code serverCompileClasspath} variant in the Gradle module metadata. @param metadataPath The path to the meta
src/main/java/ca/bkaw/papernmsmavenplugin/MojoBase.java:848
↓ 2 callersMethodgetLastModifiedTime
(Path path)
src/main/java/ca/bkaw/papernmsmavenplugin/RemappedClasses.java:43
↓ 2 callersMethodgetUserVersion
Get the version of the NMS dependency that the user has specified in their pom.xml. @return The version. @throws MojoFailureException If no version i
src/main/java/ca/bkaw/papernmsmavenplugin/MojoBase.java:146
↓ 2 callersMethodresolveGradleModuleMetadata
Resolve the Gradle module metadata artifact for an artifact. @param artifact The artifact. @return The path to the resolved .module file, or null. @t
src/main/java/ca/bkaw/papernmsmavenplugin/MojoBase.java:655
↓ 1 callersMethoddownloadMojangMappings
Download the Mojang mappings for the specified game version. @param mojangMappingsPath The path to put the Mojang mappings. @param gameVersion The ga
src/main/java/ca/bkaw/papernmsmavenplugin/MojoBase.java:938
↓ 1 callersMethoddownloadPaper
Download a paperclip jar of the latest build for the specified game version. @param gameVersion The game version. @param paperclipPath The path to pu
src/main/java/ca/bkaw/papernmsmavenplugin/MojoBase.java:1121
↓ 1 callersMethoddownloadSpigotMappings
Download the Spigot mappings for the specified game version. <p>Note that the member mappings might not exist, and in that case the {@code spigotMemb
src/main/java/ca/bkaw/papernmsmavenplugin/MojoBase.java:988
↓ 1 callersMethodextractDevBundle
Extract the needed files from the dev bundle. Will extract the mapped paperclip jar and the mappings. <p>The {@code dependencyCoordinates} list will
src/main/java/ca/bkaw/papernmsmavenplugin/MojoBase.java:723
↓ 1 callersMethodfixMappings
Fix mapping conflicts and issues that would crash tiny remapper if not fixed. <p> This is quite an ugly fix, and a workaround for a specific version (
src/main/java/ca/bkaw/papernmsmavenplugin/MojoBase.java:1096
↓ 1 callersMethodgetDependencyManagementFromPom
Get all dependency management dependencies from the pom.xml. @param pomPath The path to the pom.xml file. @return The list of dependency management d
src/main/java/ca/bkaw/papernmsmavenplugin/MojoBase.java:907
↓ 1 callersMethodgetSHA1
Get the SHA-1 {@link MessageDigest} and handle errors (that should never occur). @return The SHA-1 {@link MessageDigest} instance. @throws MojoExecut
src/main/java/ca/bkaw/papernmsmavenplugin/MojoBase.java:296
↓ 1 callersMethodinstallToMavenRepo
Install the mapped server jar to the local maven repository. <p>Will install with the group id {@link #getNmsGroupId()}, the artifact id will be the
src/main/java/ca/bkaw/papernmsmavenplugin/MojoBase.java:1409
↓ 1 callersMethodinstallViaArtifactInstaller
Install the mapped server jar into the local repository by using the {@link ArtifactInstaller}. <p>Will install with the group id {@link #getNmsGroup
src/main/java/ca/bkaw/papernmsmavenplugin/MojoBase.java:1519
↓ 1 callersMethodisAlreadyRemapped
Check if the specified class file has already been remapped. @param classFilePath The class file. @return Whether already remapped. @throws IOExcepti
src/main/java/ca/bkaw/papernmsmavenplugin/RemappedClasses.java:54
↓ 1 callersMethodmapPaperJar
Map the paper jar to create a Mojang mapped paper jar. @param mappingsPath The path to the mappings. @param paperPath The path to the paper jar. @par
src/main/java/ca/bkaw/papernmsmavenplugin/MojoBase.java:1363
↓ 1 callersMethodmarkAsRemappedNow
Mark a class as having been remapped right now. @param classFilePath The path of the class file that was remapped. @throws IOException If the last mo
src/main/java/ca/bkaw/papernmsmavenplugin/RemappedClasses.java:69
↓ 1 callersMethodmergeMappings
Merge the spigot mappings and the Mojang mappings to create mappings from Spigot mappings to Mojang mappings, and write the mappings to a file in the
src/main/java/ca/bkaw/papernmsmavenplugin/MojoBase.java:1035
↓ 1 callersMethodprintln
(String x)
src/main/java/ca/bkaw/papernmsmavenplugin/RemapMojo.java:155
↓ 1 callersMethodremapDouble
(Path artifactPath, Path mappingsMojangPath, Path mappingsSpigotPath, List<Path> classPath)
src/main/java/ca/bkaw/papernmsmavenplugin/RemapMojo.java:269
↓ 1 callersMethodresolveDevBundle
Resolve the dev-bundle containing useful files and get the path to it. <p>For versions that do not have a dev-bundle, null is returned.</p> @param u
src/main/java/ca/bkaw/papernmsmavenplugin/MojoBase.java:503
↓ 1 callersMethodresolvePom
(Artifact artifact)
src/main/java/ca/bkaw/papernmsmavenplugin/MojoBase.java:682
↓ 1 callersMethodsave
Save the data. @throws IOException If the data could not be written.
src/main/java/ca/bkaw/papernmsmavenplugin/RemappedClasses.java:78
↓ 1 callersMethodtoHex
Convert a byte array to a hexadecimal string. @param bytes The byte array. @return The hex string.
src/main/java/ca/bkaw/papernmsmavenplugin/MojoBase.java:282
MethodArtifact
(String groupId, String artifactId, String version)
src/main/java/ca/bkaw/papernmsmavenplugin/DevBundle.java:54
MethodDevBundle
(String id, Repository repository, Artifact artifact)
src/main/java/ca/bkaw/papernmsmavenplugin/DevBundle.java:27
MethodRemappedClasses
Read the data. @param jsonFile The json file containing the data. @param classesFolder The path of the target/classes folder. @throws IOException If
src/main/java/ca/bkaw/papernmsmavenplugin/RemappedClasses.java:30
MethodRepository
(String id, String url)
src/main/java/ca/bkaw/papernmsmavenplugin/DevBundle.java:39
Methodexecute
()
src/main/java/ca/bkaw/papernmsmavenplugin/InitMojo.java:10
Methodexecute
()
src/main/java/ca/bkaw/papernmsmavenplugin/RemapMojo.java:30
MethodinstallViaCmd
Install an artifact into the local repository by running the {@code install:install-file} goal using the maven command line. <p>This method is not us
src/main/java/ca/bkaw/papernmsmavenplugin/MojoBase.java:1542
MethodinstallViaCopy
Install the mapped paper jar into the local repository by copying the files to the expected path in the local repository. <p>This method is not used
src/main/java/ca/bkaw/papernmsmavenplugin/MojoBase.java:1568
MethodpostVisitDirectory
(Path dir, IOException exc)
src/main/java/ca/bkaw/papernmsmavenplugin/MojoBase.java:321
MethodpreVisitDirectory
(Path dir, BasicFileAttributes attrs)
src/main/java/ca/bkaw/papernmsmavenplugin/MojoBase.java:332
Methodprintf
(String format, Object... args)
src/main/java/ca/bkaw/papernmsmavenplugin/RemapMojo.java:145
MethodvisitFile
(Path file, BasicFileAttributes attrs)
src/main/java/ca/bkaw/papernmsmavenplugin/MojoBase.java:315
MethodvisitFileFailed
(Path file, IOException exc)
src/main/java/ca/bkaw/papernmsmavenplugin/MojoBase.java:327