![]() command, instance of the command to be registered.Registers the given command instance with the CommandManager. If a command with the given name is not found, null is returned. Returns an instance of Command with the given name. command, string containing the command to be executed.Įxample: commandManager.executeCommands(".killaura range 3.4") commandManager.getCommand(name).Method summary commandManager.executeCommands(command) Again, only the most important methods are listed here, all of them can be viewed here. For this reason, similar methods are also defined on it. Similar to the ModuleManager, the CommandManager takes over the task of managing commands. module, instance of the module to be unregistered.module, instance of the module to be registered.Usually the script API does this automatically. Registers the given module instance with the ModuleManager. Returns a List of all registered modules. ModuleManager.getModule("Scaffold").getValue("AutoBlock").get() moduleManager.getModule() Getting the value of a setting defined on another module ModuleManager.getModule("KillAura").getValue("Range").set(3.4) If a module with the given name is not found, null is returned.Įxample: // Changing the value of a setting defined on another module Returns the instance of Module with the given name. Method summary moduleManager.getModule(name) To view all methods, please refer to the source code of the class on Github. Only the most important methods are listed here. Furthermore it is possible to retrieve instances of modules to be able to perform further actions on them. With it new modules can be registered and already existing ones can be unregistered. The ModuleManager is, as the name suggests, responsible for managing all registered modules. Instead of listing all available methods and fields here, we refer to the Minecraft JavaDocs, which can also be found online here. It can be used to do almost any manipulation desired to the game. If you have experience in one or more of these fields, we would highly appreciate your support.Mc contains the Minecraft instance ( Minecraft.getMinecraft()) It is the most important instance in every script. Currently, our main goals are the following: So if you want to support us, feel free to make changes to LiquidBounce's source code and submit a pull request. If you want to learn more about it, check out its Documentation. This way, we do not have to ship Mojang's copyrighted code. LiquidBounce is using it to inject its code into the Minecraft client. Mixins can be used to modify classes at runtime before they are loaded. Select either the Forge or Vanilla run configuration.Open the folder as a Gradle project in your IDE.For Eclipse: gradlew -debug setupDevWorkspace eclipse build.For IntelliJ: gradlew -debug setupDevWorkspace idea genIntellijRuns build.Depending on which IDE you are using execute either of the following commands:.Instructions can be found on Gradle's website. LiquidBounce is using Gradle, so make sure that it is installed properly. ![]() Your modified application must also be licensed under the GPLĭo the above and share your source code with everyone just like we do.This means you are not allowed to use code from this project (even partially) in a closed-source (or even obfuscated) application. You must disclose the source code of your modified work and the source code you took from this project.This project entirely or partially for free and even commercially. This is by no means legal advice nor legally binding. Such code is not covered by the GPL license.įor those who are unfamiliar with the license, here is a summary of its main points. ![]() During the development and compilation process, additional source code may be used to which we have obtained no rights. This does only apply for source code located directly in this clean repository. This project is subject to the GNU General Public License v3.0. If you notice any bugs or missing features, you can let us know by opening an issue here. A free mixin-based injection hacked-client for Minecraft using Minecraft Forge, supporting versions 1.12.2 and 1.8.9, and soon will support 1.16.3.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |