Jump to content

Possible to download the rest of forge before launching the game


Recommended Posts

Posted

Hello

 

Im in the middle of developing a custom modpack installation system, but theres something im not sure about.

 

In my installation program i have a checker that thecks if forge is installed before it can install any mods. Its a simple button you press that launches the forge installation. After forge installation is completed you can continue with the installation of the mods. The program uses magic launcher and generates a profile for it based on the bundled mods. My only problem is that when the installation is complete and i launch magic launcher with the mods it fails to load.

 

If i launch minecraft with the normal launcher first it works fine in magic launcher afterwards. It seems that forge is downloading additional files at minecrafts first run after the install. is that correct?

 

Can i somehow prevent this ? is there a command line i can run to download the needed files after a forge installation without the need to launch minecraft it self ?

 

Thanks !

Posted

We do not download any additional libraries anymore. It is all done in the installer.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

Hmm that is wierd. Since what version ? As im trying with build 8xx and if i install minecraft right away, and use my modinstaller iam unable to launch the game with magic launcher. I have to launch the game at least once with the normal minecraft launcher.. When that has been done magic launcher has no problems, which was why i thought it downloaded some additional files when launched ..

Posted

We officially stopped doing that in 1.6 with the new Minecraft Launcher

I retro-added installers for 1.5.2 so that it doesnt need to download anything.

How and what EXACTLY ar you installing?

If you're using the universal 1.5.2 well ya it'll try to download libraires, hence why the Installer downloads them, AND a coremod that disables the normal downloading.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

Here is what i do. At this time minecraft is not installed. Im using Minecraft 1.6.2 and forge 9.10.0.848 or 9.10.0.871, doesnt rellay matter.

 

1. Download the minecraft launcher

2. Launch it and logon.

3. Edit the current profile to match the minecraft version i want to play.

4. Launch Minecraft to check that it works. Quit it again.

5. Run the forge installer 9.10.0.848.

6. Install some mods and configs and configure Magic Launcher.

7. Try to launch the game with Magic Launcher. Get following error:

 

 

*** MagicMinecraftLauncher 1.1.7 ***

  LCP: C:\Users\Daniel\AppData\Roaming\.minecraft\internal_mods\1.6.2ReiMinimap_v3.4_01.zip;C:\Users\Daniel\AppData\Roaming\.minecraft\internal_mods\Seasons_Mod_v1.11_LF.zip;C:\Users\Daniel\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.0.848\1.6.2-Forge9.10.0.848.jar;C:\Users\Daniel\AppData\Roaming\.minecraft\libraries\net\minecraftforge\minecraftforge\9.10.0.848\minecraftforge-9.10.0.848.jar;C:\Users\Daniel\AppData\Roaming\.minecraft\libraries\net\minecraft\launchwrapper\1.3\launchwrapper-1.3.jar;C:\Users\Daniel\AppData\Roaming\.minecraft\libraries\org\ow2\asm\asm-all\4.1\asm-all-4.1.jar;C:\Users\Daniel\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-library\2.10.2\scala-library-2.10.2.jar;C:\Users\Daniel\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-compiler\2.10.2\scala-compiler-2.10.2.jar;C:\Users\Daniel\AppData\Roaming\.minecraft\libraries\net\sf\jopt-simple\jopt-simple\4.5\jopt-simple-4.5.jar;C:\Users\Daniel\AppData\Roaming\.minecraft\libraries\lzma\lzma\0.0.1\lzma-0.0.1.jar;C:\Users\Daniel\AppData\Roaming\.minecraft\libraries\com\paulscode\codecjorbis\20101023\codecjorbis-20101023.jar;C:\Users\Daniel\AppData\Roaming\.minecraft\libraries\com\paulscode\codecwav\20101023\codecwav-20101023.jar;C:\Users\Daniel\AppData\Roaming\.minecraft\libraries\com\paulscode\libraryjavasound\20101123\libraryjavasound-20101123.jar;C:\Users\Daniel\AppData\Roaming\.minecraft\libraries\com\paulscode\librarylwjglopenal\20100824\librarylwjglopenal-20100824.jar;C:\Users\Daniel\AppData\Roaming\.minecraft\libraries\com\paulscode\soundsystem\20120107\soundsystem-20120107.jar;C:\Users\Daniel\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl\2.9.0\lwjgl-2.9.0.jar;C:\Users\Daniel\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl_util\2.9.0\lwjgl_util-2.9.0.jar;C:\Users\Daniel\AppData\Roaming\.minecraft\libraries\argo\argo\2.25_fixed\argo-2.25_fixed.jar;C:\Users\Daniel\AppData\Roaming\.minecraft\libraries\org\bouncycastle\bcprov-jdk15on\1.47\bcprov-jdk15on-1.47.jar;C:\Users\Daniel\AppData\Roaming\.minecraft\libraries\com\google\guava\guava\14.0\guava-14.0.jar;C:\Users\Daniel\AppData\Roaming\.minecraft\libraries\org\apache\commons\commons-lang3\3.1\commons-lang3-3.1.jar;C:\Users\Daniel\AppData\Roaming\.minecraft\libraries\commons-io\commons-io\2.4\commons-io-2.4.jar;C:\Users\Daniel\AppData\Roaming\.minecraft\libraries\net\java\jinput\jinput\2.0.5\jinput-2.0.5.jar;C:\Users\Daniel\AppData\Roaming\.minecraft\libraries\net\java\jutils\jutils\1.0.0\jutils-1.0.0.jar;C:\Users\Daniel\AppData\Roaming\.minecraft\libraries\com\google\code\gson\gson\2.2.2\gson-2.2.2.jar;C:\Users\Daniel\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl\2.9.0\lwjgl-2.9.0.jar;C:\Users\Daniel\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl_util\2.9.0\lwjgl_util-2.9.0.jar;C:\Users\Daniel\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl-platform\2.9.0\lwjgl-platform-2.9.0-natives-windows.jar;C:\Users\Daniel\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl\2.9.1-nightly-20130708-debug3\lwjgl-2.9.1-nightly-20130708-debug3.jar;C:\Users\Daniel\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl_util\2.9.1-nightly-20130708-debug3\lwjgl_util-2.9.1-nightly-20130708-debug3.jar;C:\Users\Daniel\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl-platform\2.9.1-nightly-20130708-debug3\lwjgl-platform-2.9.1-nightly-20130708-debug3-natives-windows.jar;C:\Users\Daniel\AppData\Roaming\.minecraft\libraries\net\java\jinput\jinput-platform\2.0.5\jinput-platform-2.0.5-natives-windows.jar

  MainClass: net.minecraft.launchwrapper.Launch

java.lang.ClassNotFoundException: net.minecraft.launchwrapper.Launch

    at java.net.URLClassLoader$1.run(Unknown Source)

    at java.net.URLClassLoader$1.run(Unknown Source)

    at java.security.AccessController.doPrivileged(Native Method)

    at java.net.URLClassLoader.findClass(Unknown Source)

    at java.lang.ClassLoader.loadClass(Unknown Source)

    at java.lang.ClassLoader.loadClass(Unknown Source)

    at magic.launcher.Launcher.main(Unknown Source)

 

 

8. Quit magic launcher and start up the original minecraft launcher

9. Edit profile again to use installed forge

10. Launch game with original Minecraft Launcher. Works fine.

11. Close game down again, and retry the launch with Magic Launcher

12. This time it works without problems, and without editing the profile in magic launcher.

 

Do you have any idea what might go wrong ?

Posted

This might have something to do with the problem.. I tried monitoring the .minecraft folder when launching the game in different ways to study what was happening .. Heres the result:

 

Launching Minecraft 1.6.2 without Forge

 

 

Modified (21-10-2013 20:05:12): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2\1.6.2.json

Modified (21-10-2013 20:05:13): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2\1.6.2-natives-11446784196056\OpenAL32.dll

New (21-10-2013 20:05:13): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2\1.6.2-natives-11446784196056\OpenAL64.dll

New (21-10-2013 20:05:13): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2\1.6.2-natives-11446784196056

New (21-10-2013 20:05:13): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2\1.6.2-natives-11446784196056\OpenAL32.dll

Modified (21-10-2013 20:05:13): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2\1.6.2-natives-11446784196056\OpenAL64.dll

New (21-10-2013 20:05:13): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2\1.6.2-natives-11446784196056\lwjgl.dll

New (21-10-2013 20:05:13): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2\1.6.2-natives-11446784196056\lwjgl64.dll

Modified (21-10-2013 20:05:13): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2\1.6.2-natives-11446784196056\lwjgl.dll

Modified (21-10-2013 20:05:13): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2\1.6.2-natives-11446784196056\lwjgl64.dll

New (21-10-2013 20:05:13): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2\1.6.2-natives-11446784196056\jinput-dx8.dll

Modified (21-10-2013 20:05:13): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2\1.6.2-natives-11446784196056\jinput-dx8.dll

New (21-10-2013 20:05:13): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2\1.6.2-natives-11446784196056\jinput-dx8_64.dll

Modified (21-10-2013 20:05:13): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2\1.6.2-natives-11446784196056\jinput-dx8_64.dll

New (21-10-2013 20:05:13): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2\1.6.2-natives-11446784196056\jinput-raw.dll

Modified (21-10-2013 20:05:13): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2\1.6.2-natives-11446784196056\jinput-raw.dll

New (21-10-2013 20:05:13): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2\1.6.2-natives-11446784196056\jinput-raw_64.dll

Modified (21-10-2013 20:05:13): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2\1.6.2-natives-11446784196056\jinput-raw_64.dll

New (21-10-2013 20:05:13): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2\1.6.2-natives-11446784196056\jinput-wintab.dll

Modified (21-10-2013 20:05:13): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2\1.6.2-natives-11446784196056\jinput-wintab.dll

New (21-10-2013 20:05:14): C:\Users\Administrator\AppData\Roaming\.minecraft\output-client.log.lck

Modified (21-10-2013 20:05:14): C:\Users\Administrator\AppData\Roaming\.minecraft\options.txt

Modified (21-10-2013 20:05:15): C:\Users\Administrator\AppData\Roaming\.minecraft\output-client.log

New (21-10-2013 20:05:15): C:\Users\Administrator\AppData\Roaming\.minecraft\stats\stats_pingponglee_unsent.tmp

Modified (21-10-2013 20:05:15): C:\Users\Administrator\AppData\Roaming\.minecraft\stats\stats_pingponglee_unsent.tmp

Deleted (21-10-2013 20:05:15): C:\Users\Administrator\AppData\Roaming\.minecraft\stats\stats_pingponglee_unsent.old

Renamed (21-10-2013 20:05:15): C:\Users\Administrator\AppData\Roaming\.minecraft\stats\stats_pingponglee_unsent.dat -> C:\Users\Administrator\AppData\Roaming\.minecraft\stats\stats_pingponglee_unsent.old

Renamed (21-10-2013 20:05:15): C:\Users\Administrator\AppData\Roaming\.minecraft\stats\stats_pingponglee_unsent.tmp -> C:\Users\Administrator\AppData\Roaming\.minecraft\stats\stats_pingponglee_unsent.dat

 

 

 

Launching Minecraft 1.6.2 with Forge (with Magic Launcher)

 

 

New (21-10-2013 20:13:33): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.0.848\1.6.2-Forge9.10.0.848-natives\OpenAL32.dll

New (21-10-2013 20:13:33): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.0.848\1.6.2-Forge9.10.0.848-natives

New (21-10-2013 20:13:33): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.0.848\1.6.2-Forge9.10.0.848-natives\OpenAL64.dll

Modified (21-10-2013 20:13:33): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.0.848\1.6.2-Forge9.10.0.848-natives\OpenAL32.dll

Modified (21-10-2013 20:13:33): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.0.848\1.6.2-Forge9.10.0.848-natives\OpenAL64.dll

New (21-10-2013 20:13:33): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.0.848\1.6.2-Forge9.10.0.848-natives\lwjgl.dll

Modified (21-10-2013 20:13:33): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.0.848\1.6.2-Forge9.10.0.848-natives\lwjgl.dll

New (21-10-2013 20:13:33): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.0.848\1.6.2-Forge9.10.0.848-natives\lwjgl64.dll

Modified (21-10-2013 20:13:33): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.0.848\1.6.2-Forge9.10.0.848-natives\lwjgl64.dll

New (21-10-2013 20:13:33): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.0.848\1.6.2-Forge9.10.0.848-natives\jinput-dx8.dll

Modified (21-10-2013 20:13:33): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.0.848\1.6.2-Forge9.10.0.848-natives\jinput-dx8.dll

New (21-10-2013 20:13:33): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.0.848\1.6.2-Forge9.10.0.848-natives\jinput-dx8_64.dll

Modified (21-10-2013 20:13:33): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.0.848\1.6.2-Forge9.10.0.848-natives\jinput-dx8_64.dll

New (21-10-2013 20:13:33): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.0.848\1.6.2-Forge9.10.0.848-natives\jinput-raw.dll

New (21-10-2013 20:13:33): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.0.848\1.6.2-Forge9.10.0.848-natives\jinput-raw_64.dll

Modified (21-10-2013 20:13:33): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.0.848\1.6.2-Forge9.10.0.848-natives\jinput-raw.dll

New (21-10-2013 20:13:33): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.0.848\1.6.2-Forge9.10.0.848-natives\jinput-wintab.dll

Modified (21-10-2013 20:13:33): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.0.848\1.6.2-Forge9.10.0.848-natives\jinput-raw_64.dll

Modified (21-10-2013 20:13:33): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.0.848\1.6.2-Forge9.10.0.848-natives\jinput-wintab.dll

 

 

 

Launching Minecraft 1.6.2 with Forge (normal minecraft launcher)

 

 

New (21-10-2013 20:15:40): C:\Users\Administrator\AppData\Roaming\.minecraft\launcher.pack

Modified (21-10-2013 20:15:40): C:\Users\Administrator\AppData\Roaming\.minecraft\launcher.pack

Modified (21-10-2013 20:15:40): C:\Users\Administrator\AppData\Roaming\.minecraft\launcher.jar

Deleted (21-10-2013 20:15:40): C:\Users\Administrator\AppData\Roaming\.minecraft\launcher.pack

Modified (21-10-2013 20:15:42): C:\Users\Administrator\AppData\Roaming\.minecraft\launcher_profiles.json

Modified (21-10-2013 20:15:50): C:\Users\Administrator\AppData\Roaming\.minecraft\launcher_profiles.json

Modified (21-10-2013 20:15:59): C:\Users\Administrator\AppData\Roaming\.minecraft\launcher_profiles.json

New (21-10-2013 20:16:00): C:\Users\Administrator\AppData\Roaming\.minecraft\libraries\lzma

New (21-10-2013 20:16:00): C:\Users\Administrator\AppData\Roaming\.minecraft\libraries\lzma\lzma

New (21-10-2013 20:16:00): C:\Users\Administrator\AppData\Roaming\.minecraft\libraries\lzma\lzma\0.0.1

New (21-10-2013 20:16:01): C:\Users\Administrator\AppData\Roaming\.minecraft\libraries\net\minecraft

New (21-10-2013 20:16:01): C:\Users\Administrator\AppData\Roaming\.minecraft\libraries\net\minecraft\launchwrapper

New (21-10-2013 20:16:01): C:\Users\Administrator\AppData\Roaming\.minecraft\libraries\net\minecraft\launchwrapper\1.3

New (21-10-2013 20:16:01): C:\Users\Administrator\AppData\Roaming\.minecraft\libraries\lzma\lzma\0.0.1\lzma-0.0.1.jar

Modified (21-10-2013 20:16:01): C:\Users\Administrator\AppData\Roaming\.minecraft\libraries\lzma\lzma\0.0.1\lzma-0.0.1.jar

New (21-10-2013 20:16:01): C:\Users\Administrator\AppData\Roaming\.minecraft\libraries\org\ow2

New (21-10-2013 20:16:01): C:\Users\Administrator\AppData\Roaming\.minecraft\libraries\org\ow2\asm

New (21-10-2013 20:16:01): C:\Users\Administrator\AppData\Roaming\.minecraft\libraries\org\ow2\asm\asm-all

New (21-10-2013 20:16:01): C:\Users\Administrator\AppData\Roaming\.minecraft\libraries\org\ow2\asm\asm-all\4.1

New (21-10-2013 20:16:01): C:\Users\Administrator\AppData\Roaming\.minecraft\libraries\org\ow2\asm\asm-all\4.1\asm-all-4.1.jar

New (21-10-2013 20:16:02): C:\Users\Administrator\AppData\Roaming\.minecraft\libraries\net\minecraft\launchwrapper\1.3\launchwrapper-1.3.jar

Modified (21-10-2013 20:16:02): C:\Users\Administrator\AppData\Roaming\.minecraft\libraries\net\minecraft\launchwrapper\1.3\launchwrapper-1.3.jar

Modified (21-10-2013 20:16:02): C:\Users\Administrator\AppData\Roaming\.minecraft\libraries\org\ow2\asm\asm-all\4.1\asm-all-4.1.jar

New (21-10-2013 20:16:02): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.0.848\1.6.2-Forge9.10.0.848-natives-12095620121913

New (21-10-2013 20:16:02): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.0.848\1.6.2-Forge9.10.0.848-natives-12095620121913\OpenAL32.dll

New (21-10-2013 20:16:02): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.0.848\1.6.2-Forge9.10.0.848-natives-12095620121913\OpenAL64.dll

Modified (21-10-2013 20:16:02): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.0.848\1.6.2-Forge9.10.0.848-natives-12095620121913\OpenAL32.dll

Modified (21-10-2013 20:16:02): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.0.848\1.6.2-Forge9.10.0.848-natives-12095620121913\OpenAL64.dll

New (21-10-2013 20:16:02): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.0.848\1.6.2-Forge9.10.0.848-natives-12095620121913\lwjgl.dll

Modified (21-10-2013 20:16:02): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.0.848\1.6.2-Forge9.10.0.848-natives-12095620121913\lwjgl.dll

New (21-10-2013 20:16:02): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.0.848\1.6.2-Forge9.10.0.848-natives-12095620121913\lwjgl64.dll

Modified (21-10-2013 20:16:02): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.0.848\1.6.2-Forge9.10.0.848-natives-12095620121913\lwjgl64.dll

New (21-10-2013 20:16:02): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.0.848\1.6.2-Forge9.10.0.848-natives-12095620121913\jinput-dx8.dll

Modified (21-10-2013 20:16:02): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.0.848\1.6.2-Forge9.10.0.848-natives-12095620121913\jinput-dx8.dll

New (21-10-2013 20:16:02): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.0.848\1.6.2-Forge9.10.0.848-natives-12095620121913\jinput-dx8_64.dll

Modified (21-10-2013 20:16:02): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.0.848\1.6.2-Forge9.10.0.848-natives-12095620121913\jinput-dx8_64.dll

New (21-10-2013 20:16:02): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.0.848\1.6.2-Forge9.10.0.848-natives-12095620121913\jinput-raw.dll

Modified (21-10-2013 20:16:02): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.0.848\1.6.2-Forge9.10.0.848-natives-12095620121913\jinput-raw.dll

New (21-10-2013 20:16:02): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.0.848\1.6.2-Forge9.10.0.848-natives-12095620121913\jinput-raw_64.dll

Modified (21-10-2013 20:16:02): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.0.848\1.6.2-Forge9.10.0.848-natives-12095620121913\jinput-raw_64.dll

New (21-10-2013 20:16:02): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.0.848\1.6.2-Forge9.10.0.848-natives-12095620121913\jinput-wintab.dll

Modified (21-10-2013 20:16:02): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.0.848\1.6.2-Forge9.10.0.848-natives-12095620121913\jinput-wintab.dll

New (21-10-2013 20:16:02): C:\Users\Administrator\AppData\Roaming\.minecraft\ForgeModLoader-client-0.log.lck

New (21-10-2013 20:16:02): C:\Users\Administrator\AppData\Roaming\.minecraft\ForgeModLoader-client-0.log

Modified (21-10-2013 20:16:03): C:\Users\Administrator\AppData\Roaming\.minecraft\ForgeModLoader-client-0.log

New (21-10-2013 20:16:05): C:\Users\Administrator\AppData\Roaming\.minecraft\output-client.log.lck

Modified (21-10-2013 20:16:06): C:\Users\Administrator\AppData\Roaming\.minecraft\ForgeModLoader-client-0.log

Modified (21-10-2013 20:16:06): C:\Users\Administrator\AppData\Roaming\.minecraft\output-client.log

Modified (21-10-2013 20:16:09): C:\Users\Administrator\AppData\Roaming\.minecraft\config\DamageIndicatorsMod.cfg

Modified (21-10-2013 20:16:09): C:\Users\Administrator\AppData\Roaming\.minecraft\config\BattleTowers.cfg

Modified (21-10-2013 20:16:13): C:\Users\Administrator\AppData\Roaming\.minecraft\config\MoCreatures\Creatures\MoCreatures.cfg

Modified (21-10-2013 20:16:13): C:\Users\Administrator\AppData\Roaming\.minecraft\config\MoCreatures\Creatures\Vanilla.cfg

Modified (21-10-2013 20:16:13): C:\Users\Administrator\AppData\Roaming\.minecraft\config\MoCreatures\MoCGlobal.cfg

Modified (21-10-2013 20:16:13): C:\Users\Administrator\AppData\Roaming\.minecraft\config\cfm.cfg

Modified (21-10-2013 20:16:13): C:\Users\Administrator\AppData\Roaming\.minecraft\config\Metallurgy3\MetallurgyCore.cfg

Modified (21-10-2013 20:16:13): C:\Users\Administrator\AppData\Roaming\.minecraft\config\Metallurgy3\MetallurgyBase.cfg

Modified (21-10-2013 20:16:13): C:\Users\Administrator\AppData\Roaming\.minecraft\config\Metallurgy3\MetallurgyPrecious.cfg

Modified (21-10-2013 20:16:13): C:\Users\Administrator\AppData\Roaming\.minecraft\config\Metallurgy3\MetallurgyNether.cfg

Modified (21-10-2013 20:16:13): C:\Users\Administrator\AppData\Roaming\.minecraft\config\Metallurgy3\MetallurgyFantasy.cfg

Modified (21-10-2013 20:16:13): C:\Users\Administrator\AppData\Roaming\.minecraft\config\Metallurgy3\MetallurgyEnder.cfg

Modified (21-10-2013 20:16:13): C:\Users\Administrator\AppData\Roaming\.minecraft\config\Metallurgy3\MetallurgyUtility.cfg

Modified (21-10-2013 20:16:13): C:\Users\Administrator\AppData\Roaming\.minecraft\config\Metallurgy3\MetallurgyMachines.cfg

Modified (21-10-2013 20:16:14): C:\Users\Administrator\AppData\Roaming\.minecraft\config\Metallurgy3\MetallurgyVanilla.cfg

Modified (21-10-2013 20:16:14): C:\Users\Administrator\AppData\Roaming\.minecraft\config\PaintersFlowerPot.cfg

 

 

 

As seen there something is created with the normal launcher which is not being done with magic launcher. It might not be forge that is doing it, but the normal minecraft launcher it self.

Posted

Interesting those logs make it appear that the installer is not downloading the launcher wrapper, and lzma libraries.

Which it should be and does on our end.

Try running the installer from the command line and see if it spits anything out.

Either way, Magic launcher should add download support :P Verify that the libraries are there.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

Yeah i've tried running the forge installer from the command line, but im having some trouble with that too actually..  Nothing happens when i try the command line switches from the wiki:

 

forgeCmd.jpg

 

Am i doing that wrong ?

 

But the launcher wrapper and lzma libraries are downloading if i use the vanilla launcher .. Its just not working with magic launcher, so i guess its magic launcher that doesnt support this. If i just run the vanilla launcher after i have installed forge, once it works fine with magic launcher afterwards.. Maybe i should try contacting the devs of Magic Launcher.. But from what you are telling me. those files should be installed with the forge installer, and not downloaded on first run?

Posted

run it without any options.

extract will extract it, downloading nothing.

help *should* show the help but meh

But ya just run it without any options and click 'install client'

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

Tried it from command line without any options, both the 848 and 871 builds, but it wont work. The vanlila launcher still downloads some files

 

 

 

Modified (21-10-2013 21:55:42): C:\Users\Administrator\AppData\Roaming\.minecraft\launcher_profiles.json

Modified (21-10-2013 21:55:48): C:\Users\Administrator\AppData\Roaming\.minecraft\launcher_profiles.json

New (21-10-2013 21:55:49): C:\Users\Administrator\AppData\Roaming\.minecraft\libraries\org\ow2

New (21-10-2013 21:55:49): C:\Users\Administrator\AppData\Roaming\.minecraft\libraries\org\ow2\asm

New (21-10-2013 21:55:49): C:\Users\Administrator\AppData\Roaming\.minecraft\libraries\org\ow2\asm\asm-all\4.1

New (21-10-2013 21:55:49): C:\Users\Administrator\AppData\Roaming\.minecraft\libraries\org\ow2\asm\asm-all

New (21-10-2013 21:55:49): C:\Users\Administrator\AppData\Roaming\.minecraft\libraries\net\minecraft\launchwrapper

New (21-10-2013 21:55:49): C:\Users\Administrator\AppData\Roaming\.minecraft\libraries\net\minecraft

New (21-10-2013 21:55:49): C:\Users\Administrator\AppData\Roaming\.minecraft\libraries\net\minecraft\launchwrapper\1.3

New (21-10-2013 21:55:50): C:\Users\Administrator\AppData\Roaming\.minecraft\libraries\org\ow2\asm\asm-all\4.1\asm-all-4.1.jar

New (21-10-2013 21:55:50): C:\Users\Administrator\AppData\Roaming\.minecraft\libraries\lzma\lzma

New (21-10-2013 21:55:50): C:\Users\Administrator\AppData\Roaming\.minecraft\libraries\lzma\lzma\0.0.1

New (21-10-2013 21:55:50): C:\Users\Administrator\AppData\Roaming\.minecraft\libraries\lzma

New (21-10-2013 21:55:50): C:\Users\Administrator\AppData\Roaming\.minecraft\libraries\lzma\lzma\0.0.1\lzma-0.0.1.jar

Modified (21-10-2013 21:55:50): C:\Users\Administrator\AppData\Roaming\.minecraft\libraries\lzma\lzma\0.0.1\lzma-0.0.1.jar

New (21-10-2013 21:55:50): C:\Users\Administrator\AppData\Roaming\.minecraft\libraries\net\minecraft\launchwrapper\1.3\launchwrapper-1.3.jar

Modified (21-10-2013 21:55:50): C:\Users\Administrator\AppData\Roaming\.minecraft\libraries\net\minecraft\launchwrapper\1.3\launchwrapper-1.3.jar

Modified (21-10-2013 21:55:50): C:\Users\Administrator\AppData\Roaming\.minecraft\libraries\org\ow2\asm\asm-all\4.1\asm-all-4.1.jar

New (21-10-2013 21:55:50): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.1.871\1.6.2-Forge9.10.1.871-natives-18083826606332\OpenAL32.dll

New (21-10-2013 21:55:50): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.1.871\1.6.2-Forge9.10.1.871-natives-18083826606332

New (21-10-2013 21:55:50): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.1.871\1.6.2-Forge9.10.1.871-natives-18083826606332\OpenAL64.dll

Modified (21-10-2013 21:55:50): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.1.871\1.6.2-Forge9.10.1.871-natives-18083826606332\OpenAL32.dll

New (21-10-2013 21:55:50): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.1.871\1.6.2-Forge9.10.1.871-natives-18083826606332\lwjgl.dll

Modified (21-10-2013 21:55:50): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.1.871\1.6.2-Forge9.10.1.871-natives-18083826606332\lwjgl.dll

New (21-10-2013 21:55:50): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.1.871\1.6.2-Forge9.10.1.871-natives-18083826606332\lwjgl64.dll

Modified (21-10-2013 21:55:50): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.1.871\1.6.2-Forge9.10.1.871-natives-18083826606332\lwjgl64.dll

New (21-10-2013 21:55:50): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.1.871\1.6.2-Forge9.10.1.871-natives-18083826606332\jinput-dx8_64.dll

Modified (21-10-2013 21:55:50): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.1.871\1.6.2-Forge9.10.1.871-natives-18083826606332\jinput-dx8.dll

Modified (21-10-2013 21:55:50): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.1.871\1.6.2-Forge9.10.1.871-natives-18083826606332\OpenAL64.dll

Modified (21-10-2013 21:55:50): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.1.871\1.6.2-Forge9.10.1.871-natives-18083826606332\jinput-dx8_64.dll

New (21-10-2013 21:55:50): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.1.871\1.6.2-Forge9.10.1.871-natives-18083826606332\jinput-raw.dll

Modified (21-10-2013 21:55:50): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.1.871\1.6.2-Forge9.10.1.871-natives-18083826606332\jinput-raw.dll

New (21-10-2013 21:55:50): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.1.871\1.6.2-Forge9.10.1.871-natives-18083826606332\jinput-dx8.dll

New (21-10-2013 21:55:50): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.1.871\1.6.2-Forge9.10.1.871-natives-18083826606332\jinput-wintab.dll

Modified (21-10-2013 21:55:50): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.1.871\1.6.2-Forge9.10.1.871-natives-18083826606332\jinput-wintab.dll

Modified (21-10-2013 21:55:50): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.1.871\1.6.2-Forge9.10.1.871-natives-18083826606332\jinput-raw_64.dll

New (21-10-2013 21:55:50): C:\Users\Administrator\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.1.871\1.6.2-Forge9.10.1.871-natives-18083826606332\jinput-raw_64.dll

New (21-10-2013 21:55:51): C:\Users\Administrator\AppData\Roaming\.minecraft\ForgeModLoader-client-0.log.lck

New (21-10-2013 21:55:51): C:\Users\Administrator\AppData\Roaming\.minecraft\ForgeModLoader-client-0.log

Modified (21-10-2013 21:55:52): C:\Users\Administrator\AppData\Roaming\.minecraft\ForgeModLoader-client-0.log

New (21-10-2013 21:55:53): C:\Users\Administrator\AppData\Roaming\.minecraft\output-client.log.lck

 

 

 

Its actually not a problem that those files are downloaded, the problem is that magic launcher doesnt do this by it self ..

Posted

And the installer prints NOTHING to the console while it runs? Seems odd considering I made it print shit...

But anyways, I'll leave this to a MagicLauncher bug. Our installer downloads needed files and if that fails the launcher should garentee the files exist.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

Nope nothing was printed on the console. It is strange as the command lines doesnt work either, so something is up ( maybe its my windows or something ).

 

A temporarily solution could be if i included the files in the installation program manually, but since im making this dynamic and customizeable i need to know if these files are the same for each version of forge or if they are changed for each forge version ?

 

EDIT: Hmm.. Do you know of any parameters i can parse to minecraft that checks if all files are there ? Currently im using these parameters : "-Dfml.ignorePatchDiscrepancies=true -Dfml.ignoreInvalidMinecraftCertificates=true" but maybe i need to write one that checks if those needed files are there..

Posted

LexManos - could you maybe provide me the urls and maybe even a list of files? Because then i could just code it into my launcher my self. Would be awesome..

Posted

Do you by any chance know if those links are static or they change from version to version ? In other words, do i have to go read the links in each version or can i just hardcode the url inside my application ?

Posted

Should be static, unless they have changes made to the libraries.

I do recommend, instead, reading the forge version json off the .minecraft, that way you'll always have the latest. A bit like what magic launcher does.

Read the EAQ before posting! OR ELSE!

 

This isn't building better software, its trying to grab a place in the commit list of a highly visible github project.

 

www.forgeessentials.com

 

Don't PM me, I don't check this account unless I have to.

Posted

Good, then ill just have to figure out a way to read it with C# and download the file.. :D

 

EDIT: Can you explain to me how the lines are supposed to be read?

Like a line that says: "name": "org.scala-lang:scala-compiler:2.10.2",

It "seems" that the file is downloaded from somewhere i cant find, and then stored like the the above but so: "org\scala-lang\scala-compiler\2.10.2".. The dots in the line above is replaced with backslashes.. but what does the colons mean ?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Version 1.19 - Forge 41.0.63 I want to create a wolf entity that I can ride, so far it seems to be working, but the problem is that when I get on the wolf, I can’t control it. I then discovered that the issue is that the server doesn’t detect that I’m riding the wolf, so I’m struggling with synchronization. However, it seems to not be working properly. As I understand it, the server receives the packet but doesn’t register it correctly. I’m a bit new to Java, and I’ll try to provide all the relevant code and prints *The comments and prints are translated by chatgpt since they were originally in Spanish* Thank you very much in advance No player is mounted, or the passenger is not a player. No player is mounted, or the passenger is not a player. No player is mounted, or the passenger is not a player. No player is mounted, or the passenger is not a player. No player is mounted, or the passenger is not a player. MountableWolfEntity package com.vals.valscraft.entity; import com.vals.valscraft.network.MountSyncPacket; import com.vals.valscraft.network.NetworkHandler; import net.minecraft.client.Minecraft; import net.minecraft.network.syncher.EntityDataAccessor; import net.minecraft.network.syncher.EntityDataSerializers; import net.minecraft.network.syncher.SynchedEntityData; import net.minecraft.server.MinecraftServer; import net.minecraft.server.level.ServerPlayer; import net.minecraft.world.entity.EntityType; import net.minecraft.world.entity.Mob; import net.minecraft.world.entity.ai.attributes.AttributeSupplier; import net.minecraft.world.entity.ai.attributes.Attributes; import net.minecraft.world.entity.animal.Wolf; import net.minecraft.world.entity.player.Player; import net.minecraft.world.entity.Entity; import net.minecraft.world.InteractionHand; import net.minecraft.world.InteractionResult; import net.minecraft.world.item.ItemStack; import net.minecraft.world.item.Items; import net.minecraft.world.level.Level; import net.minecraft.world.phys.Vec3; import net.minecraftforge.event.TickEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.network.PacketDistributor; public class MountableWolfEntity extends Wolf { private boolean hasSaddle; private static final EntityDataAccessor<Byte> DATA_ID_FLAGS = SynchedEntityData.defineId(MountableWolfEntity.class, EntityDataSerializers.BYTE); public MountableWolfEntity(EntityType<? extends Wolf> type, Level level) { super(type, level); this.hasSaddle = false; } @Override protected void defineSynchedData() { super.defineSynchedData(); this.entityData.define(DATA_ID_FLAGS, (byte)0); } public static AttributeSupplier.Builder createAttributes() { return Wolf.createAttributes() .add(Attributes.MAX_HEALTH, 20.0) .add(Attributes.MOVEMENT_SPEED, 0.3); } @Override public InteractionResult mobInteract(Player player, InteractionHand hand) { ItemStack itemstack = player.getItemInHand(hand); if (itemstack.getItem() == Items.SADDLE && !this.hasSaddle()) { if (!player.isCreative()) { itemstack.shrink(1); } this.setSaddle(true); return InteractionResult.SUCCESS; } else if (!level.isClientSide && this.hasSaddle()) { player.startRiding(this); MountSyncPacket packet = new MountSyncPacket(true); // 'true' means the player is mounted NetworkHandler.CHANNEL.sendToServer(packet); // Ensure the server handles the packet return InteractionResult.SUCCESS; } return InteractionResult.PASS; } @Override public void travel(Vec3 travelVector) { if (this.isVehicle() && this.getControllingPassenger() instanceof Player) { System.out.println("The wolf has a passenger."); System.out.println("The passenger is a player."); Player player = (Player) this.getControllingPassenger(); // Ensure the player is the controller this.setYRot(player.getYRot()); this.yRotO = this.getYRot(); this.setXRot(player.getXRot() * 0.5F); this.setRot(this.getYRot(), this.getXRot()); this.yBodyRot = this.getYRot(); this.yHeadRot = this.yBodyRot; float forward = player.zza; float strafe = player.xxa; if (forward <= 0.0F) { forward *= 0.25F; } this.flyingSpeed = this.getSpeed() * 0.1F; this.setSpeed((float) this.getAttributeValue(Attributes.MOVEMENT_SPEED) * 1.5F); this.setDeltaMovement(new Vec3(strafe, travelVector.y, forward).scale(this.getSpeed())); this.calculateEntityAnimation(this, false); } else { // The wolf does not have a passenger or the passenger is not a player System.out.println("No player is mounted, or the passenger is not a player."); super.travel(travelVector); } } public boolean hasSaddle() { return this.hasSaddle; } public void setSaddle(boolean hasSaddle) { this.hasSaddle = hasSaddle; } @Override protected void dropEquipment() { super.dropEquipment(); if (this.hasSaddle()) { this.spawnAtLocation(Items.SADDLE); this.setSaddle(false); } } @SubscribeEvent public static void onServerTick(TickEvent.ServerTickEvent event) { if (event.phase == TickEvent.Phase.START) { MinecraftServer server = net.minecraftforge.server.ServerLifecycleHooks.getCurrentServer(); if (server != null) { for (ServerPlayer player : server.getPlayerList().getPlayers()) { if (player.isPassenger() && player.getVehicle() instanceof MountableWolfEntity) { MountableWolfEntity wolf = (MountableWolfEntity) player.getVehicle(); System.out.println("Tick: " + player.getName().getString() + " is correctly mounted on " + wolf); } } } } } private boolean lastMountedState = false; @Override public void tick() { super.tick(); if (!this.level.isClientSide) { // Only on the server boolean isMounted = this.isVehicle() && this.getControllingPassenger() instanceof Player; // Only print if the state changed if (isMounted != lastMountedState) { if (isMounted) { Player player = (Player) this.getControllingPassenger(); // Verify the passenger is a player System.out.println("Server: Player " + player.getName().getString() + " is now mounted."); } else { System.out.println("Server: The wolf no longer has a passenger."); } lastMountedState = isMounted; } } } @Override public void addPassenger(Entity passenger) { super.addPassenger(passenger); if (passenger instanceof Player) { Player player = (Player) passenger; if (!this.level.isClientSide && player instanceof ServerPlayer) { // Send the packet to the server to indicate the player is mounted NetworkHandler.CHANNEL.send(PacketDistributor.PLAYER.with(() -> (ServerPlayer) player), new MountSyncPacket(true)); } } } @Override public void removePassenger(Entity passenger) { super.removePassenger(passenger); if (passenger instanceof Player) { Player player = (Player) passenger; if (!this.level.isClientSide && player instanceof ServerPlayer) { // Send the packet to the server to indicate the player is no longer mounted NetworkHandler.CHANNEL.send(PacketDistributor.PLAYER.with(() -> (ServerPlayer) player), new MountSyncPacket(false)); } } } @Override public boolean isControlledByLocalInstance() { Entity entity = this.getControllingPassenger(); return entity instanceof Player; } @Override public void positionRider(Entity passenger) { if (this.hasPassenger(passenger)) { double xOffset = Math.cos(Math.toRadians(this.getYRot() + 90)) * 0.4; double zOffset = Math.sin(Math.toRadians(this.getYRot() + 90)) * 0.4; passenger.setPos(this.getX() + xOffset, this.getY() + this.getPassengersRidingOffset() + passenger.getMyRidingOffset(), this.getZ() + zOffset); } } } MountSyncPacket package com.vals.valscraft.network; import com.vals.valscraft.entity.MountableWolfEntity; import net.minecraft.network.FriendlyByteBuf; import net.minecraft.server.level.ServerLevel; import net.minecraft.server.level.ServerPlayer; import net.minecraft.world.entity.Entity; import net.minecraft.world.entity.player.Player; import net.minecraftforge.network.NetworkEvent; import java.util.function.Supplier; public class MountSyncPacket { private final boolean isMounted; public MountSyncPacket(boolean isMounted) { this.isMounted = isMounted; } public void encode(FriendlyByteBuf buffer) { buffer.writeBoolean(isMounted); } public static MountSyncPacket decode(FriendlyByteBuf buffer) { return new MountSyncPacket(buffer.readBoolean()); } public void handle(NetworkEvent.Context context) { context.enqueueWork(() -> { ServerPlayer player = context.getSender(); // Get the player from the context if (player != null) { // Verifies if the player has dismounted if (!isMounted) { Entity vehicle = player.getVehicle(); if (vehicle instanceof MountableWolfEntity wolf) { // Logic to remove the player as a passenger wolf.removePassenger(player); System.out.println("Server: Player " + player.getName().getString() + " is no longer mounted."); } } } }); context.setPacketHandled(true); // Marks the packet as handled } } networkHandler package com.vals.valscraft.network; import com.vals.valscraft.valscraft; import net.minecraft.resources.ResourceLocation; import net.minecraftforge.network.NetworkRegistry; import net.minecraftforge.network.simple.SimpleChannel; import net.minecraftforge.network.NetworkEvent; import java.util.function.Supplier; public class NetworkHandler { private static final String PROTOCOL_VERSION = "1"; public static final SimpleChannel CHANNEL = NetworkRegistry.newSimpleChannel( new ResourceLocation(valscraft.MODID, "main"), () -> PROTOCOL_VERSION, PROTOCOL_VERSION::equals, PROTOCOL_VERSION::equals ); public static void init() { int packetId = 0; // Register the mount synchronization packet CHANNEL.registerMessage( packetId++, MountSyncPacket.class, MountSyncPacket::encode, MountSyncPacket::decode, (msg, context) -> msg.handle(context.get()) // Get the context with context.get() ); } }  
    • Do you use features of inventory profiles next (ipnext) or is there a change without it?
    • Remove rubidium - you are already using embeddium, which is a fork of rubidium
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.