Skip to content

Auto City rewrite#5444

Closed
Gingerbeard5773 wants to merge 6 commits into
MeteorDevelopment:masterfrom
Gingerbeard5773:auto-city-rewrite
Closed

Auto City rewrite#5444
Gingerbeard5773 wants to merge 6 commits into
MeteorDevelopment:masterfrom
Gingerbeard5773:auto-city-rewrite

Conversation

@Gingerbeard5773

@Gingerbeard5773 Gingerbeard5773 commented Jun 2, 2025

Copy link
Copy Markdown
Contributor

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
@Gingerbeard5773

Copy link
Copy Markdown
Contributor Author

conflicts resolved and updated to current github version 1.21.8

@Wide-Cat

Copy link
Copy Markdown
Collaborator

Seems a bit buggy. Tested on latest-eu.loyisa.cn using NCP and unless I specifically held my pickaxe in my hand it didnt really work. Tried both with and without packet mine.

@Gingerbeard5773

Copy link
Copy Markdown
Contributor Author

I'll test for potential improvement

@Wide-Cat Wide-Cat left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see earlier comment

@Wide-Cat

Copy link
Copy Markdown
Collaborator

🫡

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants