开源软件名称(OpenSource Name):MinecraftForkage/MinecraftForkage开源软件地址(OpenSource Url):https://github.com/MinecraftForkage/MinecraftForkage开源编程语言(OpenSource Language):Java 99.3%开源软件介绍(OpenSource Introduction):ComponentsMinecraft Forkage consists of several components:
Core build toolsThis component resides in the It can be built by running As a convenience for editing, the directory Note: the Eclipse project references a bundled copy of Ant 1.9.4, but the Ant build script will use your installed version of Ant. CoreThis component resides in the The build process is complex by necessity, since we are not allowed to distribute the original or modified Minecraft code -- only patches to it. This means we may not distribute the full source code for the core (although it can be generated) nor the full binary. To generate the source code, run To generate the binary, run To generate the installer, run Note: the binary produced by the installer is not expected to be byte-wise identical to the binary produced by "ant recompile". Note: the core is compiled as Java 1.6. Note: any modifications you make to files in the vanilla-src will be lost next time they are regenerated from patches (with
PackerThis component resides in the The packer relies on some of the libraries downloaded by running To build the packer, run LibrariesExternal libraries for both Minecraft and Forge will be downloaded to User-friendliness layerUsers want Forkage modpacks to just work. Telling users to mess around with command lines or directory structures is a good way to not have any users :) Users can either generate a standalone modpack JAR, or use the vanilla launcher. Standalone JARsSupplying the --standalone, --libraryDir and --nativesDir options to the command-line packer will cause it to emit a standalone JAR file. Note that many mods rely on the current working directory being the instance directory. Launching the standalone JAR is platform-specific; on Windows, it must be placed in the instance directory and then double-clicked, or a shortcut can be made to it. Note that standalone JARs contain Mojang code, and may contain open-source code in a manner not compliant with its license (as the licenses have not been reviewed for this purpose); therefore, they should not be TODO: improve the login interface, and make it save sessions/profiles in a way compatible with the vanilla launcher. For now, it does not download assets, so the vanilla launcher must have been used at least once for this Minecraft version. For now, it does not download libraries. This is a problem - the packer must have the libraries all placed in one directory, and natives extracted, and it requires those two directories to be specified on the command line. None of this is user-friendly. Vanilla launcherWhen using the vanilla launcher, the user should be able to set up a profile by selecting the Forkage version as the Minecraft version, and then selecting the instance directory - exactly the same as for Forge instances. To accomplish this, the packer is registered with the launcher. When the user launches Minecraft, the installer will quickly check if any mods have changed. If so, it will re-generate the modpack JAR. Then, it will launch the modpack JAR. The installer will be registered with all of the required libraries and assets, so that the launcher will handle downloading them. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论