Skip to content
This repository has been archived by the owner on Aug 10, 2018. It is now read-only.

Commit

Permalink
Remove mod categories
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander01998 committed Nov 3, 2016
1 parent 4a8d3a9 commit 2ce3daa
Show file tree
Hide file tree
Showing 127 changed files with 136 additions and 265 deletions.
8 changes: 4 additions & 4 deletions src/tk/wurst_client/files/FileManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
import tk.wurst_client.alts.Encryption;
import tk.wurst_client.gui.alts.GuiAltList;
import tk.wurst_client.mods.*;
import tk.wurst_client.mods.Mod.Category;
import tk.wurst_client.navigator.Navigator;
import tk.wurst_client.navigator.NavigatorItem;
import tk.wurst_client.navigator.settings.NavigatorSetting;
Expand Down Expand Up @@ -144,8 +143,9 @@ public void saveMods()
ArenaBrawlMod.class.getName(), AutoBuildMod.class.getName(),
AutoSignMod.class.getName(), FightBotMod.class.getName(),
FollowMod.class.getName(), ForceOpMod.class.getName(),
FreecamMod.class.getName(), InvisibilityMod.class.getName(),
LsdMod.class.getName(), MassTpaMod.class.getName(),
FreecamMod.class.getName(), GoToCmdMod.class.getName(),
InvisibilityMod.class.getName(), LsdMod.class.getName(),
MassTpaMod.class.getName(), NavigatorMod.class.getName(),
ProtectMod.class.getName(), RemoteViewMod.class.getName(),
SpammerMod.class.getName());

Expand All @@ -168,7 +168,7 @@ public void loadMods()
Entry<String, JsonElement> entry = itr.next();
Mod mod =
WurstClient.INSTANCE.mods.getModByName(entry.getKey());
if(mod != null && mod.getCategory() != Category.HIDDEN
if(mod != null
&& !modBlacklist.contains(mod.getClass().getName()))
{
JsonObject jsonModule = (JsonObject)entry.getValue();
Expand Down
3 changes: 2 additions & 1 deletion src/tk/wurst_client/gui/UIRenderer.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import tk.wurst_client.events.GUIRenderEvent;
import tk.wurst_client.font.Fonts;
import tk.wurst_client.mods.Mod;
import tk.wurst_client.mods.NavigatorMod;
import tk.wurst_client.utils.RenderUtils;

public class UIRenderer
Expand All @@ -49,7 +50,7 @@ private static void renderModList()
LinkedList<String> modList = new LinkedList<String>();
for(Mod mod : WurstClient.INSTANCE.mods.getAllMods())
{
if(mod.getCategory() == Mod.Category.HIDDEN)
if(mod instanceof NavigatorMod)
continue;
if(mod.isActive())
modList.add(mod.getRenderName());
Expand Down
2 changes: 0 additions & 2 deletions src/tk/wurst_client/mods/AntiAfkMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,11 @@

import net.minecraft.util.math.BlockPos;
import tk.wurst_client.events.listeners.UpdateListener;
import tk.wurst_client.mods.Mod.Category;
import tk.wurst_client.utils.BlockUtils;

@Mod.Info(name = "AntiAFK",
description = "Walks around randomly to hide you from AFK detectors.\n"
+ "Needs 3x3 blocks of free space.",
category = Category.MISC,
tags = "AFKBot,anti afk,afk bot",
help = "Mods/AntiAFK")
@Mod.Bypasses(ghostMode = false)
Expand Down
4 changes: 1 addition & 3 deletions src/tk/wurst_client/mods/AntiBlindMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
*/
package tk.wurst_client.mods;

import tk.wurst_client.mods.Mod.Category;

@Mod.Info(category = Category.RENDER,
@Mod.Info(
description = "Blocks blindness and nausea.",
name = "AntiBlind",
tags = "AntiBlindness, anti blindness",
Expand Down
2 changes: 1 addition & 1 deletion src/tk/wurst_client/mods/AntiCactusMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/
package tk.wurst_client.mods;

@Mod.Info(category = Mod.Category.BLOCKS,
@Mod.Info(
description = "Protects you from cactus damage.",
name = "AntiCactus",
tags = "anti cactus",
Expand Down
3 changes: 1 addition & 2 deletions src/tk/wurst_client/mods/AntiFireMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@

import net.minecraft.network.play.client.CPacketPlayer;
import tk.wurst_client.events.listeners.UpdateListener;
import tk.wurst_client.mods.Mod.Category;

@Mod.Info(category = Category.MISC,
@Mod.Info(
description = "Blocks damage from catching on fire.\n"
+ "Does NOT block damage from standing inside of fire.\n"
+ "Requires a full hunger bar.",
Expand Down
2 changes: 1 addition & 1 deletion src/tk/wurst_client/mods/AntiKnockbackMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import tk.wurst_client.navigator.settings.SliderSetting;
import tk.wurst_client.navigator.settings.SliderSetting.ValueDisplay;

@Mod.Info(category = Mod.Category.COMBAT,
@Mod.Info(
description = "Protects you from getting pushed by players, mobs and\n"
+ "fluids.",
name = "AntiKnockback",
Expand Down
3 changes: 1 addition & 2 deletions src/tk/wurst_client/mods/AntiPotionMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@
import net.minecraft.init.MobEffects;
import net.minecraft.network.play.client.CPacketPlayer;
import tk.wurst_client.events.listeners.UpdateListener;
import tk.wurst_client.mods.Mod.Category;
import tk.wurst_client.mods.Mod.Info;

@Info(category = Category.MISC,
@Info(
description = "Blocks bad potion effects.",
name = "AntiPotion",
tags = "NoPotion, Zoot, anti potions, no potions",
Expand Down
3 changes: 1 addition & 2 deletions src/tk/wurst_client/mods/AntiSpamMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@
import tk.wurst_client.events.ChatInputEvent;
import tk.wurst_client.events.listeners.ChatInputListener;
import tk.wurst_client.mods.Mod.Bypasses;
import tk.wurst_client.mods.Mod.Category;
import tk.wurst_client.mods.Mod.Info;

@Info(category = Category.CHAT, description = "Blocks chat spam.\n"
@Info( description = "Blocks chat spam.\n"
+ "Example:\n" + "Spam!\n" + "Spam!\n" + "Spam!\n"
+ "Will be changed to:\n" + "Spam! [x3]", name = "AntiSpam",
tags = "NoSpam, ChatFilter, anti spam, no spam, chat filter",
Expand Down
3 changes: 1 addition & 2 deletions src/tk/wurst_client/mods/ArenaBrawlMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,14 @@
import tk.wurst_client.events.listeners.RenderListener;
import tk.wurst_client.events.listeners.UpdateListener;
import tk.wurst_client.mods.Mod.Bypasses;
import tk.wurst_client.mods.Mod.Category;
import tk.wurst_client.mods.Mod.Info;
import tk.wurst_client.navigator.settings.SliderSetting;
import tk.wurst_client.navigator.settings.SliderSetting.ValueDisplay;
import tk.wurst_client.utils.BlockUtils;
import tk.wurst_client.utils.EntityUtils;
import tk.wurst_client.utils.RenderUtils;

@Info(category = Category.MISC,
@Info(
description = "Makes ArenaBrawl on mc.hypixel.net a lot easier.\n"
+ "This is a collection of mods that have been optimized\n"
+ "for ArenaBrawl. It will bypass everything that Hypixel\n"
Expand Down
3 changes: 1 addition & 2 deletions src/tk/wurst_client/mods/AutoArmorMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@
import net.minecraft.item.ItemStack;
import tk.wurst_client.events.listeners.UpdateListener;
import tk.wurst_client.mods.Mod.Bypasses;
import tk.wurst_client.mods.Mod.Category;
import tk.wurst_client.mods.Mod.Info;

@Info(category = Category.COMBAT,
@Info(
description = "Manages your armor automatically.",
name = "AutoArmor",
tags = "auto armor",
Expand Down
3 changes: 1 addition & 2 deletions src/tk/wurst_client/mods/AutoBuildMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,14 @@
import tk.wurst_client.events.listeners.RenderListener;
import tk.wurst_client.events.listeners.UpdateListener;
import tk.wurst_client.mods.Mod.Bypasses;
import tk.wurst_client.mods.Mod.Category;
import tk.wurst_client.mods.Mod.Info;
import tk.wurst_client.navigator.NavigatorItem;
import tk.wurst_client.navigator.settings.ModeSetting;
import tk.wurst_client.special.YesCheatSpf.BypassLevel;
import tk.wurst_client.utils.BuildUtils;
import tk.wurst_client.utils.RenderUtils;

@Info(category = Category.AUTOBUILD,
@Info(
description = "Automatically builds the selected template whenever\n"
+ "you place a block.\n"
+ "This mod can bypass NoCheat+ while YesCheat+ is\n" + "enabled.",
Expand Down
3 changes: 1 addition & 2 deletions src/tk/wurst_client/mods/AutoEatMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@
import net.minecraft.util.EnumHand;
import tk.wurst_client.events.listeners.UpdateListener;
import tk.wurst_client.mods.Mod.Bypasses;
import tk.wurst_client.mods.Mod.Category;
import tk.wurst_client.mods.Mod.Info;
import tk.wurst_client.navigator.NavigatorItem;

@Info(category = Category.MISC,
@Info(
description = "Automatically eats food when necessary.",
name = "AutoEat",
tags = "AutoSoup,auto eat,auto soup",
Expand Down
3 changes: 1 addition & 2 deletions src/tk/wurst_client/mods/AutoFishMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@
import net.minecraft.entity.projectile.EntityFishHook;
import tk.wurst_client.events.listeners.UpdateListener;
import tk.wurst_client.mods.Mod.Bypasses;
import tk.wurst_client.mods.Mod.Category;
import tk.wurst_client.mods.Mod.Info;

@Info(category = Category.MISC,
@Info(
description = "Automatically catches fish.",
name = "AutoFish",
tags = "FishBot, auto fish, fish bot, fishing",
Expand Down
3 changes: 1 addition & 2 deletions src/tk/wurst_client/mods/AutoLeaveMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@
import net.minecraft.util.EnumHand;
import tk.wurst_client.events.listeners.UpdateListener;
import tk.wurst_client.mods.Mod.Bypasses;
import tk.wurst_client.mods.Mod.Category;
import tk.wurst_client.mods.Mod.Info;
import tk.wurst_client.navigator.NavigatorItem;
import tk.wurst_client.navigator.settings.ModeSetting;

@Info(category = Category.COMBAT,
@Info(
description = "Automatically leaves the server when your health is low.\n"
+ "The Chars, TP and SelfHurt modes can bypass CombatLog and similar plugins.",
name = "AutoLeave",
Expand Down
3 changes: 1 addition & 2 deletions src/tk/wurst_client/mods/AutoMineMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@
import net.minecraft.block.Block;
import tk.wurst_client.events.listeners.UpdateListener;
import tk.wurst_client.mods.Mod.Bypasses;
import tk.wurst_client.mods.Mod.Category;
import tk.wurst_client.mods.Mod.Info;

@Info(category = Category.BLOCKS,
@Info(
description = "Automatically mines a block as soon as you look at it.",
name = "AutoMine",
tags = "AutoBreak, auto mine, auto break",
Expand Down
3 changes: 1 addition & 2 deletions src/tk/wurst_client/mods/AutoRespawnMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@
import net.minecraft.client.gui.GuiScreen;
import tk.wurst_client.events.listeners.DeathListener;
import tk.wurst_client.mods.Mod.Bypasses;
import tk.wurst_client.mods.Mod.Category;
import tk.wurst_client.mods.Mod.Info;

@Info(category = Category.COMBAT,
@Info(
description = "Automatically respawns you whenever you die.",
name = "AutoRespawn",
tags = "auto respawn",
Expand Down
3 changes: 1 addition & 2 deletions src/tk/wurst_client/mods/AutoSignMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@

import net.minecraft.util.text.ITextComponent;
import tk.wurst_client.mods.Mod.Bypasses;
import tk.wurst_client.mods.Mod.Category;
import tk.wurst_client.mods.Mod.Info;

@Info(category = Category.BLOCKS,
@Info(
description = "Instantly writes whatever text you want on every sign\n"
+ "you place. Once activated, you can write normally on\n"
+ "one sign to specify the text for all other signs.",
Expand Down
3 changes: 1 addition & 2 deletions src/tk/wurst_client/mods/AutoSoupMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,12 @@
import net.minecraft.util.EnumHand;
import tk.wurst_client.events.listeners.UpdateListener;
import tk.wurst_client.mods.Mod.Bypasses;
import tk.wurst_client.mods.Mod.Category;
import tk.wurst_client.mods.Mod.Info;
import tk.wurst_client.navigator.NavigatorItem;
import tk.wurst_client.navigator.settings.SliderSetting;
import tk.wurst_client.navigator.settings.SliderSetting.ValueDisplay;

@Info(category = Category.COMBAT,
@Info(
description = "Automatically eats soup if your health is below the set value.",
name = "AutoSoup",
tags = "auto soup",
Expand Down
3 changes: 1 addition & 2 deletions src/tk/wurst_client/mods/AutoSplashPotMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,11 @@
import net.minecraft.util.EnumHand;
import tk.wurst_client.events.listeners.UpdateListener;
import tk.wurst_client.mods.Mod.Bypasses;
import tk.wurst_client.mods.Mod.Category;
import tk.wurst_client.mods.Mod.Info;
import tk.wurst_client.navigator.settings.SliderSetting;
import tk.wurst_client.navigator.settings.SliderSetting.ValueDisplay;

@Info(category = Category.COMBAT,
@Info(
description = "Automatically throws splash healing potions if your health is below the set value.",
name = "AutoSplashPot",
tags = "AutoPotion,auto potion,auto splash potion",
Expand Down
3 changes: 1 addition & 2 deletions src/tk/wurst_client/mods/AutoSprintMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@

import tk.wurst_client.events.listeners.UpdateListener;
import tk.wurst_client.mods.Mod.Bypasses;
import tk.wurst_client.mods.Mod.Category;
import tk.wurst_client.mods.Mod.Info;

@Info(category = Category.MOVEMENT,
@Info(
description = "Makes you sprint whenever you walk.",
name = "AutoSprint",
tags = "auto sprint",
Expand Down
3 changes: 1 addition & 2 deletions src/tk/wurst_client/mods/AutoStealMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@
package tk.wurst_client.mods;

import tk.wurst_client.mods.Mod.Bypasses;
import tk.wurst_client.mods.Mod.Category;
import tk.wurst_client.mods.Mod.Info;

@Info(category = Category.MISC,
@Info(
description = "Automatically steals everything from all chests you\n"
+ "open.",
name = "AutoSteal",
Expand Down
2 changes: 1 addition & 1 deletion src/tk/wurst_client/mods/AutoSwitchMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import tk.wurst_client.events.listeners.UpdateListener;
import tk.wurst_client.navigator.NavigatorItem;

@Mod.Info(category = Mod.Category.MISC,
@Mod.Info(
description = "Switches the item in your hand all the time.\n"
+ "Tip: Use this in combination with BuildRandom while\n"
+ "having a lot of different colored wool blocks in your\n" + "hotbar.",
Expand Down
3 changes: 1 addition & 2 deletions src/tk/wurst_client/mods/AutoSwordMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,10 @@
import net.minecraft.item.ItemTool;
import tk.wurst_client.events.listeners.LeftClickListener;
import tk.wurst_client.events.listeners.UpdateListener;
import tk.wurst_client.mods.Mod.Category;
import tk.wurst_client.mods.Mod.Info;
import tk.wurst_client.navigator.NavigatorItem;

@Info(category = Category.COMBAT,
@Info(
description = "Automatically uses the best weapon in your hotbar to attack\n"
+ "entities. Tip: This works with Killaura.",
name = "AutoSword",
Expand Down
3 changes: 1 addition & 2 deletions src/tk/wurst_client/mods/AutoToolMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@
import tk.wurst_client.events.listeners.LeftClickListener;
import tk.wurst_client.events.listeners.UpdateListener;
import tk.wurst_client.mods.Mod.Bypasses;
import tk.wurst_client.mods.Mod.Category;
import tk.wurst_client.mods.Mod.Info;
import tk.wurst_client.navigator.NavigatorItem;

@Info(category = Category.BLOCKS,
@Info(
description = "Automatically uses the best tool in your hotbar to\n"
+ "mine blocks. Tip: This works with Nuker.",
name = "AutoTool",
Expand Down
3 changes: 1 addition & 2 deletions src/tk/wurst_client/mods/AutoWalkMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@

import tk.wurst_client.events.listeners.UpdateListener;
import tk.wurst_client.mods.Mod.Bypasses;
import tk.wurst_client.mods.Mod.Category;
import tk.wurst_client.mods.Mod.Info;

@Info(category = Category.MOVEMENT,
@Info(
description = "Automatically walks all the time.",
name = "AutoWalk",
tags = "auto walk",
Expand Down
3 changes: 1 addition & 2 deletions src/tk/wurst_client/mods/BaseFinderMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@
import tk.wurst_client.events.listeners.RenderListener;
import tk.wurst_client.events.listeners.UpdateListener;
import tk.wurst_client.mods.Mod.Bypasses;
import tk.wurst_client.mods.Mod.Category;
import tk.wurst_client.mods.Mod.Info;
import tk.wurst_client.utils.RenderUtils;

@Info(category = Category.RENDER,
@Info(
description = "Finds player bases by searching for man-made blocks.\n"
+ "Good for finding faction bases.",
name = "BaseFinder",
Expand Down
3 changes: 1 addition & 2 deletions src/tk/wurst_client/mods/BlinkMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@
import tk.wurst_client.events.PacketOutputEvent;
import tk.wurst_client.events.listeners.PacketOutputListener;
import tk.wurst_client.mods.Mod.Bypasses;
import tk.wurst_client.mods.Mod.Category;
import tk.wurst_client.mods.Mod.Info;

@Info(category = Category.MOVEMENT,
@Info(
description = "Suspends all motion updates while enabled.\n"
+ "Can be used for teleportation, instant picking up of items and more.",
name = "Blink",
Expand Down
3 changes: 1 addition & 2 deletions src/tk/wurst_client/mods/BlockHitMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@
import net.minecraft.item.ItemSword;
import tk.wurst_client.events.listeners.LeftClickListener;
import tk.wurst_client.mods.Mod.Bypasses;
import tk.wurst_client.mods.Mod.Category;
import tk.wurst_client.mods.Mod.Info;

@Info(category = Category.COMBAT,
@Info(
description = "Automatically blocks whenever you hit something with a\n"
+ "sword. Some say that you will receive less damage in PVP when doing\n"
+ "this.",
Expand Down
2 changes: 1 addition & 1 deletion src/tk/wurst_client/mods/BoatFlyMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import tk.wurst_client.events.listeners.UpdateListener;
import tk.wurst_client.mods.Mod.Bypasses;

@Mod.Info(category = Mod.Category.MOVEMENT,
@Mod.Info(
description = "Allows you to fly with boats and rideable entities.\n"
+ "Bypasses NoCheat+, at least for now.",
name = "BoatFly",
Expand Down
Loading

0 comments on commit 2ce3daa

Please sign in to comment.