Wurst-Imperium / Wurst7

Minecraft Wurst Hacked Client v7
https://www.wurstclient.net/download/?utm_source=GitHub&utm_medium=Wurst+Client&utm_content=Wurst7+GitHub+repo+sidebar+website+link
GNU General Public License v3.0
1.03k stars 419 forks source link

Additions/modifications to the AutoMine feature. #1084

Open Zippedy opened 2 weeks ago

Zippedy commented 2 weeks ago

Pre-suggestion checklist

What type of improvement are you suggesting?

Changing the settings of existing features.

What type of player would find this improvement useful?

Miners, Griefers, Redstoners

Description

Hi there, would it be possible to make the Automine feature only mine certain coordinates? The server I play on allows this feature, but when the server restarts, my character keeps punching the wall and there's a custom enchant that allows to tunnel mine which mines a 3x3 square for a 5 block reach.

The AutoMine feature could be set to LookAt/fixedpos to mine the specific coordinates, and when the server restarts my character won't be punching the block.

Would this be something you could implement?

Zippedy commented 2 weeks ago

Also, thank you for your time in developing this modpack :D I really appreciate you and all you do!

Alexander01998 commented 2 weeks ago

Hey @Zippedy! Yeah, I see what you mean. Locking AutoMine to a specific block position sounds useful indeed, also for things like cobblestone generators where you don't want to mine the block behind it.

I think I would implement this by adding a "Lock position" checkbox that locks AutoMine to the first position it mines when enabled, and also an overlay showing where that block is.

At the moment I'm quite busy making NeoForge ports of my other mods, but I've noted this idea for later.

Zippedy commented 2 weeks ago

The server I play on has a reach of 5 blocks for mining. Could there be a way to have a slider to determine how far to reach?

Also, I'm in no rush at all. I just thought I'd give a few suggestions. Some of my friends use your modpack and they don't want to make a github account (Why? I have no clue.).

Thank you for everything you do for this awesome QoL modpack!

(I call it a modpack because it has so many different functions all in one .jar file).

Zippedy commented 2 weeks ago

If I knew how to code/develop it, I would totally help you. I have no experience or knowledge with this topic. I've been interested in learning how to make modpacks and such lately.

Alexander01998 commented 2 weeks ago

Thank you for the kind words! 😊

Could there be a way to have a slider to determine how far to reach?

Range works a bit differently in AutoMine compared to hacks like Nuker. AutoMine should automatically follow the server's block interaction range gamerule, except if you also have the Reach hack enabled then it will use that instead.

I could add a slider to limit AutoMine's range below your block interaction range, if that's useful? It wouldn't be able to go above your interaction range with the way that code currently works.

Some of my friends use your modpack and they don't want to make a github account (Why? I have no clue.).

Yeah, I see that a lot. Most Wurst users just use the client and never join GitHub / WurstForum / etc. It can be hard to know what they want sometimes.

If I knew how to code/develop it, I would totally help you. I have no experience or knowledge with this topic. I've been interested in learning how to make modpacks and such lately.

No worries at all! Playing around with the code can be a great way to learn and slowly build up that experience and knowledge. But please don't feel any pressure to help implement this feature - I'll get to it when I have time.