![]() Hint: The global Item class of the ScriptAPI proves to be very useful here to create items with special NBT data. It can be accessed by opening the ClickGUI (bound to RSHIFT by default) and then clicking the blue button with brush on it in the lower left corner of the screen. module.on(eventName, callback) Registers the use of an event with the client. The ScriptModule class has a method for this purpose. ![]() Each event used has to be registered with the client along with a handler function that will be called by the client whenever the event occurs. To accomplish this, the client provides a unique feature called CustomHUD. Script modules also use LiquidBounces event system. Name under which the tab will be shown in the inventory. LiquidBounce allows you to configure the HUD of the client entirely according to your preferences. The following table describes the properties of the options object. It creates a new instance of ScriptTab and registers it with the client. Download LiquidBounce for MCPE MOD APK 2023 Unlimited money latest version and enjoy an immersive mod experience. The registerTab method allows the addition of a separate tab to the secondary inventory, which can contain special items, including items with unique NBT data. Creating a tab script.registerTab(options) With the ScriptAPI it is also possible to add additional tabs with your own items. It contains useful items, but also items that can be used to exploit in-game bugs. LiquidBounce has a secondary inventory that can be accessed in creative mode. Registering a module is done as follows: script.Contribute to this page on GitHub ScriptAPI inventory tabs The mandatory information consists of a name, a description and a category under which the module should be displayed in the client's ClickGUI / TabGUI.Ī list of all information that can be specified can be found here. When registering a new module, certain information has to be specified, which is then shown in LiquidBounce's GUIs. The following information has to be specified: The name of the script, the current version of the script, and an array of people who contributed to the script, the authors. In the following the script is registered with the client. New projects should always use the latest API version. If this comment is missing, the script is executed with support for the first API version. Liquid Bounce Lyrics: I found the lapis / 30 enchants on me, it looks like Im hacking / Walking round with 30 oz on me cant be lacking / Pop out with that. In the first line of the main file of each project the targeted API version has to be specified. Therefore, in many cases it is highly recommended to add configuration options to the module, which the user can adjust according to his needs. ![]() In the following we will write a simple script that will display a message in the chat every time it is enabled. Often a module must be adapted to different situations. ![]() Thus, it is also possible to access Minecraft classes, methods and fields very easily, which is why the API should immediately look familiar to anyone who has ever worked with MCP.įirst create a file for your script with the extension. Walgreens coupons are paperless online Clip coupons on & redeem in store or online for savings and rewards with your myWalgreens account. The outstanding feature of this engine is that (almost) all Java features can be accessed directly. Nashorn compiles JavaScript to regular Java bytecode and subsequently loads it dynamically into the Java runtime. LiquidBounce's script API is based on Nashorn, an ECMAScript (in the following referred to as JavaScript) engine written entirely in Java. The latter is especially convenient if the project consists of multiple files. The import button can import single JavaScript files as well as zip archives. Additionally, it allows the user to import additional scripts and to delete already installed ones. The ScriptManager serves as an overview of all currently installed scripts, their authors and installed version. However, if you need the old documentation, you can still find it in this GitHub repository. The documentation on this website only refers to the latest version of the script API, which was introduced in LiquidBounce b72.
0 Comments
Leave a Reply. |