Skip to content

Commit

Permalink
chore: more module aliases (#5682)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jucku authored Feb 24, 2025
1 parent c2984bf commit eaf8a41
Show file tree
Hide file tree
Showing 13 changed files with 19 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import net.minecraft.text.Text
import net.minecraft.util.Formatting

object ModuleLiquidChat : ClientModule("LiquidChat", Category.CLIENT, hide = true, state = true,
aliases = arrayOf("GlobalChat")) {
aliases = arrayOf("GlobalChat", "IRC")) {

private var jwtToken by text("JwtToken", "")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import net.minecraft.network.packet.s2c.play.PlayerPositionLookS2CPacket
* Modifies the amount of velocity you take.
*/

object ModuleVelocity : ClientModule("Velocity", Category.COMBAT) {
object ModuleVelocity : ClientModule("Velocity", Category.COMBAT, aliases = arrayOf("AntiKnockBack")) {

init {
enableLock()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ object ModuleKick : ClientModule("Kick", Category.EXPLOIT, disableActivation = t
*/
fun kick(mode: KickModeEnum) = mode.run()

@Suppress("unused")
enum class KickModeEnum(override val choiceName: String, val run: () -> Unit) : NamedChoice {
QUIT("Quit", {
world.disconnect()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ private const val MAX_SIMULATED_TICKS = 240
*
* @author sqlerrorthing
*/
object ModuleAutoPearl : ClientModule("AutoPearl", Category.MISC, aliases = arrayOf("PearlFollower")) {
object ModuleAutoPearl : ClientModule("AutoPearl", Category.MISC, aliases = arrayOf("PearlFollower", "PearlTarget")) {

private val mode by enumChoice("Mode", Modes.TRIGGER)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import net.ccbluex.liquidbounce.features.module.modules.movement.terrainspeed.ic
*
* Move faster on specific surfaces.
*/
object ModuleTerrainSpeed : ClientModule("TerrainSpeed", Category.MOVEMENT) {
object ModuleTerrainSpeed : ClientModule("TerrainSpeed", Category.MOVEMENT, aliases = arrayOf("FastClimb")) {

init {
enableLock()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ import net.ccbluex.liquidbounce.utils.kotlin.EventPriorityConvention
*
* Legit trick to build faster.
*/
object ModuleEagle : ClientModule("Eagle", Category.PLAYER, aliases = arrayOf("FastBridge", "BridgeAssistant")) {
object ModuleEagle : ClientModule("Eagle", Category.PLAYER,
aliases = arrayOf("FastBridge", "BridgeAssistant", "LegitScaffold")
) {

private val edgeDistance by float("EagleEdgeDistance", 0.4f, 0.01f..1.3f)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ import net.minecraft.network.packet.c2s.play.PlayerMoveC2SPacket
* Allows you to use items faster.
*/

object ModuleFastUse : ClientModule("FastUse", Category.PLAYER) {
object ModuleFastUse : ClientModule("FastUse", Category.PLAYER, aliases = arrayOf("FastEat")) {

private val modes = choices("Mode", Immediate, arrayOf(Immediate, ItemUseTime)).apply { tagBy(this) }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import net.minecraft.screen.slot.SlotActionType
*
* @author ccetl
*/
object ModuleReplenish : ClientModule("Replenish", Category.PLAYER) {
object ModuleReplenish : ClientModule("Replenish", Category.PLAYER, aliases = arrayOf("Refill")) {

private val constraints = tree(PlayerInventoryConstraints())
private val itemThreshold by int("ItemThreshold", 5, 0..63)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import net.ccbluex.liquidbounce.features.module.modules.player.autoqueue.modes.A
import net.ccbluex.liquidbounce.features.module.modules.player.autoqueue.modes.AutoQueueHypixelSW
import net.ccbluex.liquidbounce.features.module.modules.player.autoqueue.modes.AutoQueuePaper

object ModuleAutoQueue : ClientModule("AutoQueue", Category.PLAYER) {
object ModuleAutoQueue : ClientModule("AutoQueue", Category.PLAYER, aliases = arrayOf("AutoPlay")) {
val modes = choices("Mode", AutoQueuePaper, arrayOf(
AutoQueuePaper,
AutoQueueHypixelSW,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ import net.minecraft.screen.slot.SlotActionType
*
* Automatically throws away useless items and sorts them.
*/
object ModuleInventoryCleaner : ClientModule("InventoryCleaner", Category.PLAYER) {

object ModuleInventoryCleaner : ClientModule("InventoryCleaner", Category.PLAYER,
aliases = arrayOf("InventoryManager")
) {

private val inventoryConstraints = tree(PlayerInventoryConstraints())

private val maxBlocks by int("MaximumBlocks", 512, 0..2500)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ import net.minecraft.util.math.RotationAxis
* Please credit from where you got the animation from and make sure they are willing to contribute.
* If they are not willing to contribute, please do not add the animation to this module.
*/
object ModuleAnimations : ClientModule("Animations", Category.RENDER) {
@Suppress("MagicNumber")
object ModuleAnimations : ClientModule("Animations", Category.RENDER, aliases = arrayOf("ViewModel")) {

init {
tree(MainHand)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import net.ccbluex.liquidbounce.features.module.ClientModule
*
* Protects you from potentially annoying screen effects that block your view.
*/
object ModuleAntiBlind : ClientModule("AntiBlind", Category.RENDER) {
object ModuleAntiBlind : ClientModule("AntiBlind", Category.RENDER, aliases = arrayOf("NoRender")) {
val antiBlind by boolean("DisableBlindingEffect", true)
val antiDarkness by boolean("DisableDarknessEffect", true)
val antiNausea by boolean("DisableNauseaEffect", true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ import org.lwjgl.opengl.GL13
*
* Override the ambience of the game
*/
object ModuleCustomAmbience : ClientModule("CustomAmbience", Category.RENDER) {
object ModuleCustomAmbience : ClientModule("CustomAmbience", Category.RENDER, aliases = arrayOf("FogChanger")) {

val weather = enumChoice("Weather", WeatherType.SNOWY)
private val time = enumChoice("Time", TimeType.NIGHT)
Expand Down

0 comments on commit eaf8a41

Please sign in to comment.