Skip to content

Commit b81fda1

Browse files
authored
Merge pull request #46 from Merennor/1.21.10
1.21.10 Update
2 parents 4474b04 + df8321f commit b81fda1

File tree

13 files changed

+104
-62
lines changed

13 files changed

+104
-62
lines changed

.github/workflows/dev_build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ jobs:
2626
uses: marvinpinto/action-automatic-releases@latest
2727
with:
2828
repo_token: '${{ secrets.GITHUB_TOKEN }}'
29-
automatic_release_tag: "1.21.9_1.0.9.5"
29+
automatic_release_tag: "1.21.10_1.0.9.5"
3030
prerelease: true
31-
title: "1.21.9 | 1.0.9.5"
31+
title: "1.21.10 | 1.0.9.5"
3232
files: |
3333
./build/libs/*.jar

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<a href="https://www.minecraft.net/"><img src="https://img.shields.io/github/license/MeteorClientPlus/MeteorPlus?logo=mdBook&color=FF8C00" alt="Minecraft version"/></a>
1010
<br>
1111
<a href="https://www.meteoraddons.com/?addon=MeteorClientPlus%2FMeteorPlus"><img src="https://img.shields.io/badge/verified%20addon-yes-brightgreen" alt="Verified Addon"></a>
12-
<a href="https://www.minecraft.net/"><img src="https://img.shields.io/badge/minecraft%20version-1.20.4 -- 1.21.9-brightgreen" alt="Minecraft version"/></a>
12+
<a href="https://www.minecraft.net/"><img src="https://img.shields.io/badge/minecraft%20version-1.20.4 -- 1.21.10-brightgreen" alt="Minecraft version"/></a>
1313
<a href="https://github.com/Nekiplay/MeteorClientPlus/releases"><img src="https://img.shields.io/github/downloads/MeteorClientPlus/MeteorPlus/total" alt="Downloads"/></a>
1414
<a href="https://github.com/Nekiplay/MeteorClientPlus/stargazers"><img src="https://badgen.net/github/stars/MeteorClientPlus/MeteorPlus" alt="GitHub stars"/></a>
1515
<br>

build.gradle

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@ plugins {
33
id "maven-publish"
44
}
55

6-
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_21
6+
java {
7+
sourceCompatibility = JavaVersion.VERSION_21
8+
targetCompatibility = JavaVersion.VERSION_21
9+
}
710

8-
archivesBaseName = project.archives_base_name
11+
base.archivesName = project.archives_name
912
version = project.mod_version
1013
group = project.maven_group
1114

@@ -41,7 +44,16 @@ repositories {
4144
// Where Is It, JackFredLib
4245
maven {
4346
url = uri("https://maven.jackf.red/releases/")
47+
// Meteor Client
4448
}
49+
maven {
50+
name = "meteor-maven"
51+
url = "https://maven.meteordev.org/releases"
52+
}
53+
maven {
54+
name = "meteor-maven-snapshots"
55+
url = "https://maven.meteordev.org/snapshots"
56+
}
4557
mavenCentral()
4658
gradlePluginPortal()
4759
}
@@ -59,8 +71,10 @@ dependencies {
5971
include(implementation(annotationProcessor("io.github.llamalad7:mixinextras-fabric:0.5.0")))
6072

6173
// Meteor Client
62-
modImplementation files("libs\\baritone-unoptimized-fabric-1.14.0-1.jar")
63-
modImplementation files("libs\\meteor-client-1.21.9-local.jar")
74+
modImplementation files("libs\\baritone-unoptimized-fabric-1.14.0-1.jar")
75+
modImplementation("meteordevelopment:meteor-client:${project.minecraft_version}-SNAPSHOT")
76+
implementation "org.meteordev:starscript:0.2.5"
77+
implementation "meteordevelopment:orbit:0.2.3"
6478

6579
// Xaero's Mods
6680
modCompileOnly "maven.modrinth:xaeros-world-map:${project.xwm_fabric_version}" // Xaero's World Map
@@ -74,6 +88,12 @@ loom {
7488
accessWidenerPath = file("src/main/resources/meteorplus.accesswidener")
7589
}
7690

91+
jar {
92+
from("LICENSE") {
93+
rename { "${it}_${project.base.archivesName}" }
94+
}
95+
}
96+
7797
processResources {
7898
filesMatching("fabric.mod.json") {
7999
expand "version": project.mod_version, "mc_version": project.minecraft_version, "gh_hash": (System.getenv("GITHUB_SHA") ?: "")

gradle.properties

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
org.gradle.jvmargs=-Xmx4G
22

33
# Fabric (https://fabricmc.net/versions.html)
4-
minecraft_version=1.21.9
5-
yarn_mappings=1.21.9+build.1
4+
minecraft_version=1.21.10
5+
yarn_mappings=1.21.10+build.2
66
loader_version=0.17.2
77

88
# Fabric API
9-
fabric_version=0.133.14+1.21.9
9+
fabric_version=0.135.0+1.21.10
1010

1111
# Mod Properties
12-
mod_version=1.21.9_1.0.9.5
12+
mod_version=1.21.10_1.0.9.5
1313
maven_group=nekiplay.meteorplus
14-
archives_base_name=meteor-plus
14+
archives_name=meteor-plus
1515

1616
# Dependency Versions
1717

1818
# Xaero's Mods
1919
# Xaero's World Map (https://modrinth.com/mod/xaeros-world-map/versions)
20-
xwm_fabric_version=1.39.16_Fabric_1.21.9
20+
xwm_fabric_version=1.39.17_Fabric_1.21.9
2121
# Xaero's Minimap (https://modrinth.com/mod/xaeros-minimap/versions)
22-
xmm_fabric_version=25.2.14_Fabric_1.21.9
22+
xmm_fabric_version=25.2.15_Fabric_1.21.9
2323

2424
# Where Is It (https://modrinth.com/mod/where-is-it/versions)
2525
where_is_it_version=2.6.4+1.21.2

gradle/wrapper/gradle-wrapper.jar

-13.7 KB
Binary file not shown.
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.1.0-bin.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
46
zipStoreBase=GRADLE_USER_HOME
57
zipStorePath=wrapper/dists

gradlew

Lines changed: 32 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22

33
#
4-
# Copyright © 2015-2021 the original authors.
4+
# Copyright © 2015 the original authors.
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
77
# you may not use this file except in compliance with the License.
@@ -15,6 +15,8 @@
1515
# See the License for the specific language governing permissions and
1616
# limitations under the License.
1717
#
18+
# SPDX-License-Identifier: Apache-2.0
19+
#
1820

1921
##############################################################################
2022
#
@@ -55,7 +57,7 @@
5557
# Darwin, MinGW, and NonStop.
5658
#
5759
# (3) This script is generated from the Groovy template
58-
# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
60+
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
5961
# within the Gradle project.
6062
#
6163
# You can find Gradle at https://github.com/gradle/gradle/.
@@ -80,13 +82,11 @@ do
8082
esac
8183
done
8284

83-
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
84-
85-
APP_NAME="Gradle"
85+
# This is normally unused
86+
# shellcheck disable=SC2034
8687
APP_BASE_NAME=${0##*/}
87-
88-
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
89-
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
88+
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
89+
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
9090

9191
# Use the maximum available, or set MAX_FD != -1 to use that value.
9292
MAX_FD=maximum
@@ -114,7 +114,6 @@ case "$( uname )" in #(
114114
NONSTOP* ) nonstop=true ;;
115115
esac
116116

117-
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
118117

119118

120119
# Determine the Java command to use to start the JVM.
@@ -133,22 +132,29 @@ location of your Java installation."
133132
fi
134133
else
135134
JAVACMD=java
136-
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
135+
if ! command -v java >/dev/null 2>&1
136+
then
137+
die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
137138
138139
Please set the JAVA_HOME variable in your environment to match the
139140
location of your Java installation."
141+
fi
140142
fi
141143

142144
# Increase the maximum file descriptors if we can.
143145
if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
144146
case $MAX_FD in #(
145147
max*)
148+
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
149+
# shellcheck disable=SC2039,SC3045
146150
MAX_FD=$( ulimit -H -n ) ||
147151
warn "Could not query maximum file descriptor limit"
148152
esac
149153
case $MAX_FD in #(
150154
'' | soft) :;; #(
151155
*)
156+
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
157+
# shellcheck disable=SC2039,SC3045
152158
ulimit -n "$MAX_FD" ||
153159
warn "Could not set maximum file descriptor limit to $MAX_FD"
154160
esac
@@ -165,7 +171,6 @@ fi
165171
# For Cygwin or MSYS, switch paths to Windows format before running java
166172
if "$cygwin" || "$msys" ; then
167173
APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
168-
CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" )
169174

170175
JAVACMD=$( cygpath --unix "$JAVACMD" )
171176

@@ -193,18 +198,27 @@ if "$cygwin" || "$msys" ; then
193198
done
194199
fi
195200

196-
# Collect all arguments for the java command;
197-
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
198-
# shell script including quotes and variable substitutions, so put them in
199-
# double quotes to make sure that they get re-expanded; and
200-
# * put everything else in single quotes, so that it's not re-expanded.
201+
202+
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
203+
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
204+
205+
# Collect all arguments for the java command:
206+
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
207+
# and any embedded shellness will be escaped.
208+
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
209+
# treated as '${Hostname}' itself on the command line.
201210

202211
set -- \
203212
"-Dorg.gradle.appname=$APP_BASE_NAME" \
204-
-classpath "$CLASSPATH" \
205-
org.gradle.wrapper.GradleWrapperMain \
213+
-jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
206214
"$@"
207215

216+
# Stop when "xargs" is not available.
217+
if ! command -v xargs >/dev/null 2>&1
218+
then
219+
die "xargs is not available"
220+
fi
221+
208222
# Use "xargs" to parse quoted args.
209223
#
210224
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.

gradlew.bat

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@
1313
@rem See the License for the specific language governing permissions and
1414
@rem limitations under the License.
1515
@rem
16+
@rem SPDX-License-Identifier: Apache-2.0
17+
@rem
1618

17-
@if "%DEBUG%" == "" @echo off
19+
@if "%DEBUG%"=="" @echo off
1820
@rem ##########################################################################
1921
@rem
2022
@rem Gradle startup script for Windows
@@ -25,7 +27,8 @@
2527
if "%OS%"=="Windows_NT" setlocal
2628

2729
set DIRNAME=%~dp0
28-
if "%DIRNAME%" == "" set DIRNAME=.
30+
if "%DIRNAME%"=="" set DIRNAME=.
31+
@rem This is normally unused
2932
set APP_BASE_NAME=%~n0
3033
set APP_HOME=%DIRNAME%
3134

@@ -40,13 +43,13 @@ if defined JAVA_HOME goto findJavaFromJavaHome
4043

4144
set JAVA_EXE=java.exe
4245
%JAVA_EXE% -version >NUL 2>&1
43-
if "%ERRORLEVEL%" == "0" goto execute
46+
if %ERRORLEVEL% equ 0 goto execute
4447

45-
echo.
46-
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
47-
echo.
48-
echo Please set the JAVA_HOME variable in your environment to match the
49-
echo location of your Java installation.
48+
echo. 1>&2
49+
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
50+
echo. 1>&2
51+
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
52+
echo location of your Java installation. 1>&2
5053

5154
goto fail
5255

@@ -56,32 +59,33 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
5659

5760
if exist "%JAVA_EXE%" goto execute
5861

59-
echo.
60-
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
61-
echo.
62-
echo Please set the JAVA_HOME variable in your environment to match the
63-
echo location of your Java installation.
62+
echo. 1>&2
63+
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
64+
echo. 1>&2
65+
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
66+
echo location of your Java installation. 1>&2
6467

6568
goto fail
6669

6770
:execute
6871
@rem Setup the command line
6972

70-
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
7173

7274

7375
@rem Execute Gradle
74-
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
76+
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
7577

7678
:end
7779
@rem End local scope for the variables with windows NT shell
78-
if "%ERRORLEVEL%"=="0" goto mainEnd
80+
if %ERRORLEVEL% equ 0 goto mainEnd
7981

8082
:fail
8183
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
8284
rem the _cmd.exe /c_ return code!
83-
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
84-
exit /b 1
85+
set EXIT_CODE=%ERRORLEVEL%
86+
if %EXIT_CODE% equ 0 set EXIT_CODE=1
87+
if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
88+
exit /b %EXIT_CODE%
8589

8690
:mainEnd
8791
if "%OS%"=="Windows_NT" endlocal
-4.44 MB
Binary file not shown.

src/main/java/nekiplay/meteorplus/features/modules/world/XrayBruteforce.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import meteordevelopment.meteorclient.MeteorClient;
88
import meteordevelopment.meteorclient.events.game.GameLeftEvent;
99
import meteordevelopment.meteorclient.events.meteor.KeyEvent;
10-
import meteordevelopment.meteorclient.events.meteor.MouseButtonEvent;
10+
import meteordevelopment.meteorclient.events.meteor.MouseClickEvent;
1111
import meteordevelopment.meteorclient.systems.modules.Categories;
1212
import meteordevelopment.meteorclient.systems.modules.render.blockesp.ESPBlock;
1313
import meteordevelopment.meteorclient.systems.modules.render.blockesp.ESPBlockData;
@@ -479,7 +479,7 @@ private void onKeyEvent(KeyEvent event)
479479
}
480480

481481
@EventHandler
482-
private void onMouseButtonEvent(MouseButtonEvent event) {
482+
private void onMouseClickEvent(MouseClickEvent event) {
483483
if (event.action == KeyAction.Press && isPressed()) {
484484
pause_toggle = !pause_toggle;
485485
if (pause_toggle) {

0 commit comments

Comments
 (0)