blob: 3dce80e59ade690519f1c04950f235ea46be7951 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
package dulkirmod.command
import dulkirmod.DulkirMod
import dulkirmod.config.Config
import net.minecraft.command.CommandException
import net.minecraft.command.ICommandSender
import net.minecraft.util.ChatComponentText
class HurtCamCommand : ClientCommandBase("ouch") {
@Throws(CommandException::class)
override fun processCommand(sender: ICommandSender, args: Array<String>) {
Config.hurtCamIntensity = 7f
DulkirMod.mc.thePlayer.addChatMessage(
ChatComponentText("${DulkirMod.CHAT_PREFIX} §6§lOUCH! THAT HURT!")
)
}
}
|