menukasce.blogg.se

Minecraft 1.12.2 mods
Minecraft 1.12.2 mods




minecraft 1.12.2 mods
  1. #MINECRAFT 1.12.2 MODS INSTALL#
  2. #MINECRAFT 1.12.2 MODS FULL#
  3. #MINECRAFT 1.12.2 MODS CODE#
  4. #MINECRAFT 1.12.2 MODS DOWNLOAD#
  5. #MINECRAFT 1.12.2 MODS FREE#

  • If the class is modified by Forge, and neither Vivecraft, nor Optifine have added the Reflection calls, you will have to do so along with your own changes.
  • #MINECRAFT 1.12.2 MODS FREE#

    If the class is not modified by Forge, feel free to edit it. Is the class modfied by Forge? - Check Forge's github patches to see, Forge modifies many base classes but not all.If Optifine has already made the Reflection calls, continue with your edits. Is the class already modified by Optifine? You can tell because there will usually be calls to Reflector.java.If so: feel free to make any other changes. Is the class already modified by Vivecraft? You can tell if there is a.Optifine uses this method extensively and Vivecraft expands it.īefore making ANY changes to a vanilla class file you should check to see: To fix this, the class must have all Forge's method calls added via reflection in Vivecraft.

    #MINECRAFT 1.12.2 MODS CODE#

    This means that any vanilla class you modify will NOT have any of Forge's code changes made to it at runtime. It only replaces files that have been modified by the user, and it replaces them after Forge and Optifine have made their modifications to them.

    minecraft 1.12.2 mods

  • Keep modification to vanilla methods minimal, move code to your own methods, preferrably in your own files.Īdditionally, vivecraft does not use bytecode manipulation at runtime to modify the vanilla classes (mostly), it replaces them wholesale in much the same way as optifine.
  • Do not change the type or signatures of any vanilla members.
  • Do not rename any vanilla methods, fields, or classes.
  • To this end, please follow these guidelines in writing Vivecraft code: When Vivecraft is run with Forge, any public method can be called by any mod, and any vanilla class is up for grabs for ASM modification. This backs up mcp9xx\src\minecraft to mcp9xx\src\minecraft_bak, and starts over by applying all patches in \patches\ to mcp9xx\src\minecraft_orig, and copies the result o mcp9xx\src\minecraftĬaveats - Maintaining Forge Compatibility
  • After pulling changes from github run applychanges.bat.
  • And then it uses the code and jsons found in \installer\ to make an installer.exe. Basically it takes the new files and patches and creates a jar. This runs getchanges, build, and then create_install. patches are generated for modified files and copied to \patches. This compares mcp9xx\src\minecraft to mcp9xx\src\minecraft_orig. Make all changes to the game in the \mcp9xx\src\minecraft directory. To run the game from eclipse you also have to attach natives to the lwjgl jar (from lib/natives). You will have to correct the library path for the vanilla jar and realms jar, and also add libraries for JRift, json, asm, and launchwrapper, all of these can be found in the root /lib folder. If you use Eclipse you can open the workspace found in \mcp9xx\eclipse.

    #MINECRAFT 1.12.2 MODS FULL#

    This directory is now the full 'Vivecraft' codebase. It copies all files found in \assets\ to \mcp9xx\src\assets.It copies all code files found in \src\ to \mcp9xx\src\minecraft.It applies all the patches found in \patches\ and copies the result to \mcp9xx\src\minecraft.It applies any patches found in \mcppatches\ and copies the result to\mcp9xx\src.minecraft_orig\.It decompiles and deobfuscates the combined minecraft/optifine into \mcp9xx\src.minecraft_orig_nofix\.It merges Optifine into vanilla minecraft jar.It downloads MCP (Minecraft coder's pack) and extracts it to the \mcp9xx\ directory.

    #MINECRAFT 1.12.2 MODS INSTALL#

    The install process (install.py) does a number of things:

  • Open a command prompt and navigate to the repo directory.
  • Be sure to tick the 'add python to your PATH' option during install.
  • Add %JAVA_HOME%\bin to your PATH environment variable.
  • Set the JAVA_HOME environment variable to the JDK directory.
  • #MINECRAFT 1.12.2 MODS DOWNLOAD#

  • Fork, checkout or download the repo using your Git method of choice.
  • Vivecraft uses patches to avoid distributing Minecraft code. For downloads and gameplay instructions please see the official website Using this Repository






    Minecraft 1.12.2 mods