about tweaks
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
info:tweak [2014/12/17 16:56] mumfrey |
info:tweak [2014/12/17 17:31] mumfrey |
||
---|---|---|---|
Line 27: | Line 27: | ||
Whilst it is incredibly powerful, the Tweak System itself is actually incredibly simple. It leverages a library called [LaunchWrapper](https://github.com/Mojang/LegacyLauncher) originally written by [[people:cpw]] for Mojang in order to allow them to run old versions of Minecraft inside the new launcher. To use **Tweak**s, **LaunchWrapper** is simply added to the game environment and the game's **main class** is replaced with **LaunchWrapper's main class**. Tweak classes can then simply be specified on the command line using ''--tweakClass'' arguments. | Whilst it is incredibly powerful, the Tweak System itself is actually incredibly simple. It leverages a library called [LaunchWrapper](https://github.com/Mojang/LegacyLauncher) originally written by [[people:cpw]] for Mojang in order to allow them to run old versions of Minecraft inside the new launcher. To use **Tweak**s, **LaunchWrapper** is simply added to the game environment and the game's **main class** is replaced with **LaunchWrapper's main class**. Tweak classes can then simply be specified on the command line using ''--tweakClass'' arguments. | ||
- | |||
Multiple Tweaks and CascadedTweakers | Multiple Tweaks and CascadedTweakers | ||
==================================== | ==================================== | ||
+ | Since the original aim of *LaunchWrapper* was to allow old versions of the game to be run in the new launcher, there was no provision made to allow more than one **Tweak** to be specified at a time. In version 1.7 of *LaunchWrapper*, [[people:cpw]] added the ability to specify multiple tweaks, but prior to that a contract of '*cascading*' tweakers was agreed between [[people:cpw]] and [[people:mumfrey|myself]] to allow whichever tweaker was loaded first to load the other. | ||
+ | |||
+ | This is why in newer versions of Minecraft you can simply specify multiple ''--tweakClass'' arguments but before that it was necessary to specify the first tweak using ''--tweakClass'' and additional tweaks using ''--cascadedTweaks'' | ||