Skip to content

v2.2.0: 1.21.20/1.21.21 Version Update

Compare
Choose a tag to compare
@Plextora Plextora released this 23 Aug 21:14
· 12 commits to main since this release

Changelog:

  • Added 1.21.20/1.21.21 version support
  • Added No Hurt Cam
  • Added RGB support to every color setting
  • Re-addded Minimal View Bobbing (might be unstable)
  • Added downloading and installing plugins directly from the website

Scripting changelog:

  • Added event priorities (that are also cross-plugin) when using client events
client.on("receive-chat", ev => {
  clientMessage("called last");
});

client.on("receive-chat", ev => {
  clientMessage("called first");
}, 100 /* priority number */);

client.on("receive-chat", ev => {
  clientMessage("called second");
}, 1 /* priority number */);
  • Entity.getFlag(int flag): boolean

  • Entity.setFlag(int flag, boolean state): void (Experimental and restricted, this can set things like sprinting, can probably make you fly too)

  • Fixed Player.getItem

  • Scripting takes priority over receive-chat
    Here is a list of flags you can use for the flag parameter: https://github.com/LiteLDev/LeviLamina/blob/518109e927c44ec4293921b39fbc893238d1ec46/src/mc/entity/utilities/ActorFlags.h#L4-L126

  • Fixed Module.registerColorSetting requiring string as the 4th parameter

  • Added ClickEvent.wheelDelta (typically -120 for scrolling down and 120 for scrolling up)

  • Added TextModule.getLastText(): string. This allows you to get the post-processed text result of any text module. for example, getModuleByName("FPSDisplay").getLastText() returns 'FPS: 69' (this will depend on the user defined prefix/suffix)

  • Modified ModuleManager.getModuleByName() to return either Module, HudModule, or TextModule correspondingly.

  • Modified ModuleManager.forEach to provide either Module, HudModule, or TextModule correspondingly.