aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/features/ArachneESP.java
diff options
context:
space:
mode:
authorRabbitType99 <luis.be@gmx.de>2021-03-14 02:10:31 +0100
committerRabbitType99 <luis.be@gmx.de>2021-03-14 02:10:31 +0100
commitcfa878d994032f1d7f829b09e862587ad0db07e4 (patch)
tree1aa635f8fe7147b6a71f1e86e533c948880fb553 /src/main/java/me/Danker/features/ArachneESP.java
parentd1dedf33d451235a8c8a83f80533871b268fa728 (diff)
downloadSkyblockMod-cfa878d994032f1d7f829b09e862587ad0db07e4.tar.gz
SkyblockMod-cfa878d994032f1d7f829b09e862587ad0db07e4.tar.bz2
SkyblockMod-cfa878d994032f1d7f829b09e862587ad0db07e4.zip
Not Working do not merge
Diffstat (limited to 'src/main/java/me/Danker/features/ArachneESP.java')
-rw-r--r--src/main/java/me/Danker/features/ArachneESP.java13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/main/java/me/Danker/features/ArachneESP.java b/src/main/java/me/Danker/features/ArachneESP.java
index c0aeab6..4ef9bc0 100644
--- a/src/main/java/me/Danker/features/ArachneESP.java
+++ b/src/main/java/me/Danker/features/ArachneESP.java
@@ -73,22 +73,23 @@ public class ArachneESP {
if (!Utils.inSkyblock) return;
String message = StringUtils.stripControlCodes(event.message.getUnformattedText());
- if (message.contains("You dare call me, the queen of the dark, to accept you. I'll accept no excuses, you shall die!") || message.contains("Hahahahaha, YOU MORTAL FOOL! You dare to summon me at my full strength to this plane, you are seeking death. With this power, I will not let a weakling survive here, this land will be a brilliant place to start a new invasion of my empire. Tremble beneath me if you wish to survive!")){
+ if (message.contains("You dare call me, the queen of the dark, to accept you. I'll accept no excuses, you shall die!") || message.contains("Hahahahaha, YOU MORTAL FOOL! You dare to summon me at my full strength to this plane, you are seeking death. With this power, I will not let a weakling survive here, this land will be a brilliant place to start a new invasion of my empire. Tremble beneath me if you wish to survive!") || message.contains("placed an Arachne Keeper Fragment! Something is awakening! (4/4)")){
arachneActive = true;
}
- if (message.contains("You are lucky this time, you only called out a portion of my power, if you dared to my face me at my peak, you would not survive!") || message.contains("How can this be...how could I lose to a puny being like you...I shall get my revenge") || message.contains("Arachne is bored with your feeble attempt!" )){
+ if (message.contains("You are lucky this time, you only called out a portion of my power, if you dared to my face me at my peak, you would not survive!") || message.contains("How can this be...how could I lose to a puny being like you...I shall get my revenge") || message.contains("Arachne is bored with your feeble attempt!" ) || message.contains (" dealt the final blow")){
arachneActive = false;
}
-
}
@SubscribeEvent
public void onWorldRender(RenderWorldLastEvent event) {
if (!Utils.inSkyblock) return;
- if (arachneActive && ToggleCommand.highlightSlayers) {
- AxisAlignedBB aabb = new AxisAlignedBB(arachne.posX - 0.5, arachne.posY - 1, arachne.posZ - 0.5, arachne.posX + 0.5, arachne.posY, arachne.posZ + 0.5);
- Utils.draw3DBox(aabb, ARACHANE_COLOUR, event.partialTicks);
+ if (arachneActive && ToggleCommand.highlightArachne) {
+ if (arachne != null) {
+ AxisAlignedBB aabb = new AxisAlignedBB(arachne.posX - 0.5, arachne.posY - 1, arachne.posZ - 0.5, arachne.posX + 0.5, arachne.posY, arachne.posZ + 0.5);
+ Utils.draw3DBox(aabb, ARACHANE_COLOUR, event.partialTicks);
+ }
}
}