Giter Site home page Giter Site logo

advancedxray / auto-clicker Goto Github PK

View Code? Open in Web Editor NEW
36.0 1.0 24.0 223 KB

Quick and dirty Auto Clicker mod for Fabric(mc)

Home Page: https://www.curseforge.com/minecraft/mc-mods/auto-clicker-fabric

License: MIT License

Java 100.00%
fabricmc minecraft-mod mod java

auto-clicker's Introduction

Auto Clicker (Fabric)

Quick and dirty Auto Clicker mod for Fabric(mc)

Downloads Versions Supported GitHub license GitHub stars GitHub issues GitHub all releases GitHub release (latest by date) GitHub Release Date GitHub last commit Build Status

Notice

I'm currently looking for a new developer to take on Auto Clicker for Fabric, if you're intrested, please reach out to me on discord at MiKeY#2628

Discord invite link

Features

  • Auto click (hold & spam) for Right and Left click
  • Support for AFK farms when respecting cool down
  • Configurable spam timeout (speed)
  • (almost) No janky key press logic, all native Minecraft key button handling.

How to use (Subject to change)

  • Open GUI with O (default key) to enable and edit the settings of each button being clicked
  • Use I (default key) to enable auto clicker

Option descriptions

  • Active: Enables that key to be held when Auto Clicker is active (holding)
  • Spamming: Enables per tick spamming meaning every tick the button is quickly pressed and un-pressed
  • Speed: Speed controls how fast (per tick) the spamming will happen, 0 being the quickest, 10 being the fastest
  • Respect cooldown: Will Attack only once the cooldown has cooled down ๐ŸŽ‰

Previews

The Imgur Album Auto Clicker

Use on public servers

I DO NOT support the use of this mod on any public servers which do not allow this kind of mod. The mod does work on servers but I do not approve of, and will not, support anyone that attempts to use this mod on servers. I do not have the time to review each issue; I will simply close any issue with server connections in the crash log.

If you wish to use this mod on private servers then that's on you. If you use this on public servers and are banned then that's on you and I will not support your use of this mod in that way.

auto-clicker's People

Contributors

adytech99 avatar dylanje avatar mechazawa avatar michaelhillcox avatar mikeebj avatar scopezs avatar sctigercat1 avatar teslicek avatar whatupdave avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

auto-clicker's Issues

1.18.2

Hey, can you update it to 1.18.2 ?
And can you make it work with the inventory opened

Toggling autoclicker off disables all buttons instead of just the ones the autoclicker is clicking

Describe the bug
When toggling the "Holding Keys" button off, all buttons are unheld instead of just the ones the autoclicker is clicking.

To Reproduce
Steps to reproduce the behavior:

  1. Set the config to only click one button, like the left click (attack) button.
  2. Activate the autoclicker.
  3. Jump in place by holding down the space button
  4. Deactivate the autoclicker while still jumping.

Expected behavior
The autoclicker should stop clicking the attack button, but I should continue jumping without any breaks

What actually happens
The autoclicker stops clicking the attack button, but it also disables the space button. I have to tap the spacebar again to start jumping.

Minecraft Enviorment

  • Minecraft Version: [1.21]
  • Auto-Clicker Mod Version: [21.0.0]

Additional context
This is particularly irritating when enabling / disabling autoclicker whilst sprint jumping, as you have to reset holding down the spacebar every time.

Link mod config to ModMenu

Is your feature request related to a problem? Please describe.
Right now, opening the mod's config screen takes up an entire key-bind which could have been used for something else.

Describe the solution you'd like
The config should be linked to the "open config" button in Mod Menu.

Describe alternatives you've considered
None

Additional context
None

[Bug]: Breaks blocks when spamming is set to true

Describe the bug
The autoclicker breaks blocks when spamming is set to true

To Reproduce
Steps to reproduce the behavior:

  1. Set the settings like this
    image
  2. Start attacking the block, it will slowly break with each hit and will break soon

Expected behavior
After each hit, the progress of breaking the block is reset

Screenshots
image

Minecraft Enviorment

  • Minecraft Version: 1.20.4
  • XRay Mod Version: 84.0.0
  • Fabric Loader Version: 0.15.6
  • Fabric Api Version: 0.95.0+1.20.4

Add profiles to the mod

Don't think this one needs much explanation, but I think it'd be nice to be able to save a few profiles so you don't have to manually adjust settings when switching farms :)
It'd be nice if you could give them names too, e.g. "Stacking Raid Farm", "Wither Skeleton Farm" or "Enderman Farm"

I love the mod btw, it's great!

Breaking or Hitting Toggle

Is your feature request related to a problem? Please describe.
I'm always frustrated when the mod starts breaking blocks at my AFK farm. When I want it to hit mobs, I want it to hit mobs only, not start breaking the wall with my sword once all the mobs are dead.

Describe the solution you'd like
I think a good solution would be to implement a toggle in the settings between breaking/hitting/combined
When breaking is selected, the mod can hold down the button.
When hitting is selected, the mod will click without holding down the button.

Describe alternatives you've considered
The mod could use the tool in hand and what it's looking at to determine what the correct action is.

Hope this is resolved soon, fantastic mod.

The mod attacks entities even if the player is dead

Describe the bug
The mod continues to attack entities during the player's dying animation, when the PlayerEntity is not yet removed from the world.

To Reproduce
Steps to reproduce the behavior:

  1. Get in a hole with a mob, like a villager
  2. Attack with mob mod on.
  3. Kill yourself by doing /kill (any method works, but /kill is easiest)
  4. Do not respawn yet. Observe on your screen that the villager is still being attacked even though you are dead.

Expected behavior
The mod should stop attacking if the player is dead.

Minecraft Enviorment

  • Minecraft Version: [1.21]
  • XRay Mod Version: [21.0.0]

Additional context
None

Inventory open issue

Is your feature request related to a problem? Please describe.
You can't have inventory open when the auto clicker is enabled.

Describe the solution you'd like
The solution should be implemented like auto fish mod or TbscCliker use where the clicker is active even if the inventory is open.

crashes in MC 1.20.2 with Fabric 0.90.4

I use the Mondrinth laucher, Java 17, Windows 11. No other mods (except the Fabric API) installed.

To Reproduce
Steps to reproduce the behavior:

  1. Run the game.
  2. Enter a world (no difference if local freshly created or a public server).
  3. Pres O to enter the mod settings.
  4. "Saving the game" message appears in the game, game terminates.

Expected behavior
The settings dialog opens.

Minecraft Enviorment

  • Minecraft Version: [eg: 1.20.2]
  • Fabric 0.90.4

Additional context
Crash log:
[09:18:13] [main/INFO]: Loading Minecraft 1.20.2 with Fabric Loader 0.14.22
[09:18:14] [main/INFO]: Loading 54 mods:
- autoclicker-fabric 1.20.1-1.8.0-build.25
- fabric-api 0.90.4+1.20.2
|-- fabric-api-base 0.4.33+fce67b32a0
|-- fabric-api-lookup-api-v1 1.6.42+b1792f7da0
|-- fabric-biome-api-v1 13.0.14+b1792f7da0
|-- fabric-block-api-v1 1.0.12+73761d2ea0
|-- fabric-block-view-api-v2 1.0.1+73761d2ea0
|-- fabric-blockrenderlayer-v1 1.1.43+f4b7e424a0
|-- fabric-client-tags-api-v1 1.1.4+86b12645a0
|-- fabric-command-api-v1 1.2.37+f71b366fa0
|-- fabric-command-api-v2 2.2.16+b1792f7da0
|-- fabric-commands-v0 0.2.54+df3654b3a0
|-- fabric-containers-v0 0.1.74+df3654b3a0
|-- fabric-content-registries-v0 5.0.5+b1792f7da0
|-- fabric-convention-tags-v1 1.5.8+b1792f7da0
|-- fabric-crash-report-info-v1 0.2.20+f4b7e424a0
|-- fabric-data-generation-api-v1 13.1.4+b1792f7da0
|-- fabric-dimensions-v1 2.1.57+b1792f7da0
|-- fabric-entity-events-v1 1.5.26+b1792f7da0
|-- fabric-events-interaction-v0 0.6.10+b1792f7da0
|-- fabric-events-lifecycle-v0 0.2.69+df3654b3a0
|-- fabric-game-rule-api-v1 1.0.41+b1792f7da0
|-- fabric-item-api-v1 2.1.33+b1792f7da0
|-- fabric-item-group-api-v1 4.0.15+e3d2bf3fa0
|-- fabric-key-binding-api-v1 1.0.38+f4b7e424a0
|-- fabric-keybindings-v0 0.2.36+df3654b3a0
|-- fabric-lifecycle-events-v1 2.2.27+b1792f7da0
|-- fabric-loot-api-v2 2.1.1+3ba460fba0
|-- fabric-message-api-v1 6.0.2+e3d2bf3fa0
|-- fabric-mining-level-api-v1 2.1.55+f4b7e424a0
|-- fabric-model-loading-api-v1 1.0.6+b1792f7da0
|-- fabric-models-v0 0.4.5+9386d8a7a0
|-- fabric-networking-api-v1 3.0.10+b1792f7da0
|-- fabric-object-builder-api-v1 12.1.2+2ff98d3ba0
|-- fabric-particles-v1 1.1.4+f4b7e424a0
|-- fabric-recipe-api-v1 2.0.7+b1792f7da0
|-- fabric-registry-sync-v0 4.0.5+b1792f7da0
|-- fabric-renderer-api-v1 3.2.1+2034447ca0
|-- fabric-renderer-indigo 1.5.1+2034447ca0
|-- fabric-renderer-registries-v1 3.2.49+df3654b3a0
|-- fabric-rendering-data-attachment-v1 0.3.39+73761d2ea0
|-- fabric-rendering-fluids-v1 3.0.30+f4b7e424a0
|-- fabric-rendering-v0 1.1.52+df3654b3a0
|-- fabric-rendering-v1 3.0.11+b1792f7da0
|-- fabric-resource-conditions-api-v1 2.3.10+e3d2bf3fa0
|-- fabric-resource-loader-v0 0.11.12+b1792f7da0
|-- fabric-screen-api-v1 2.0.12+b1792f7da0
|-- fabric-screen-handler-api-v1 1.3.40+b1792f7da0
|-- fabric-sound-api-v1 1.0.14+f4b7e424a0
|-- fabric-transfer-api-v1 3.3.9+b1792f7da0
-- fabric-transitive-access-wideners-v1 5.0.3+fce67b32a0
- fabricloader 0.14.22
- java 17
- minecraft 1.20.2
[09:18:14] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=file:/C:/Users/{COMPUTER_USERNAME}/AppData/Roaming/com.modrinth.theseus/meta/libraries/net/fabricmc/sponge-mixin/0.12.5+mixin.0.8.5/sponge-mixin-0.12.5+mixin.0.8.5.jar Service=Knot/Fabric Env=CLIENT
[09:18:14] [main/INFO]: Compatibility level set to JAVA_16
[09:18:14] [main/INFO]: Compatibility level set to JAVA_17
[09:18:21] [Datafixer Bootstrap/INFO]: 192 Datafixer optimizations took 152 milliseconds
[09:18:23] [Render thread/INFO]: Environment: Environment[accountsHost=https://api.mojang.com, sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, name=PROD]
[09:18:24] [Render thread/INFO]: Setting user: {MINECRAFT_USERNAME}
[09:18:24] [Render thread/INFO]: Auto Clicker Initialised
[09:18:25] [Render thread/INFO]: [Indigo] Registering Indigo renderer!
[09:18:25] [Render thread/INFO]: Backend library: LWJGL version 3.3.2-snapshot
[09:18:26] [Render thread/INFO]: Reloading ResourceManager: vanilla, fabric (autoclicker-fabric, fabric-api, fabric-api-base, fabric-api-lookup-api-v1, fabric-biome-api-v1, fabric-block-api-v1, fabric-block-view-api-v2, fabric-blockrenderlayer-v1, fabric-client-tags-api-v1, fabric-command-api-v1, fabric-command-api-v2, fabric-commands-v0, fabric-containers-v0, fabric-content-registries-v0, fabric-convention-tags-v1, fabric-crash-report-info-v1, fabric-data-generation-api-v1, fabric-dimensions-v1, fabric-entity-events-v1, fabric-events-interaction-v0, fabric-events-lifecycle-v0, fabric-game-rule-api-v1, fabric-item-api-v1, fabric-item-group-api-v1, fabric-key-binding-api-v1, fabric-keybindings-v0, fabric-lifecycle-events-v1, fabric-loot-api-v2, fabric-message-api-v1, fabric-mining-level-api-v1, fabric-model-loading-api-v1, fabric-models-v0, fabric-networking-api-v1, fabric-object-builder-api-v1, fabric-particles-v1, fabric-recipe-api-v1, fabric-registry-sync-v0, fabric-renderer-api-v1, fabric-renderer-indigo, fabric-renderer-registries-v1, fabric-rendering-data-attachment-v1, fabric-rendering-fluids-v1, fabric-rendering-v0, fabric-rendering-v1, fabric-resource-conditions-api-v1, fabric-resource-loader-v0, fabric-screen-api-v1, fabric-screen-handler-api-v1, fabric-sound-api-v1, fabric-transfer-api-v1, fabric-transitive-access-wideners-v1, fabricloader)
[09:18:27] [Worker-Main-14/INFO]: Found unifont_all_no_pua-15.0.06.hex, loading
[09:18:28] [Render thread/WARN]: Missing sound for event: minecraft:item.goat_horn.play
[09:18:28] [Render thread/WARN]: Missing sound for event: minecraft:entity.goat.screaming.horn_break
[09:18:29] [Render thread/INFO]: OpenAL initialized on device OpenAL Soft on Reproduktory (3 - FiiO BTA30 PRO)
[09:18:29] [Render thread/INFO]: Sound engine started
[09:18:29] [Render thread/INFO]: Created: 1024x512x4 minecraft:textures/atlas/blocks.png-atlas
[09:18:29] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/signs.png-atlas
[09:18:29] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/banner_patterns.png-atlas
[09:18:29] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/shield_patterns.png-atlas
[09:18:29] [Render thread/INFO]: Created: 1024x1024x4 minecraft:textures/atlas/armor_trims.png-atlas
[09:18:29] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas
[09:18:29] [Render thread/INFO]: Created: 128x64x4 minecraft:textures/atlas/decorated_pot.png-atlas
[09:18:29] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas
[09:18:29] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas
[09:18:29] [Render thread/WARN]: Shader rendertype_entity_translucent_emissive could not find sampler named Sampler2 in the specified shader program.
[09:18:29] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/particles.png-atlas
[09:18:29] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/paintings.png-atlas
[09:18:29] [Render thread/INFO]: Created: 128x128x0 minecraft:textures/atlas/mob_effects.png-atlas
[09:18:29] [Render thread/INFO]: Created: 1024x512x0 minecraft:textures/atlas/gui.png-atlas
[09:19:00] [Render thread/INFO]: Loaded 7 recipes
[09:19:00] [Render thread/INFO]: Loaded 1271 advancements
[09:19:05] [Render thread/INFO]: Applied 0 biome modifications to 0 of 64 new biomes in 1.562 ms
[09:19:05] [Server thread/INFO]: Starting integrated minecraft server version 1.20.2
[09:19:05] [Server thread/INFO]: Generating keypair
[09:19:09] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[09:19:10] [Render thread/INFO]: Preparing spawn area: 0%
[09:19:10] [Render thread/INFO]: Preparing spawn area: 0%
[09:19:10] [Render thread/INFO]: Preparing spawn area: 0%
[09:19:10] [Render thread/INFO]: Preparing spawn area: 0%
[09:19:11] [Render thread/INFO]: Preparing spawn area: 1%
[09:19:11] [Render thread/INFO]: Preparing spawn area: 2%
[09:19:12] [Render thread/INFO]: Preparing spawn area: 3%
[09:19:12] [Render thread/INFO]: Preparing spawn area: 5%
[09:19:13] [Render thread/INFO]: Preparing spawn area: 7%
[09:19:13] [Render thread/INFO]: Preparing spawn area: 10%
[09:19:14] [Render thread/INFO]: Preparing spawn area: 14%
[09:19:14] [Render thread/INFO]: Preparing spawn area: 16%
[09:19:15] [Render thread/INFO]: Preparing spawn area: 18%
[09:19:15] [Render thread/INFO]: Preparing spawn area: 23%
[09:19:16] [Render thread/INFO]: Preparing spawn area: 26%
[09:19:16] [Render thread/INFO]: Preparing spawn area: 30%
[09:19:17] [Render thread/INFO]: Preparing spawn area: 32%
[09:19:17] [Render thread/INFO]: Preparing spawn area: 37%
[09:19:18] [Render thread/INFO]: Preparing spawn area: 42%
[09:19:18] [Render thread/INFO]: Preparing spawn area: 44%
[09:19:19] [Render thread/INFO]: Preparing spawn area: 48%
[09:19:19] [Render thread/INFO]: Preparing spawn area: 54%
[09:19:20] [Render thread/INFO]: Preparing spawn area: 56%
[09:19:20] [Render thread/INFO]: Preparing spawn area: 61%
[09:19:21] [Render thread/INFO]: Preparing spawn area: 64%
[09:19:21] [Render thread/INFO]: Preparing spawn area: 68%
[09:19:22] [Render thread/INFO]: Preparing spawn area: 72%
[09:19:22] [Render thread/INFO]: Preparing spawn area: 76%
[09:19:23] [Render thread/INFO]: Preparing spawn area: 81%
[09:19:23] [Render thread/INFO]: Preparing spawn area: 84%
[09:19:24] [Render thread/INFO]: Preparing spawn area: 86%
[09:19:24] [Render thread/INFO]: Preparing spawn area: 92%
[09:19:25] [Render thread/INFO]: Preparing spawn area: 96%
[09:19:25] [Render thread/INFO]: Time elapsed: 16226 ms
[09:19:25] [Server thread/INFO]: Changing view distance to 12, from 10
[09:19:25] [Server thread/INFO]: Changing simulation distance to 12, from 0
[09:19:26] [Netty Server IO #1/INFO]: Negotiated common packet version 1
[09:19:26] [Netty Local Client IO #0/INFO]: Negotiated common packet version 1
[09:19:26] [Server thread/INFO]: {MINECRAFT_USERNAME}[local:E:ab6fd7ce] logged in with entity id 173 at (-227.5, 70.0, 385.5)
[09:19:27] [Server thread/INFO]: {MINECRAFT_USERNAME} joined the game
[09:19:27] [Render thread/INFO]: Loaded 2 advancements
[09:19:28] [Server thread/INFO]: Saving and pausing game...
[09:19:28] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:overworld
[09:19:29] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_nether
[09:19:29] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_end
[09:20:17] [Server thread/INFO]: Stopping server
[09:20:17] [Server thread/INFO]: Saving players
[09:20:17] [Server thread/INFO]: Saving worlds
[09:20:18] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:overworld
[09:20:19] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_nether
[09:20:19] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_end
[09:20:19] [Server thread/INFO]: ThreadedAnvilChunkStorage (New World): All chunks are saved
[09:20:19] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[09:20:19] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[09:20:19] [Server thread/INFO]: ThreadedAnvilChunkStorage: All dimensions are saved
[09:20:19] [Render thread/ERROR]: Reported exception thrown!
net.minecraft.class_148: Rendering screen
at net.minecraft.class_757.method_3192(class_757.java:955) ~[client-intermediary.jar:?]
at net.minecraft.class_310.method_1523(class_310.java:1275) ~[client-intermediary.jar:?]
at net.minecraft.class_310.method_1514(class_310.java:856) ~[client-intermediary.jar:?]
at net.minecraft.client.main.Main.main(Main.java:253) ~[1.20.2-0.14.22.jar:?]
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:468) ~[fabric-loader-0.14.22.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) ~[fabric-loader-0.14.22.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) ~[fabric-loader-0.14.22.jar:?]
Caused by: java.lang.NoSuchMethodError: 'void pro.mikey.autoclicker.OptionsScreen.method_25420(net.minecraft.class_332)'
at pro.mikey.autoclicker.OptionsScreen.method_25394(OptionsScreen.java:141) ~[auto-clicker-fabric-1.20.1-1.8.0-build.25.jar:?]
at net.minecraft.class_437.method_47413(class_437.java:110) ~[client-intermediary.jar:?]
at net.minecraft.class_757.method_3192(class_757.java:946) ~[client-intermediary.jar:?]
... 6 more

Renaming Spamming to Clicking

Is your feature request related to a problem? Please describe.
The toggle buttons have the name "Spamming". I think that the title may confuse people

Describe the solution you'd like
Renaming Spamming to Clicking in the toggle buttons
Clicking sounds more like what the toggle changes

Forge Port

Please make a Forge port for this mod, would be greatly appreciated!

Autoclicker fails to work if `speed` is set to `1`

Describe the bug
If you set the speed option to 1 in the config, the autoclicker will click once then completely fail to do anything.

To Reproduce
Note, I am using left click in my example, but this bug happens for all buttons.

  1. Activate left click
  2. Set spamming to true
  3. Set speed to 1.

Expected behavior
The mod should click the button every tick

What actually happens
The mod does one click, and then nothing after that

Minecraft Enviorment

  • Minecraft Version: [1.21]
  • Mod Version: [21.0.2]

How to use

Could You Add Some kind of way to find how to activate the mod. I just dowloaded it and I can't find how to use it.

The mod attacks entities that are in the dying stage

Describe the bug
When autoclicking with Mob Mode on, the mod attacks entities that are dying, i.e. in the dying animation

To Reproduce
Steps to reproduce the behavior:

  1. Put a villager, or any mob, in a hole
  2. Autoclick with mob mode on
  3. Preferably do this with a sword to speed up the process.
  4. Wait until the villager dies.
  5. The mod will do an extra click during their dying animation.

Expected behavior
The mod should stop clicking when the mob is in the dying phase.

Minecraft Enviorment

  • Minecraft Version: [1.21]
  • AutoClicker Mod Version: [21.0.0]

Additional context
This is an issue as it wastes an extra click + cooldown time on a dead mob.

Add a togglable option to not hit when shield is up

Is your feature request related to a problem? Please describe.
The mod left clicks (attacks) even if my shield is up. This is annoying since I don't always want the autoclicker to hit while my shield is up.

Describe the solution you'd like
A config option "Respect shield" that pauses the attack when shield is up

Describe alternatives you've considered
None

Additional context
None

How do I change the default key?

I'd like to be able to change the default key away from I because it interferes with another mods default key

It'd be great if the UX allowed me to change that

Even if I could change the default key in a .json file, I personally would be ok with that.

Thanks for a great mod! :)

Disable autoclicker on death.

Is your feature request related to a problem? Please describe.
If I die, and respawn, the autoclicker remains active. This is annoying because I may not want to hit any entity, (like a pet) around my respawn point.

Describe the solution you'd like
The autoclicker should disable itself if I die.

Describe alternatives you've considered
Attempting to quickly toggle autoclicker keybind doesn't always work, since I forget sometimes and/or I'm not quick enough.

Additional context
None

[feature] auto click for other key combos than attack/use

it would be nice to have auto click ability on any key combo.

implementation idea:

  • add button "add key group"
  • for each key group created:
    • interval in ticks
    • toggle key
    • "add key"-button for adding the keys to be pressed at an interval when this group gets toggled.

it should be possible that the keypress issued by one key-group can be the toggle key for another key group.

Auto-attacker

Add toggle/mode that will attack entity that is player looking at (aka swing sword) with customizable delay (from 0 to 10 seconds with maximum possible granularity) and rng delay that will mask it from autoclick detectors (just add random delay to main delay from specified interval)

port to 1.19.1

Pretty self explanitory, I changed the fabric mod json and that worked fine.

More than 50 ticks support

Is your feature request related to a problem? Please describe.
When using certain farms, it would be preferred to have the sword swing once every 5 mins or 10 mins depending on the type of farm

Describe the solution you'd like
The slider could be replaced with an input box, where you mention the number of ticks manually by typing it in

Describe alternatives you've considered
No alternative as of now, not that I know of

Additional context
Add any other context or screenshots about the feature request here.

Compatibility with the mod 'freecam'

Currently, when using both freecam and this mod, when in freecam mode the autoclicker doesn't work, so i'd like to request that instead, the player continues to do the autoclicking while in freecam mode.

Add an option to move the HUD

Is your feature request related to a problem? Please describe.
Yes, the HUD that display whenever you are using AutoClicker from this mod or not
It kinda "in the way" with other HUDs

Describe the solution you'd like
Maybe an option to change the X/Y Offset

Describe alternatives you've considered
Similar but maybe draggable?

Additional context
image

Displayed speed slider value is one off from set value when reopening options menu

Describe the bug
When opening the options menu and using the slider to set a tick speed, the text within the slider will display/confirm a selected tick speed. When closing the options menu and re-opening, the displayed tick speed within the slider is one off from previously displayed/set tick speed.

To Reproduce
Steps to reproduce the behavior:

  1. Open options menu, and set any speed slider to 35 ticks as displayed set value.
  2. Close options menu, and reopen options menu to view speed slider displaying a value of 34 ticks.

Expected behavior
Expect the displayed set value in slider to persist on closing and re-opening options menu.

Screenshots
Setting all speed sliders to 35 ticks

image

Closing and reopening options menu

image

Minecraft Enviorment

  • Minecraft Version: 1.19.3
  • XRay Mod Version: 1.5.0
  • Fabric Version: fabric-api-0.72.0+1.19.3

Additional context
The issue seems to happen only for certain odd integer values, and when it does happen, the error is consistently one less than actual selected value.

Planned changes

Just putting this down here so my plans are clear to anyone that might want to support the project

Changes

  • Multi-loader support (Fabric, NeoForge, Forge). This can be done without any extra libs (aka Architectury)
    • Move mappings to Minecraft to allow for this
  • Support all keys using a new GUI that would list the keys on the left side and have the settings on a larger panel to the right (See mod menu / Forge's mod list)
    • Allow for the more advanced toggles to work on all keys regardless of use-case. This would mean they can all be aware of when you're looking at a mob, player, etc
    • Support key groupings
    • Support mass editing

Anything more?

If you have more ideas, please post them in the comments here and I'll add them as I see fit :D

Suggestion Autoclicker

Please replace the ticks button with cps bar where you can type the cps you want for the autoclicker. Same bar like if you create an world where you create name for it. like add this also to the gui menu where you can enter custom cps. and then may delete the ticks bar.

Feature Requests - Auto Clicker 1.17.1

  1. Disable attacking when one Hunger left (Or settable).
  2. Disable attacking when one Heart left (Or settable).
  3. Auto disable on move (WASD).
  4. Don't attack players. (Or settable blacklist for player/mobs)
  5. Auto Eat.

1.20.2 support

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Crash

The game keeps crashing when I load it, I use Jumploader.
I expected it to load.

  • Minecraft Version: [1.16.5]
  • mod version is 1.0.0

Crash

Describe the bug
Minecraft is crashing when tried to start.

To Reproduce
Start the game

Expected behavior
Not crash

Screenshots
If applicable (delete if not), add screenshots to help explain your problem.

Minecraft Enviorment
`---- Minecraft Crash Report ----
// Who set us up the TNT?

Time: 7/18/21, 5:52 PM
Description: Initializing game

java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'autoclicker-fabric'!
at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:53)
at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke(EntrypointUtils.java:36)
at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointClient.start(EntrypointClient.java:32)
at net.minecraft.class_310.(class_310.java:437)
at net.minecraft.client.main.Main.main(Main.java:177)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:226)
at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:146)
at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:196)
at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:231)
at org.multimc.EntryPoint.listen(EntryPoint.java:143)
at org.multimc.EntryPoint.main(EntryPoint.java:34)
Caused by: java.lang.NoClassDefFoundError: net/minecraft/text/Text
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:398)
at net.fabricmc.loader.util.DefaultLanguageAdapter.create(DefaultLanguageAdapter.java:45)
at net.fabricmc.loader.EntrypointStorage$NewEntry.create(EntrypointStorage.java:112)
at net.fabricmc.loader.EntrypointStorage$NewEntry.getOrCreate(EntrypointStorage.java:99)
at net.fabricmc.loader.EntrypointStorage.lambda$getEntrypointContainers$1(EntrypointStorage.java:184)
at net.fabricmc.loader.entrypoint.EntrypointContainerImpl.getEntrypoint(EntrypointContainerImpl.java:37)
at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:50)
... 19 more
Caused by: java.lang.ClassNotFoundException: net.minecraft.text.Text
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
at net.fabricmc.loader.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:168)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 27 more

A detailed walkthrough of the error, its code path and all known details is as follows:

-- Head --
Thread: Render thread
Stacktrace:
at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:53)
at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke(EntrypointUtils.java:36)
at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointClient.start(EntrypointClient.java:32)
at net.minecraft.class_310.(class_310.java:437)

-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.main.Main.main(Main.java:177)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:226)
at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:146)
at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:196)
at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:231)
at org.multimc.EntryPoint.listen(EntryPoint.java:143)
at org.multimc.EntryPoint.main(EntryPoint.java:34)

-- System Details --
Details:
Minecraft Version: 1.16.5
Minecraft Version ID: 1.16.5
Operating System: Windows 10 (amd64) version 10.0
Java Version: 11.0.10, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 719323136 bytes (686 MB) / 1476395008 bytes (1408 MB) up to 9529458688 bytes (9088 MB)
CPUs: 8
JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xms1408m -Xmx9088m
Fabric Mods:
autoclicker-fabric: Auto Clicker 1.16.5-1.0.1-build.3
autoconfig1u: Auto Config v1 Updated 3.3.1
better-world-list: Better World List 1.0.4-1.16.2
betterf3: BetterF3 1.1.3
cloth-basic-math: Cloth Basic Math 0.5.1
cloth-config2: Cloth Config v4 4.11.19
fabric: Fabric API 0.36.0+1.16
fabric-api-base: Fabric API Base 0.3.0+c88702897d
fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.2.0+6aebe11a7d
fabric-biome-api-v1: Fabric Biome API (v1) 3.1.10+3661eaa17d
fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.5+ca58154a7d
fabric-command-api-v1: Fabric Command API (v1) 1.1.1+351679a77d
fabric-commands-v0: Fabric Commands (v0) 0.2.2+ca58154a7d
fabric-containers-v0: Fabric Containers (v0) 0.1.11+9354966b7d
fabric-content-registries-v0: Fabric Content Registries (v0) 0.2.1+ca58154a7d
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.3+ca58154a7d
fabric-dimensions-v1: Fabric Dimensions API (v1) 2.0.6+61336ba97d
fabric-entity-events-v1: Fabric Entity Events (v1) 1.1.0+c88702897d
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.3+f941baf07d
fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.1+ca58154a7d
fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.6+ca58154a7d
fabric-item-api-v1: Fabric Item API (v1) 1.2.1+ca58154a7d
fabric-item-groups-v0: Fabric Item Groups (v0) 0.2.7+2868a2287d
fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.4+9354966b7d
fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.1+ca58154a7d
fabric-language-kotlin: Fabric Language Kotlin 1.5.0+kotlin.1.4.31
fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 1.2.1+ca58154a7d
fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.0.2+ca58154a7d
fabric-mining-levels-v0: Fabric Mining Levels (v0) 0.1.3+ca58154a7d
fabric-models-v0: Fabric Models (v0) 0.3.0+bc7a746f7d
fabric-networking-api-v1: Fabric Networking API (v1) 1.0.3+e3c9d0627d
fabric-networking-blockentity-v0: Fabric Networking Block Entity (v0) 0.2.8+ca58154a7d
fabric-networking-v0: Fabric Networking (v0) 0.3.2+ca58154a7d
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 1.9.5+c88702897d
fabric-object-builders-v0: Fabric Object Builders (v0) 0.7.2+ca58154a7d
fabric-particles-v1: Fabric Particles (v1) 0.2.4+ca58154a7d
fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.7.4+ca58154a7d
fabric-renderer-api-v1: Fabric Renderer API (v1) 0.4.3+0ef801b67d
fabric-renderer-indigo: Fabric Renderer - Indigo 0.4.4+ca58154a7d
fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 2.3.0+2868a2287d
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.1.5+ca58154a7d
fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 0.1.13+ca58154a7d
fabric-rendering-v0: Fabric Rendering (v0) 1.1.2+ca58154a7d
fabric-rendering-v1: Fabric Rendering (v1) 1.6.0+2868a2287d
fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.4.6+2868a2287d
fabric-screen-api-v1: Fabric Screen API (v1) 1.0.0+c045166c7d
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.1.5+9354966b7d
fabric-structure-api-v1: Fabric Structure API (v1) 1.1.11+ca0ef93d7d
fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 1.1.1+ca58154a7d
fabric-textures-v0: Fabric Textures (v0) 1.0.6+ca58154a7d
fabric-tool-attribute-api-v1: Fabric Tool Attribute API (v1) 1.2.7+8183d3957d
fabricloader: Fabric Loader 0.11.3
fpsdisplay: FPS-Display 1.4.1+1.16.4
iris: Iris 1.1.0+rev.6ad325a
java: Java HotSpot(TM) 64-Bit Server VM 11
litematica: Litematica 0.0.0-dev.20210612.170003
malilib: MaLiLib 0.10.0-dev.21+arne.5
minecraft: Minecraft 1.16.5
modmenu: Mod Menu 1.16.9
org_jetbrains_kotlin_kotlin-reflect: kotlin-reflect 1.4.31
org_jetbrains_kotlin_kotlin-stdlib: kotlin-stdlib 1.4.31
org_jetbrains_kotlin_kotlin-stdlib-jdk7: kotlin-stdlib-jdk7 1.4.31
org_jetbrains_kotlin_kotlin-stdlib-jdk8: kotlin-stdlib-jdk8 1.4.31
org_jetbrains_kotlinx_kotlinx-coroutines-core-jvm: kotlinx-coroutines-core-jvm 1.4.2
org_jetbrains_kotlinx_kotlinx-coroutines-jdk8: kotlinx-coroutines-jdk8 1.4.2
org_jetbrains_kotlinx_kotlinx-serialization-core-jvm: kotlinx-serialization-core-jvm 1.1.0
org_jetbrains_kotlinx_kotlinx-serialization-json-jvm: kotlinx-serialization-json-jvm 1.1.0
smoothboot: Smooth Boot 1.16.5-1.6.0
sodium: Sodium 0.2.0+IRIS3-rev.2c3e7cc
worldedit: WorldEdit 7.2.5+57d5ac9
worldeditcui: WorldEditCUI 1.16.5+02
wthit: wthit 2.10.5
xaerominimap: Xaero's Minimap 21.14.0
xaeroworldmap: Xaero's World Map 1.15.0.1
Launched Version: MultiMC5
Backend library: LWJGL version 3.2.2 build 10
Backend API: NO CONTEXT
GL Caps:
Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'fabric'
Type: Client (map_client.txt)
CPU: `

Changing the config text to a non json-conforming text (which can happen by accident) crashes the mod.

Describe the bug
Changing the config text, by manually opening the config, to a non json-conforming text (which can happen by accident) crashes the mod.

To Reproduce
Steps to reproduce the behavior:

  1. Open auto-clicker-fabric.json config file
  2. Deliberately make a mistake in the file, example: remove a quote (") or delete a colon (:)

Expected behavior
The mod should detect the error, and regenerate the config.

What actually happens
The mod crashes.

Crash log
net.fabricmc.loader.impl.FormattedException: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Expected ':' at line 1 column 130 path $.rightCli{
at net.fabricmc.loader.impl.FormattedException.ofLocalized(FormattedException.java:63) ~[fabric-loader-0.15.11.jar:?]
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:472) ~[fabric-loader-0.15.11.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.15.11.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) [fabric-loader-0.15.11.jar:?]
at net.fabricmc.devlaunchinjector.Main.main(Main.java:86) [dev-launch-injector-0.2.1+build.8.jar:?]
Caused by: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Expected ':' at line 1 column 130 path $.rightCli{
at com.google.gson.Gson.fromJson(Gson.java:1241) ~[gson-2.10.1.jar:?]
at com.google.gson.Gson.fromJson(Gson.java:1137) ~[gson-2.10.1.jar:?]
at com.google.gson.Gson.fromJson(Gson.java:1075) ~[gson-2.10.1.jar:?]
at pro.mikey.autoclicker.AutoClicker.clientReady(AutoClicker.java:90) ~[main/:?]
at net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientLifecycleEvents.lambda$static$0(ClientLifecycleEvents.java:35) ~[fabric-lifecycle-events-v1-2.3.9+98a7dbbb90.jar:?]
at net.minecraft.client.MinecraftClient.handler$zif000$fabric-lifecycle-events-v1$onStart(MinecraftClient.java:4375) ~[minecraft-merged-4eb0fe4bb6-1.21-net.fabricmc.yarn.1_21.1.21+build.1-v2.jar:?]
at net.minecraft.client.MinecraftClient.run(MinecraftClient.java:819) ~[minecraft-merged-4eb0fe4bb6-1.21-net.fabricmc.yarn.1_21.1.21+build.1-v2.jar:?]
at net.minecraft.client.main.Main.main(Main.java:224) ~[minecraft-merged-4eb0fe4bb6-1.21-net.fabricmc.yarn.1_21.1.21+build.1-v2.jar:?]
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) ~[fabric-loader-0.15.11.jar:?]
... 3 more
Caused by: com.google.gson.stream.MalformedJsonException: Expected ':' at line 1 column 130 path $.rightCli{
at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1659) ~[gson-2.10.1.jar:?]
at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:539) ~[gson-2.10.1.jar:?]
at com.google.gson.stream.JsonReader.skipValue(JsonReader.java:1256) ~[gson-2.10.1.jar:?]
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:391) ~[gson-2.10.1.jar:?]
at com.google.gson.Gson.fromJson(Gson.java:1227) ~[gson-2.10.1.jar:?]
at com.google.gson.Gson.fromJson(Gson.java:1137) ~[gson-2.10.1.jar:?]
at com.google.gson.Gson.fromJson(Gson.java:1075) ~[gson-2.10.1.jar:?]
at pro.mikey.autoclicker.AutoClicker.clientReady(AutoClicker.java:90) ~[main/:?]
at net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientLifecycleEvents.lambda$static$0(ClientLifecycleEvents.java:35) ~[fabric-lifecycle-events-v1-2.3.9+98a7dbbb90.jar:?]
at net.minecraft.client.MinecraftClient.handler$zif000$fabric-lifecycle-events-v1$onStart(MinecraftClient.java:4375) ~[minecraft-merged-4eb0fe4bb6-1.21-net.fabricmc.yarn.1_21.1.21+build.1-v2.jar:?]
at net.minecraft.client.MinecraftClient.run(MinecraftClient.java:819) ~[minecraft-merged-4eb0fe4bb6-1.21-net.fabricmc.yarn.1_21.1.21+build.1-v2.jar:?]
at net.minecraft.client.main.Main.main(Main.java:224) ~[minecraft-merged-4eb0fe4bb6-1.21-net.fabricmc.yarn.1_21.1.21+build.1-v2.jar:?]
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) ~[fabric-loader-0.15.11.jar:?]
... 3 more

Process finished with exit code 1

Minecraft Enviorment

  • Minecraft Version: [1.21]
  • XRay Mod Version: [21.0.1]

Additional context
None

It's just what I was looking for!

I just wanted to say a big thank you!
For a long time I was looking for such a solution at my farms, trying different auto-clickers, caught virus and was desperate to find an in-game solution...
AND HERE IT IS!

The only thing, which would make the mod even better as it is, is the ability to use a pick when 'Mob mode' is on. It would make a fast exit in a hairy situation easier ;)

Thank you for your work, your dedication and your time.

mob clicking

when mobs build up at will not click for you you have to click it so won't click through the mobs when they build

Custom duration support

There should be a box where one can enter the tick rate they want the attacks to happen in, this should support more than 50 ticks and hence have more flexible usage

Monitoring and Changing Tools while Auto-Clicking

As a user who needs to mine cobblestone and farm produce regularly,
I want to be have my active hand switch when my tool breaks/is on low durability,
So that I can be AFK and mine/farm for longer periods of time with minimal supervision.

Requires fabric but fabric is installed?

[17:26:43] [main/INFO]: Loading Minecraft 1.21 with Fabric Loader 0.15.11
[17:26:44] [main/WARN]: Mod resolution failed
[17:26:44] [main/INFO]: Immediate reason: [HARD_DEP_NO_CANDIDATE autoclicker-fabric 21.0.1 {depends fabric @ []}, ROOT_FORCELOAD_SINGLE autoclicker-fabric 21.0.1]
[17:26:44] [main/INFO]: Reason: [HARD_DEP autoclicker-fabric 21.0.1 {depends fabric @ [
]}]
[17:26:44] [main/INFO]: Fix: add [add:fabric 1 ([(-โˆž,โˆž)])], remove [], replace []
[17:26:44] [main/ERROR]: Incompatible mods found!
net.fabricmc.loader.impl.FormattedException: Some of your mods are incompatible with the game or each other!
A potential solution has been determined, this may resolve your problem:
- Install fabric, any version.
More details:
- Mod 'Auto Clicker' (autoclicker-fabric) 21.0.1 requires any version of fabric, which is missing!
at net.fabricmc.loader.impl.FormattedException.ofLocalized(FormattedException.java:51) ~[fabric-loader-0.15.11.jar:?]
at net.fabricmc.loader.impl.FabricLoaderImpl.load(FabricLoaderImpl.java:195) ~[fabric-loader-0.15.11.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:146) ~[fabric-loader-0.15.11.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:68) [fabric-loader-0.15.11.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) [fabric-loader-0.15.11.jar:?]

Increase maximum time between clicks to above 50 ticks

Is your feature request related to a problem? Please describe.
Currently, the maximum wait time/slowest speed between clicks for the spamming mode is 50 ticks in the options menu. This is uncomfortable (although enough) for things like zombie reinforcement drowned farms, which need to wait 45 seconds for zombie to convert into drowned (which works with something like 45 ticks, but can have issues on lower TPS servers).

Describe the solution you'd like
Increase the time to something like 100 ticks.

Describe alternatives you've considered
Allow setting the max ticks in the config for more precise sliders.

Upload builds to GitHub Releases

Is your feature request related to a problem? Please describe.

At the moment, CurseForge is compromised: https://prismlauncher.org/news/cf-compromised-alert/

This means it's no longer possible to safely download v1.19.4-1.6.1 until the situation is resolved.

Describe the solution you'd like

Uploading a release on GitHub tied to the tag can ensure that the mod is available to non-developers even if CurseForge is down.

This can be done in the GitHub action directly; you can use gh in all GitHub actions.

Example:

      - run: gh release create ${{github.ref_name}} --generate-notes --title ${{github.ref_name}} --verify-tag ./build/libs/auto-clicker-fabric-*.jar
        env:
          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

Describe alternatives you've considered

Uploading to Modrinth would be nice, but I doubt their content policy would allow that.

Additional context

Absolutely fantastic mod btw.

This is a question so skip if u want

I'm trying to create a mod myself but the only part im missing is how to let the mod click for you.
I'm too stoopid to know what lines of coed actually click for you so pls help.

[Bug] Auto clicker stops when inventory is opened.

Describe the bug
When auto clicker is on right click mode, and spam mode off, auto clicker stops if a minecraft inventory (including GUI) is opened.

To Reproduce
Steps to reproduce the behavior:

  1. Enable right click mode, spam false, and mob mode false
  2. Enable the auto clicker
  3. Open a gui or inventory (e.g. survival inventory, Auto-Clicker-Fabric configuration menu, pause menu)
  4. Right click should stop, and not continue when the gui or inventory is closed.

Expected behavior
Right click should continue to be held, even when gui or inventory is opened.

Screenshots
Screenshots are not applicable.

Minecraft Enviorment

  • Minecraft Fabric 1.17.1
  • Mod version 1.17.1-1.2.1-build.13.jar (I was prompted for the XRay mod's version, which is the wrong mod)
  • Fabric loader 0.12.1 (I was prompted for Forge version, which is incorrect as this is a Fabric mod).

Additional context
Expected behaviour happens when mob mode is true, where mob continue to be attacked even when I open a gui/minecraft inventory.

Feel free to reach out for additional questions! Love the work!

IIRC this mod allowed right-click on "Mob mode". Can we have mob mod for right click as well

Is your feature request related to a problem? Please describe.
I had a mod that allowed me to right or left click a mob when i looked at it. While left click is useful for mob farms left click is useful for breeding and villagers

Describe the solution you'd like
The Mob mode button should either not be exclusive to "Attack" or "Use should have a button as well.

Describe alternatives you've considered
A static interval does not work. It skips villagers and sometimes double click them.

Additional context
I trade with my villager with an auto-hotkey script. I detects the gui and what type of villager and autoclicks the pumpkin trade (I also have EasierVillagers installed. I farmed over 200k emeralds this way and 200k quartz blocks. Due to is being on the server and the script also having its own check interval i can not simply have a static spam clicker, I tried. But with one that only clicked when looking at a mob I could just walk sideways in front of my row of villagers and its do the trade. 100 villagers in a minute or two.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.