Fixed formatting in a few combat modules

This commit is contained in:
Bella 2020-05-07 11:54:17 -04:00
parent 2efdf0663f
commit 8cf6d8782c
No known key found for this signature in database
GPG Key ID: DBD4A6030080C8B3
3 changed files with 11 additions and 3 deletions

View File

@ -19,7 +19,11 @@ import net.minecraft.util.math.Vec3d
* Updated by dominikaaaa on 10/04/20 * Updated by dominikaaaa on 10/04/20
* Updated by bot-debug on 10/04/20 * Updated by bot-debug on 10/04/20
*/ */
@Module.Info(name = "Aura", category = Module.Category.COMBAT, description = "Hits entities around you") @Module.Info(
name = "Aura",
category = Module.Category.COMBAT,
description = "Hits entities around you"
)
class Aura : Module() { class Aura : Module() {
private val delayMode = register(Settings.e<WaitMode>("Mode", WaitMode.DELAY)) private val delayMode = register(Settings.e<WaitMode>("Mode", WaitMode.DELAY))
private val autoSpamDelay = register(Settings.booleanBuilder("Auto Spam Delay").withValue(true).withVisibility { delayMode.value == WaitMode.SPAM }.build()) private val autoSpamDelay = register(Settings.booleanBuilder("Auto Spam Delay").withValue(true).withVisibility { delayMode.value == WaitMode.SPAM }.build())

View File

@ -19,12 +19,17 @@ import net.minecraftforge.event.entity.player.AttackEntityEvent
* Updated by polymer 10 March 2020 * Updated by polymer 10 March 2020
* Updated by dominikaaaa on 12/04/20 * Updated by dominikaaaa on 12/04/20
*/ */
@Module.Info(name = "AutoEZ", category = Module.Category.COMBAT, description = "Sends an insult in chat after killing someone") @Module.Info(
name = "AutoEZ",
category = Module.Category.COMBAT,
description = "Sends an insult in chat after killing someone"
)
class AutoEZ : Module() { class AutoEZ : Module() {
@JvmField @JvmField
var mode: Setting<Mode> = register(Settings.e("Mode", Mode.ONTOP)) var mode: Setting<Mode> = register(Settings.e("Mode", Mode.ONTOP))
@JvmField @JvmField
var customText: Setting<String> = register(Settings.stringBuilder("Custom Text").withValue("unchanged").withConsumer { _: String?, _: String? -> }.build()) var customText: Setting<String> = register(Settings.stringBuilder("Custom Text").withValue("unchanged").withConsumer { _: String?, _: String? -> }.build())
private var focus: EntityPlayer? = null private var focus: EntityPlayer? = null
private var hasBeenCombat = 0 private var hasBeenCombat = 0

View File

@ -12,7 +12,6 @@ import me.zeroeightsix.kami.util.MessageSendHelper
import net.minecraft.init.Items import net.minecraft.init.Items
import net.minecraft.util.EnumHand import net.minecraft.util.EnumHand
/** /**
* Created 17 October 2019 by hub * Created 17 October 2019 by hub
* Updated 21 November 2019 by hub * Updated 21 November 2019 by hub