Skip to content

Auto City rewrite #5444

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Gingerbeard5773
Copy link
Contributor

@Gingerbeard5773 Gingerbeard5773 commented Jun 2, 2025

Type of change

  • Bug fix
  • New feature

Description

This is a rewrite of Auto City, which fixes several bugs and adds several features.
Notable Changes:

  • Auto City will break burrow blocks (didn't before).
  • Auto City will constantly break blocks when activated, unlike prior where it would toggle after breaking only one block.
  • Auto City will break ender chests and anvils.

Some of the new settings:
Walls Range Decides how far we can break blocks behind other blocks (raycasting).
Packet Mine Packet mine can be turned off if the player wishes to use normal mining mode instead.
Safe Break This setting decides if auto city can break the blocks around our own player's feet.
Pause on Use Auto City will pause if the player uses any items like gapple or bow.
Pause on CA Auto City will pause if the player begins crystalling.

Related issues

resolves #3748, resolves #874, resolves #4817, resolves #605

How Has This Been Tested?

Minecraft_.1.21.4.-.Multiplayer.3rd-party.Server.2025-06-01.23-13-06.mp4

Quick demo on Oldfag.org

Important: While testing, I noticed that Packetmine + Autoswitch + Swapback config does not work in singleplayer. It does work in multiplayer though! So test this module in multiplayer, not singleplayer.

Checklist:

  • My code follows the style guidelines of this project.
  • I have added comments to my code in more complex areas.
  • I have tested the code in both development and production environments.

Nearly full rewrite of Auto City- for major improvements and new functionality.
@Gingerbeard5773 Gingerbeard5773 marked this pull request as draft June 9, 2025 15:30
Removes getCityBlock from EntityUtils. If any addons use it, Im sorry.
@Gingerbeard5773 Gingerbeard5773 marked this pull request as ready for review June 10, 2025 02:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant