Skip to content

Commit 2837f82

Browse files
committed
Merge remote-tracking branch 'origin/1.21.11' into fix/freecam-loading-screen
# Conflicts: # src/main/java/com/lambda/mixin/network/ClientPlayNetworkHandlerMixin.java # src/main/kotlin/com/lambda/module/modules/player/Freecam.kt # src/main/kotlin/com/lambda/module/modules/render/Freecam.kt
2 parents ebef165 + c9c606c commit 2837f82

582 files changed

Lines changed: 7565 additions & 2858 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@
33
</p>
44

55
![Minecraft](https://img.shields.io/badge/minecraft-1.21.11-green?link=https%3A%2F%2Fwww.minecraft.net%2F)
6-
![Minecraft](https://img.shields.io/badge/minecraft-1.21.5-red?link=https%3A%2F%2Fwww.minecraft.net%2F)
76
![GitHub Downloads](https://img.shields.io/github/downloads/lambda-client/lambda/total)
87
![Discord](https://img.shields.io/discord/834570721070022687?logo=Discord&logoColor=white&link=https%3A%2F%2Fdiscord.gg%2FMBAEzyFn)
9-
![CodeFactor Grade](https://img.shields.io/codefactor/grade/github/lambda-client/lambda?color=royalblue)
108
![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/lambda-client/lambda/nightly_build.yml?logo=gradle)
119
![GitHub Contributors](https://img.shields.io/github/contributors/lambda-client/lambda)
1210
![GitHub Repo Stars](https://img.shields.io/github/stars/lambda-client/lambda)
@@ -15,7 +13,7 @@
1513
Lambda is a free, open-source Minecraft Fabric utility mod focused on advanced automation to execute complex, repeatable tasks with minimal micromanagement. This is a complete, ground-up rewrite of the original client that you can find here: [Lambda Legacy](https://github.com/lambda-client/lambda-legacy).
1614

1715
<p align="center">
18-
<a href="https://github.com/lambda-client/lambda/releases/download/0.0.2%2B1.21.5/lambda-0.0.2+1.21.5.jar"><img alt="lambda-0.0.1+1.21.5.jar" src="https://raw.githubusercontent.com/lambda-client/assets/refs/heads/main/download_button_0.0.2.png" width="70%" height="70%"></a>
16+
<a href="https://github.com/lambda-client/lambda/releases/download/0.1.0%2B1.21.11/lambda-0.1.0+1.21.11.jar"><img alt="Click Here to download the latest Lambda release" src="https://raw.githubusercontent.com/lambda-client/assets/refs/heads/main/download.svg" width="70%" height="70%"></a>
1917
</p>
2018

2119
<p align="center">
@@ -56,9 +54,9 @@ Find our backup matrix space at [\#lambda-client:matrix.org](https://app.element
5654

5755
## Installation
5856
<a href="https://fabricmc.net/wiki/install"><img src="https://cdn.jonasjones.dev/mod-badges/support-fabric.png" width="150px" alt="Fabric Supported"></a>
59-
1. Install the Minecraft version corresponding to the mod release(download)](https://www.minecraft.net/)
57+
1. Install the Minecraft version corresponding to the mod release [(download)](https://www.minecraft.net/)
6058
2. Install Fabric [(download)](https://fabricmc.net/use/installer/)
61-
3. Get the latest Lambda version here [(download)](https://github.com/lambda-client/lambda/releases/download/0.0.2%2B1.21.5/lambda-0.0.2+1.21.5.jar)
59+
3. Get the latest Lambda version here [(download)](https://github.com/lambda-client/lambda/releases/download/0.1.0%2B1.21.11/lambda-0.1.0+1.21.11.jar)
6260
4. Get the corresponding [Baritone](https://github.com/cabaletta/baritone/releases) api fabric build
6361
5. Get [Kotlin For Fabric](https://modrinth.com/mod/fabric-language-kotlin)
6462
6. Get the latest [Fabric API](https://modrinth.com/mod/fabric-api/) release

build.gradle.kts

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2025 Lambda
2+
* Copyright 2026 Lambda
33
*
44
* This program is free software: you can redistribute it and/or modify
55
* it under the terms of the GNU General Public License as published by
@@ -67,6 +67,7 @@ configurations.all {
6767

6868
repositories {
6969
mavenLocal() // Allow the use of local repositories
70+
maven("https://maven.lambda-client.org/releases")
7071
maven("https://maven.2b2t.vc/releases") // Baritone
7172
maven("https://jitpack.io") // KDiscordIPC
7273
maven("https://api.modrinth.com/maven")
@@ -158,11 +159,11 @@ dependencies {
158159
includeLib("com.github.emyfops:KDiscordIPC:$discordIPCVersion")
159160
includeLib("com.pngencoder:pngencoder:$pngEncoderVersion")
160161

161-
includeLib("io.github.spair:imgui-java-binding:$spairVersion")
162-
includeLib("io.github.spair:imgui-java-lwjgl3:$spairVersion")
163-
includeLib("io.github.spair:imgui-java-natives-windows:$spairVersion")
164-
includeLib("io.github.spair:imgui-java-natives-linux:$spairVersion")
165-
includeLib("io.github.spair:imgui-java-natives-macos:$spairVersion")
162+
includeLib("com.lambda:lambda-imgui-java-binding:$spairVersion")
163+
includeLib("com.lambda:lambda-imgui-java-lwjgl3:$spairVersion")
164+
includeLib("com.lambda:lambda-imgui-java-natives-windows:$spairVersion")
165+
includeLib("com.lambda:lambda-imgui-java-natives-linux:$spairVersion")
166+
includeLib("com.lambda:lambda-imgui-java-natives-macos:$spairVersion")
166167

167168
// Ktor
168169
includeLib("io.ktor:ktor-client-core:$ktorVersion")

gradle.properties

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright 2025 Lambda
2+
# Copyright 2026 Lambda
33
#
44
# This program is free software: you can redistribute it and/or modify
55
# it under the terms of the GNU General Public License as published by
@@ -18,9 +18,9 @@
1818
# Lambda https://github.com/lambda-client/lambda
1919
modId=lambda
2020
modName=Lambda
21-
modVersion=0.0.2
21+
modVersion=0.1.0
2222
modDescription=Minecraft utility mod for automation
23-
modIcon=assets/lambda/lambda.png
23+
modIcon=assets/lambda/textures/lambda.png
2424
mavenGroup=com.lambda
2525
modAuthors=Constructor (Avanatiker), Blade, beanbag44, Emy
2626

@@ -43,7 +43,7 @@ fabricLoaderVersion=0.18.3
4343
yarnMappings=build.3
4444
fabricApiVersion=0.139.5
4545
kotlinFabricVersion=1.13.8+kotlin
46-
sodiumVersion=mc1.21.11-0.8.0-fabric
46+
sodiumVersion=mc1.21.11-0.8.7-fabric
4747
litematicaVersion=0.25.1
4848
maLiLibVersion=0.27.1
4949

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright 2025 Lambda
2+
# Copyright 2026 Lambda
33
#
44
# This program is free software: you can redistribute it and/or modify
55
# it under the terms of the GNU General Public License as published by

gradlew

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2025 Lambda
2+
* Copyright 2026 Lambda
33
*
44
* This program is free software: you can redistribute it and/or modify
55
* it under the terms of the GNU General Public License as published by

src/gametest/kotlin/com/lambda/LambdaTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2025 Lambda
2+
* Copyright 2026 Lambda
33
*
44
* This program is free software: you can redistribute it and/or modify
55
* it under the terms of the GNU General Public License as published by

src/main/java/com/lambda/mixin/CrashReportMixin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2025 Lambda
2+
* Copyright 2026 Lambda
33
*
44
* This program is free software: you can redistribute it and/or modify
55
* it under the terms of the GNU General Public License as published by

src/main/java/com/lambda/mixin/MinecraftClientMixin.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2025 Lambda
2+
* Copyright 2026 Lambda
33
*
44
* This program is free software: you can redistribute it and/or modify
55
* it under the terms of the GNU General Public License as published by
@@ -20,6 +20,7 @@
2020
import com.lambda.core.TimerManager;
2121
import com.lambda.event.EventFlow;
2222
import com.lambda.event.events.ClientEvent;
23+
import com.lambda.event.events.GuiEvent;
2324
import com.lambda.event.events.InventoryEvent;
2425
import com.lambda.event.events.TickEvent;
2526
import com.lambda.gui.DearImGui;
@@ -205,4 +206,10 @@ void updateWindowTitle(CallbackInfo ci) {
205206
WindowUtils.setLambdaTitle();
206207
ci.cancel();
207208
}
209+
210+
@Inject(method = "setScreen", at = @At("HEAD"), cancellable = true)
211+
private void injectSetScreen(Screen screen, CallbackInfo ci) {
212+
var event = new GuiEvent.ScreenOpen(screen);
213+
if (EventFlow.post(event).isCanceled()) ci.cancel();
214+
}
208215
}

src/main/java/com/lambda/mixin/baritone/BaritonePlayerContextMixin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2025 Lambda
2+
* Copyright 2026 Lambda
33
*
44
* This program is free software: you can redistribute it and/or modify
55
* it under the terms of the GNU General Public License as published by

0 commit comments

Comments
 (0)