-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove ViaVersionFix module Refactor ClientSpoof Remove UUID Spoofer (useless) Fixed Some Things
- Loading branch information
zywl
committed
Dec 24, 2023
1 parent
bb7bbe3
commit 8db4bb1
Showing
55 changed files
with
9,686 additions
and
756 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,6 @@ | |
package net.ccbluex.liquidbounce.event | ||
|
||
open class Event | ||
|
||
open class CancellableEvent : Event() { | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 55 additions & 0 deletions
55
src/main/java/net/ccbluex/liquidbounce/features/command/commands/AddAllCommand.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
/* | ||
* FDPClient Hacked Client | ||
* A free open source mixin-based injection hacked client for Minecraft using Minecraft Forge by LiquidBounce. | ||
* https://github.com/SkidderMC/FDPClient/ | ||
*/ | ||
package net.ccbluex.liquidbounce.features.command.commands; | ||
|
||
import net.ccbluex.liquidbounce.FDPClient; | ||
import net.ccbluex.liquidbounce.config.impl.FriendsConfig; | ||
import net.ccbluex.liquidbounce.features.command.Command; | ||
import net.ccbluex.liquidbounce.utils.render.ColorUtils; | ||
import net.minecraft.scoreboard.ScorePlayerTeam; | ||
import net.minecraft.util.EnumChatFormatting; | ||
|
||
import org.jetbrains.annotations.NotNull; | ||
|
||
import java.util.concurrent.atomic.AtomicInteger; | ||
|
||
public final class AddAllCommand extends Command { | ||
|
||
public AddAllCommand() {super("addall", new String[]{""});} | ||
|
||
@Override | ||
public void execute(@NotNull String[] arguments) { | ||
if (arguments.length == 2) { | ||
final String tag = ColorUtils.translateAlternateColorCodes(arguments[1]); | ||
final AtomicInteger count = new AtomicInteger(0); | ||
final FriendsConfig config = FDPClient.fileManager.getFriendsConfig(); | ||
final boolean presistent = arguments[0].contains(""); | ||
|
||
mc.thePlayer.sendQueue.getPlayerInfoMap() | ||
.forEach(player -> { | ||
final ScorePlayerTeam team = player.getPlayerTeam(); | ||
|
||
assert team != null; | ||
|
||
if (team != null) { | ||
if (ColorUtils.stripColor(team.getColorPrefix()).contains(tag) | ||
|| ColorUtils.stripColor(team.getColorSuffix()).contains(tag)) { | ||
final String name = player.getGameProfile().getName(); | ||
|
||
config.addFriend(name, String.valueOf(presistent)); | ||
|
||
count.incrementAndGet(); | ||
} | ||
} | ||
}); | ||
|
||
alert("Were added " + EnumChatFormatting.WHITE + count.get() + EnumChatFormatting.GRAY + "§7 players."); | ||
|
||
} else { | ||
alert(EnumChatFormatting.GRAY + "Sintax: .addall <tag>"); | ||
} | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
src/main/java/net/ccbluex/liquidbounce/features/command/commands/AutoDisableCommand.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
src/main/java/net/ccbluex/liquidbounce/features/command/commands/MacroCommand.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
src/main/java/net/ccbluex/liquidbounce/features/command/commands/ModuleTriggerCommand.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
src/main/java/net/ccbluex/liquidbounce/features/command/commands/TpCommand.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 0 additions & 48 deletions
48
src/main/java/net/ccbluex/liquidbounce/features/command/commands/UUIDCommand.kt
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.