Skip to content
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

WIP: ActivitySystem, BuildTools, HighwayTools #433

Closed

Conversation

minecraft-simon
Copy link
Contributor

@minecraft-simon minecraft-simon commented Dec 13, 2022

Activity System

The implementation pattern involves breaking down complex problems into smaller, more manageable parts that can be solved individually using the divide-and-conquer approach. This approach simplifies the code and enables the system to handle the coordination between activities. Once an activity is implemented, it can be reused in different contexts. For instance, if an activity that stores items in a chest is implemented, it can be reused by other activities to achieve different outcomes like for instance a stash mover.

  • Aquire items in any sitution from shulkers, ender chest, stash or by crafting
  • Synced inventory transactions
  • Reach XP level to auto rename or enchant
  • Basically any complex action in Minecraft

The new pattern introduces a new build engine known as BuildTools, which addresses the challenge of building complex structures in a more general way than legacy HighwayTools.

BuildTools

  • Supports the placement of directional blocks, axis-aligned blocks, halves, and other special blocks.
  • Compatible with Schematica.
  • Uses 0day exploit to force player rotation related directional blocks in the desired direction.
  • Enables the placement of blocks on surfaces that do not provide sufficient support for manual placement.
  • Yes works with 2b

HighwayTools has been completely rewritten to take full advantage of the new system like unlimited width.

Example of the rotation exploit:

2023-01-30.07-19-12.mp4

Complex blocks:

2023-02-02.07-48-52.mp4

The new InventoryManager feature:

2022-12-30.08-15-43.mp4

The new AutoObsidian:

2022-12-30.07-52-30.mp4

Highspeed HighwayTools lol (wont work on 2b but is possible now):

2023-02-22.07-10-09.mp4

The videos are already outdated and will be updated soon

ToDo:

  • Make modules be also Activities
  • Rewrite path-finding
  • Add schematic build command to BuildTools
  • Add StructureModule: Snowmen, Golem, Wither, Portal
  • Fix BREAKING interrupted on timeout of other task
  • Fix slot change asyncs

WorldEater

  • Store stuff in shulkers
  • Implement E-Chest access with caching

@Avanatiker Avanatiker marked this pull request as draft December 13, 2022 00:52
@Avanatiker Avanatiker changed the title Added ActivityManager and Activity abstract class WIP: ActivitySystem, BuildTools, HighwayTools Feb 24, 2023
@Avanatiker Avanatiker closed this Jul 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants