0
0
mirror of https://github.com/Wurst-Imperium/Wurst7.git synced 2024-09-19 17:02:13 +02:00

Merge master into 1.20.1

This commit is contained in:
Alexander01998 2024-05-14 20:40:20 +02:00
parent ec99af3c5b
commit e40d90ffe1
117 changed files with 434 additions and 258 deletions

View File

@ -11,6 +11,11 @@ on:
- '**.java'
- 'gradle**'
- 'build.gradle'
# Makes it possible to run this workflow manually from the Actions tab
workflow_dispatch:
permissions:
contents: write
jobs:
build:
@ -21,10 +26,10 @@ jobs:
uses: actions/checkout@v4
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
uses: gradle/actions/wrapper-validation@v3
- name: Set up Java 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'microsoft'
@ -33,7 +38,15 @@ jobs:
run: chmod +x gradlew
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3
- name: Generate and submit dependency graph
if: ${{ github.event_name == 'push' }}
uses: gradle/actions/dependency-submission@v3
with:
build-scan-publish: true
build-scan-terms-of-use-url: "https://gradle.com/help/legal-terms-of-use"
build-scan-terms-of-use-agree: "yes"
- name: Check code style with Spotless
id: spotless_check

1
.gitignore vendored
View File

@ -25,6 +25,7 @@ bin/
run/
*.launch
remappedSrc/
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

96
SECURITY.md Normal file
View File

@ -0,0 +1,96 @@
# Security Policy
## Supported Versions
Generally, Wurst Client versions for the latest Minecraft release and for the latest Minecraft snapshot are supported.
Older versions are decided on a case-by-case basis, depending on the severity of the exploit.
## Reporting a Vulnerability
You can report a vulnerability by sending an email to contact.wurstimperium@gmail.com.
If you want to encrypt your email with PGP (you don't have to), then you can find my public key below:
```
-----BEGIN PGP PUBLIC KEY BLOCK-----
xsFNBGFfchsBEACOinHGKb+lkWdZvQ2sPmlgPEpUG3uWUUOd4+64zFANbbZN
hw3lNbUty8TtXbjDIPSRU0mTZ51DxBRTnOVNCR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BaJU
fkzAMxAXaN1znBke63oDVuatz+XCuIiaWk9LA0k9gB/XGx43e6KfMnfc94Zx
Kkub06h5q2nQpbgDNyjMxZ98G3128HKSRJZx2SfQFOAZo48W9S8yUfsrb0u4
ikTh0kY7gbmgbAFu/HaxCG/amTctx8yFUcwmJchCLs+Bos1MkklXAPD5FELj
uPuP631Zmcw4GdqstRazLV1+qnJWLUCx7sZ3goqe4rc8dC3s1Poyes7xpw==
=8sQI
-----END PGP PUBLIC KEY BLOCK-----
```

View File

@ -1,13 +1,13 @@
buildscript {
dependencies {
classpath 'org.kohsuke:github-api:1.135'
classpath 'org.kohsuke:github-api:1.321'
}
}
plugins {
id 'fabric-loom' version '1.5-SNAPSHOT'
id 'fabric-loom' version '1.6-SNAPSHOT'
id 'maven-publish'
id 'com.diffplug.spotless' version '6.23.3'
id 'com.diffplug.spotless' version '6.25.0'
}
def ENV = System.getenv()
@ -88,7 +88,7 @@ spotless {
// configure the maven publication
publishing {
publications {
mavenJava(MavenPublication) {
create("mavenJava", MavenPublication) {
from components.java
}
}

View File

@ -4,13 +4,13 @@ org.gradle.parallel=true
# Fabric Properties
# check these at https://fabricmc.net/develop/ and
# https://www.curseforge.com/minecraft/mc-mods/fabric-api
# https://modrinth.com/mod/fabric-api/versions
minecraft_version=1.20.1
yarn_mappings=1.20.1+build.10
loader_version=0.15.7
loader_version=0.15.11
#Fabric api
fabric_version=0.92.0+1.20.1
# Fabric API
fabric_version=0.92.1+1.20.1
# Mod Properties
mod_version = v7.41.2-MC1.20.1

Binary file not shown.

View File

@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME

2
gradlew vendored
View File

@ -246,4 +246,4 @@ eval "set -- $(
tr '\n' ' '
)" '"$@"'
exec "$JAVACMD" "$@"
exec "$JAVACMD" "$@"

22
gradlew.bat vendored
View File

@ -43,11 +43,11 @@ set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if %ERRORLEVEL% equ 0 goto execute
echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
echo. 1>&2
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
echo. 1>&2
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
echo location of your Java installation. 1>&2
goto fail
@ -57,11 +57,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
if exist "%JAVA_EXE%" goto execute
echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
echo. 1>&2
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
echo. 1>&2
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
echo location of your Java installation. 1>&2
goto fail
@ -89,4 +89,4 @@ exit /b %EXIT_CODE%
:mainEnd
if "%OS%"=="Windows_NT" endlocal
:omega
:omega

View File

@ -31,13 +31,13 @@ public final class AirPlaceHack extends Hack implements RightClickListener
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(RightClickListener.class, this);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(RightClickListener.class, this);
}

View File

@ -91,13 +91,13 @@ public final class AnchorAuraHack extends Hack implements UpdateListener
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(UpdateListener.class, this);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
}

View File

@ -54,7 +54,7 @@ public final class AntiAfkHack extends Hack
}
@Override
public void onEnable()
protected void onEnable()
{
start = BlockPos.ofFloored(MC.player.getPos());
nextBlock = null;
@ -68,7 +68,7 @@ public final class AntiAfkHack extends Hack
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(RenderListener.class, this);

View File

@ -24,13 +24,13 @@ public final class AntiHungerHack extends Hack implements PacketOutputListener
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(PacketOutputListener.class, this);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(PacketOutputListener.class, this);
}

View File

@ -32,13 +32,13 @@ public final class AntiSpamHack extends Hack implements ChatInputListener
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(ChatInputListener.class, this);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(ChatInputListener.class, this);
}

View File

@ -63,7 +63,7 @@ public final class AutoArmorHack extends Hack
}
@Override
public void onEnable()
protected void onEnable()
{
timer = 0;
EVENTS.add(UpdateListener.class, this);
@ -71,7 +71,7 @@ public final class AutoArmorHack extends Hack
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(PacketOutputListener.class, this);

View File

@ -117,7 +117,7 @@ public final class AutoBuildHack extends Hack
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(UpdateListener.class, this);
EVENTS.add(RightClickListener.class, this);
@ -125,7 +125,7 @@ public final class AutoBuildHack extends Hack
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(RightClickListener.class, this);

View File

@ -75,7 +75,7 @@ public final class AutoCompleteHack extends Hack
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(ChatOutputListener.class, this);
EVENTS.remove(UpdateListener.class, this);

View File

@ -49,13 +49,13 @@ public final class AutoDropHack extends Hack implements UpdateListener
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(UpdateListener.class, this);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
}

View File

@ -108,13 +108,13 @@ public final class AutoEatHack extends Hack implements UpdateListener
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(UpdateListener.class, this);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);

View File

@ -79,7 +79,7 @@ public final class AutoFarmHack extends Hack
}
@Override
public void onEnable()
protected void onEnable()
{
plants.clear();
@ -88,7 +88,7 @@ public final class AutoFarmHack extends Hack
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(RenderListener.class, this);

View File

@ -89,7 +89,7 @@ public final class AutoFishHack extends Hack
}
@Override
public void onEnable()
protected void onEnable()
{
castRodTimer = 0;
reelInTimer = 0;
@ -108,7 +108,7 @@ public final class AutoFishHack extends Hack
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(PacketInputListener.class, this);

View File

@ -58,13 +58,13 @@ public final class AutoLeaveHack extends Hack implements UpdateListener
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(UpdateListener.class, this);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
}

View File

@ -102,13 +102,7 @@ public final class AutoLibrarianHack extends Hack
private final SwingHandSetting swingHand =
new SwingHandSetting("How to swing your hand when interacting with the"
+ " villager and job site.\n\n"
+ "\u00a7lOff\u00a7r - Don't swing your hand at all. Will be detected"
+ " by anti-cheat plugins.\n\n"
+ "\u00a7lServer-side\u00a7r - Swing your hand on the server-side,"
+ " without playing the animation on the client-side.\n\n"
+ "\u00a7lClient-side\u00a7r - Swing your hand on the client-side."
+ " This is the most legit option.");
+ " villager and job site.");
private final SliderSetting repairMode = new SliderSetting("Repair mode",
"Prevents AutoLibrarian from using your axe when its durability reaches"
@ -297,7 +291,7 @@ public final class AutoLibrarianHack extends Hack
// damage block and swing hand
if(MC.interactionManager.updateBlockBreakingProgress(jobSite,
params.side()))
swingHand.getSelected().swing(Hand.MAIN_HAND);
swingHand.swing(Hand.MAIN_HAND);
// update progress
overlay.updateProgress();
@ -359,7 +353,7 @@ public final class AutoLibrarianHack extends Hack
// swing hand
if(result.isAccepted() && result.shouldSwingHand())
swingHand.getSelected().swing(hand);
swingHand.swing(hand);
// reset sneak
((IKeyBinding)MC.options.sneakKey).resetPressedState();
@ -401,7 +395,7 @@ public final class AutoLibrarianHack extends Hack
// swing hand
if(actionResult.isAccepted() && actionResult.shouldSwingHand())
swingHand.getSelected().swing(hand);
swingHand.swing(hand);
// set cooldown
MC.itemUseCooldown = 4;

View File

@ -30,7 +30,7 @@ public final class AutoMineHack extends Hack implements UpdateListener
}
@Override
public void onEnable()
protected void onEnable()
{
WURST.getHax().excavatorHack.setEnabled(false);
WURST.getHax().nukerHack.setEnabled(false);
@ -42,7 +42,7 @@ public final class AutoMineHack extends Hack implements UpdateListener
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
stopMiningAndResetProgress();

View File

@ -40,13 +40,13 @@ public final class AutoPotionHack extends Hack implements UpdateListener
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(UpdateListener.class, this);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
timer = 0;

View File

@ -29,13 +29,13 @@ public final class AutoRespawnHack extends Hack implements DeathListener
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(DeathListener.class, this);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(DeathListener.class, this);
}

View File

@ -25,7 +25,7 @@ public final class AutoSignHack extends Hack
}
@Override
public void onDisable()
protected void onDisable()
{
signText = null;
}

View File

@ -45,13 +45,13 @@ public final class AutoSoupHack extends Hack implements UpdateListener
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(UpdateListener.class, this);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
stopIfEating();

View File

@ -33,13 +33,13 @@ public final class AutoSprintHack extends Hack implements UpdateListener
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(UpdateListener.class, this);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
}

View File

@ -23,13 +23,13 @@ public final class AutoSwimHack extends Hack implements UpdateListener
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(UpdateListener.class, this);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
}

View File

@ -23,13 +23,13 @@ public final class AutoSwitchHack extends Hack implements UpdateListener
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(UpdateListener.class, this);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
}

View File

@ -62,14 +62,14 @@ public final class AutoSwordHack extends Hack implements UpdateListener
}
@Override
public void onEnable()
protected void onEnable()
{
oldSlot = -1;
EVENTS.add(UpdateListener.class, this);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
resetSlot();

View File

@ -60,7 +60,7 @@ public final class AutoToolHack extends Hack
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(BlockBreakingProgressListener.class, this);
EVENTS.add(UpdateListener.class, this);
@ -68,7 +68,7 @@ public final class AutoToolHack extends Hack
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(BlockBreakingProgressListener.class, this);
EVENTS.remove(UpdateListener.class, this);

View File

@ -68,7 +68,7 @@ public final class AutoTotemHack extends Hack implements UpdateListener
}
@Override
public void onEnable()
protected void onEnable()
{
nextTickSlot = -1;
totems = 0;
@ -78,7 +78,7 @@ public final class AutoTotemHack extends Hack implements UpdateListener
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
}

View File

@ -23,13 +23,13 @@ public final class AutoWalkHack extends Hack implements UpdateListener
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(UpdateListener.class, this);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
((IKeyBinding)MC.options.forwardKey).resetPressedState();

View File

@ -131,7 +131,7 @@ public final class BaseFinderHack extends Hack
}
@Override
public void onEnable()
protected void onEnable()
{
// reset timer
messageTimer = 0;
@ -142,7 +142,7 @@ public final class BaseFinderHack extends Hack
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(RenderListener.class, this);

View File

@ -50,7 +50,7 @@ public final class BlinkHack extends Hack
}
@Override
public void onEnable()
protected void onEnable()
{
fakePlayer = new FakePlayerEntity();
@ -59,7 +59,7 @@ public final class BlinkHack extends Hack
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(PacketOutputListener.class, this);

View File

@ -42,13 +42,13 @@ public final class BoatFlyHack extends Hack implements UpdateListener
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(UpdateListener.class, this);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
}

View File

@ -77,13 +77,13 @@ public final class BonemealAuraHack extends Hack implements UpdateListener
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(UpdateListener.class, this);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
}

View File

@ -94,7 +94,7 @@ public final class BowAimbotHack extends Hack
}
@Override
public void onEnable()
protected void onEnable()
{
// disable conflicting hacks
WURST.getHax().excavatorHack.setEnabled(false);
@ -106,7 +106,7 @@ public final class BowAimbotHack extends Hack
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(GUIRenderListener.class, this);
EVENTS.remove(RenderListener.class, this);

View File

@ -75,13 +75,7 @@ public final class BuildRandomHack extends Hack
+ " can be VERY disorienting to look at.");
private final SwingHandSetting swingHand = new SwingHandSetting(
"How BuildRandom should swing your hand when placing blocks.\n\n"
+ "\u00a7lOff\u00a7r - Don't swing your hand at all. Will be detected"
+ " by anti-cheat plugins.\n\n"
+ "\u00a7lServer-side\u00a7r - Swing your hand on the server-side,"
+ " without playing the animation on the client-side.\n\n"
+ "\u00a7lClient-side\u00a7r - Swing your hand on the client-side."
+ " This is the most legit option.");
"How BuildRandom should swing your hand when placing blocks.");
private final CheckboxSetting fastPlace =
new CheckboxSetting("Always FastPlace",
@ -122,14 +116,14 @@ public final class BuildRandomHack extends Hack
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(UpdateListener.class, this);
EVENTS.add(RenderListener.class, this);
}
@Override
public void onDisable()
protected void onDisable()
{
lastPos = null;
EVENTS.remove(UpdateListener.class, this);

View File

@ -36,13 +36,13 @@ public final class BunnyHopHack extends Hack implements UpdateListener
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(UpdateListener.class, this);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
}

View File

@ -96,7 +96,7 @@ public final class CaveFinderHack extends Hack
}
@Override
public void onEnable()
protected void onEnable()
{
prevLimit = limit.getValueI();
notify = true;
@ -111,7 +111,7 @@ public final class CaveFinderHack extends Hack
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(PacketInputListener.class, coordinator);

View File

@ -39,13 +39,13 @@ public final class ChatTranslatorHack extends Hack implements ChatInputListener
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(ChatInputListener.class, this);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(ChatInputListener.class, this);
}

View File

@ -65,7 +65,7 @@ public final class ClickAuraHack extends Hack
}
@Override
public void onEnable()
protected void onEnable()
{
// disable other killauras
WURST.getHax().aimAssistHack.setEnabled(false);
@ -84,7 +84,7 @@ public final class ClickAuraHack extends Hack
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(LeftClickListener.class, this);

View File

@ -60,7 +60,7 @@ public final class ClickGuiHack extends Hack
}
@Override
public void onEnable()
protected void onEnable()
{
MC.setScreen(new ClickGuiScreen(WURST.getGui()));
setEnabled(false);

View File

@ -28,7 +28,7 @@ public final class CrashChestHack extends Hack
}
@Override
public void onEnable()
protected void onEnable()
{
if(!MC.player.getAbilities().creativeMode)
{

View File

@ -52,7 +52,7 @@ public final class CreativeFlightHack extends Hack implements UpdateListener
}
@Override
public void onEnable()
protected void onEnable()
{
tickCounter = 0;
@ -63,7 +63,7 @@ public final class CreativeFlightHack extends Hack implements UpdateListener
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);

View File

@ -40,13 +40,13 @@ public final class CriticalsHack extends Hack implements LeftClickListener
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(LeftClickListener.class, this);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(LeftClickListener.class, this);
}

View File

@ -90,7 +90,7 @@ public final class CrystalAuraHack extends Hack implements UpdateListener
}
@Override
public void onEnable()
protected void onEnable()
{
// disable other killauras
WURST.getHax().aimAssistHack.setEnabled(false);
@ -107,7 +107,7 @@ public final class CrystalAuraHack extends Hack implements UpdateListener
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
}

View File

@ -27,7 +27,7 @@ public final class DerpHack extends Hack implements UpdateListener
}
@Override
public void onEnable()
protected void onEnable()
{
// disable incompatible derps
WURST.getHax().headRollHack.setEnabled(false);
@ -37,7 +37,7 @@ public final class DerpHack extends Hack implements UpdateListener
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
}

View File

@ -24,14 +24,14 @@ public final class DolphinHack extends Hack implements UpdateListener
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(UpdateListener.class, this);
WURST.getHax().fishHack.setEnabled(false);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
}

View File

@ -91,7 +91,7 @@ public final class ExcavatorHack extends Hack
}
@Override
public void onEnable()
protected void onEnable()
{
// disable conflicting hacks
WURST.getHax().autoMineHack.setEnabled(false);
@ -110,7 +110,7 @@ public final class ExcavatorHack extends Hack
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(RenderListener.class, this);

View File

@ -53,14 +53,14 @@ public final class ExtraElytraHack extends Hack implements UpdateListener
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(UpdateListener.class, this);
jumpTimer = 0;
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
}

View File

@ -24,13 +24,13 @@ public final class FancyChatHack extends Hack implements ChatOutputListener
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(ChatOutputListener.class, this);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(ChatOutputListener.class, this);
}

View File

@ -24,13 +24,13 @@ public final class FastLadderHack extends Hack implements UpdateListener
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(UpdateListener.class, this);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
}

View File

@ -22,13 +22,13 @@ public final class FastPlaceHack extends Hack implements UpdateListener
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(UpdateListener.class, this);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
}

View File

@ -81,7 +81,7 @@ public final class FightBotHack extends Hack
}
@Override
public void onEnable()
protected void onEnable()
{
// disable other killauras
WURST.getHax().aimAssistHack.setEnabled(false);
@ -103,7 +103,7 @@ public final class FightBotHack extends Hack
}
@Override
public void onDisable()
protected void onDisable()
{
// remove listener
EVENTS.remove(UpdateListener.class, this);

View File

@ -24,14 +24,14 @@ public final class FishHack extends Hack implements UpdateListener
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(UpdateListener.class, this);
WURST.getHax().dolphinHack.setEnabled(false);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
}

View File

@ -68,7 +68,7 @@ public final class FlightHack extends Hack
}
@Override
public void onEnable()
protected void onEnable()
{
tickCounter = 0;
@ -81,7 +81,7 @@ public final class FlightHack extends Hack
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(IsPlayerInWaterListener.class, this);

View File

@ -76,7 +76,7 @@ public final class FollowHack extends Hack
}
@Override
public void onEnable()
protected void onEnable()
{
WURST.getHax().fightBotHack.setEnabled(false);
WURST.getHax().protectHack.setEnabled(false);
@ -115,7 +115,7 @@ public final class FollowHack extends Hack
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(RenderListener.class, this);

View File

@ -52,7 +52,7 @@ public final class ForceOpHack extends Hack implements ChatInputListener
}
@Override
public void onEnable()
protected void onEnable()
{
passwords = defaultList;
gotWrongPwMsg = false;
@ -147,7 +147,7 @@ public final class ForceOpHack extends Hack implements ChatInputListener
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(ChatInputListener.class, this);

View File

@ -69,7 +69,7 @@ public final class FreecamHack extends Hack implements UpdateListener,
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(UpdateListener.class, this);
EVENTS.add(PacketOutputListener.class, this);
@ -92,7 +92,7 @@ public final class FreecamHack extends Hack implements UpdateListener,
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(PacketOutputListener.class, this);

View File

@ -48,14 +48,14 @@ public final class GlideHack extends Hack
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(UpdateListener.class, this);
EVENTS.add(AirStrafingSpeedListener.class, this);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(AirStrafingSpeedListener.class, this);

View File

@ -24,7 +24,7 @@ public final class HeadRollHack extends Hack implements UpdateListener
}
@Override
public void onEnable()
protected void onEnable()
{
// disable incompatible derps
WURST.getHax().derpHack.setEnabled(false);
@ -34,7 +34,7 @@ public final class HeadRollHack extends Hack implements UpdateListener
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
}

View File

@ -61,7 +61,7 @@ public final class InstantBunkerHack extends Hack
}
@Override
public void onEnable()
protected void onEnable()
{
WURST.getHax().tunnellerHack.setEnabled(false);
@ -111,7 +111,7 @@ public final class InstantBunkerHack extends Hack
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(RenderListener.class, this);

View File

@ -58,13 +58,13 @@ public final class InvWalkHack extends Hack implements UpdateListener
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(UpdateListener.class, this);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
}

View File

@ -65,7 +65,7 @@ public final class ItemEspHack extends Hack implements UpdateListener,
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(UpdateListener.class, this);
EVENTS.add(CameraTransformViewBobbingListener.class, this);
@ -73,7 +73,7 @@ public final class ItemEspHack extends Hack implements UpdateListener,
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(CameraTransformViewBobbingListener.class, this);

View File

@ -47,7 +47,7 @@ public final class ItemGeneratorHack extends Hack implements UpdateListener
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(UpdateListener.class, this);
@ -59,7 +59,7 @@ public final class ItemGeneratorHack extends Hack implements UpdateListener
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
}

View File

@ -46,14 +46,14 @@ public final class JesusHack extends Hack
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(UpdateListener.class, this);
EVENTS.add(PacketOutputListener.class, this);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(PacketOutputListener.class, this);

View File

@ -23,7 +23,7 @@ public final class JetpackHack extends Hack implements UpdateListener
}
@Override
public void onEnable()
protected void onEnable()
{
WURST.getHax().creativeFlightHack.setEnabled(false);
WURST.getHax().flightHack.setEnabled(false);
@ -32,7 +32,7 @@ public final class JetpackHack extends Hack implements UpdateListener
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
}

View File

@ -37,13 +37,13 @@ public final class KaboomHack extends Hack implements UpdateListener
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(UpdateListener.class, this);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
}

View File

@ -37,7 +37,7 @@ public final class KillPotionHack extends Hack
}
@Override
public void onEnable()
protected void onEnable()
{
// check gamemode
if(!MC.player.getAbilities().creativeMode)

View File

@ -23,7 +23,7 @@ public final class LsdHack extends Hack
}
@Override
public void onEnable()
protected void onEnable()
{
if(!(MC.getCameraEntity() instanceof PlayerEntity))
{
@ -39,7 +39,7 @@ public final class LsdHack extends Hack
}
@Override
public void onDisable()
protected void onDisable()
{
if(MC.gameRenderer.getPostProcessor() != null)
MC.gameRenderer.disablePostProcessor();

View File

@ -75,7 +75,7 @@ public final class MassTpaHack extends Hack
}
@Override
public void onEnable()
protected void onEnable()
{
// reset state
players.clear();
@ -111,7 +111,7 @@ public final class MassTpaHack extends Hack
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(ChatInputListener.class, this);
EVENTS.remove(UpdateListener.class, this);

View File

@ -33,14 +33,14 @@ public final class MileyCyrusHack extends Hack implements UpdateListener
}
@Override
public void onEnable()
protected void onEnable()
{
timer = 0;
EVENTS.add(UpdateListener.class, this);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
((IKeyBinding)MC.options.sneakKey).resetPressedState();

View File

@ -92,7 +92,7 @@ public final class MobEspHack extends Hack implements UpdateListener,
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(UpdateListener.class, this);
EVENTS.add(CameraTransformViewBobbingListener.class, this);
@ -104,7 +104,7 @@ public final class MobEspHack extends Hack implements UpdateListener,
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(CameraTransformViewBobbingListener.class, this);

View File

@ -77,7 +77,7 @@ public final class MobSpawnEspHack extends Hack
}
@Override
public void onEnable()
protected void onEnable()
{
pool = MinPriorityThreadFactory.newFixedThreadPool();
@ -87,7 +87,7 @@ public final class MobSpawnEspHack extends Hack
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(PacketInputListener.class, this);

View File

@ -58,7 +58,7 @@ public final class MultiAuraHack extends Hack implements UpdateListener
}
@Override
public void onEnable()
protected void onEnable()
{
// disable other killauras
WURST.getHax().aimAssistHack.setEnabled(false);
@ -76,7 +76,7 @@ public final class MultiAuraHack extends Hack implements UpdateListener
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
}

View File

@ -25,7 +25,7 @@ public final class NavigatorHack extends Hack
}
@Override
public void onEnable()
protected void onEnable()
{
if(!(MC.currentScreen instanceof NavigatorMainScreen))
MC.setScreen(new NavigatorMainScreen());

View File

@ -29,7 +29,7 @@ public final class NoClipHack extends Hack
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(UpdateListener.class, this);
EVENTS.add(PlayerMoveListener.class, this);
@ -39,7 +39,7 @@ public final class NoClipHack extends Hack
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(PlayerMoveListener.class, this);

View File

@ -49,13 +49,13 @@ public final class NoFallHack extends Hack implements UpdateListener
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(UpdateListener.class, this);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
}

View File

@ -21,13 +21,13 @@ public final class NoWebHack extends Hack implements UpdateListener
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(UpdateListener.class, this);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
}

View File

@ -96,7 +96,7 @@ public final class NukerLegitHack extends Hack
}
@Override
public void onEnable()
protected void onEnable()
{
// disable other nukers
WURST.getHax().autoMineHack.setEnabled(false);
@ -112,7 +112,7 @@ public final class NukerLegitHack extends Hack
}
@Override
public void onDisable()
protected void onDisable()
{
// remove listeners
EVENTS.remove(LeftClickListener.class, this);

View File

@ -43,13 +43,13 @@ public final class OpenWaterEspHack extends Hack implements RenderListener
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(RenderListener.class, this);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(RenderListener.class, this);
}

View File

@ -28,14 +28,14 @@ public final class OverlayHack extends Hack
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(UpdateListener.class, this);
EVENTS.add(RenderListener.class, this);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(RenderListener.class, this);

View File

@ -24,13 +24,13 @@ public final class PanicHack extends Hack implements UpdateListener
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(UpdateListener.class, this);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
}

View File

@ -45,14 +45,14 @@ public final class ParkourHack extends Hack implements UpdateListener
}
@Override
public void onEnable()
protected void onEnable()
{
WURST.getHax().safeWalkHack.setEnabled(false);
EVENTS.add(UpdateListener.class, this);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
}

View File

@ -74,7 +74,7 @@ public final class PlayerEspHack extends Hack implements UpdateListener,
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(UpdateListener.class, this);
EVENTS.add(CameraTransformViewBobbingListener.class, this);
@ -82,7 +82,7 @@ public final class PlayerEspHack extends Hack implements UpdateListener,
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(CameraTransformViewBobbingListener.class, this);

View File

@ -96,7 +96,7 @@ public final class PortalEspHack extends Hack implements UpdateListener,
}
@Override
public void onEnable()
protected void onEnable()
{
groupsUpToDate = false;
@ -109,7 +109,7 @@ public final class PortalEspHack extends Hack implements UpdateListener,
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(PacketInputListener.class, coordinator);

View File

@ -36,13 +36,13 @@ public final class ProphuntEspHack extends Hack implements RenderListener
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(RenderListener.class, this);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(RenderListener.class, this);
}

View File

@ -109,7 +109,7 @@ public final class ProtectHack extends Hack
}
@Override
public void onEnable()
protected void onEnable()
{
WURST.getHax().followHack.setEnabled(false);
WURST.getHax().tunnellerHack.setEnabled(false);
@ -149,7 +149,7 @@ public final class ProtectHack extends Hack
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(RenderListener.class, this);

View File

@ -67,14 +67,14 @@ public final class RadarHack extends Hack implements UpdateListener
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(UpdateListener.class, this);
window.setInvisible(false);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
window.setInvisible(true);

View File

@ -47,7 +47,7 @@ public final class RemoteViewHack extends Hack
}
@Override
public void onEnable()
protected void onEnable()
{
// find entity if not already set
if(entity == null)
@ -94,7 +94,7 @@ public final class RemoteViewHack extends Hack
}
@Override
public void onDisable()
protected void onDisable()
{
// remove listener
EVENTS.remove(UpdateListener.class, this);

View File

@ -65,13 +65,13 @@ public final class RestockHack extends Hack implements UpdateListener
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(UpdateListener.class, this);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
}

View File

@ -37,13 +37,13 @@ public final class ScaffoldWalkHack extends Hack implements UpdateListener
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(UpdateListener.class, this);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
}

View File

@ -95,7 +95,7 @@ public final class SearchHack extends Hack
}
@Override
public void onEnable()
protected void onEnable()
{
lastBlock = block.getBlock();
coordinator.setTargetBlock(lastBlock);
@ -112,7 +112,7 @@ public final class SearchHack extends Hack
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(PacketInputListener.class, coordinator);

View File

@ -27,13 +27,13 @@ public final class SkinDerpHack extends Hack implements UpdateListener
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(UpdateListener.class, this);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);

View File

@ -52,14 +52,14 @@ public final class SneakHack extends Hack
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(PreMotionListener.class, this);
EVENTS.add(PostMotionListener.class, this);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(PreMotionListener.class, this);
EVENTS.remove(PostMotionListener.class, this);

View File

@ -23,13 +23,13 @@ public final class SpeedHackHack extends Hack implements UpdateListener
}
@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(UpdateListener.class, this);
}
@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
}

Some files were not shown because too many files have changed in this diff Show More