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

Goto GUI (Jump to Player) #116

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Commits on Jan 4, 2024

  1. ModConfig methods & encapsulate INSTANCE

    Introduce `.get()`, `.save()`, & `.getConfig()`.
    
    No need to set `@Excluded` on a static field.
    MattSturgeon committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    0015476 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fea3f40 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    58d6a28 View commit details
    Browse the repository at this point in the history
  4. Refactor FreecamPosition

    Move "perspective" concept to `FreecamPosition`.
    
    Move `isInRange` to `FreecamPosition`.
    MattSturgeon committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    34a3cda View commit details
    Browse the repository at this point in the history
  5. Freecam.gotoPosition to teleport freecam

    Enables Freecam if not already.
    
    Teleports freecam to the specified `FreecamPosition`.
    
    Intended for use by "Goto GUI".
    MattSturgeon committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    fc6c1bc View commit details
    Browse the repository at this point in the history
  6. Goto GUI: tp freecam to listed players

    Adds a GUI which allows jumping freecam to a player within render distance.
    
    Limited on Modrinth to `MC.player`.
    
    Could be expanded in future with tripod locations and other "saved" positions.
    MattSturgeon committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    7db712a View commit details
    Browse the repository at this point in the history
  7. Introduce "GotoScreenTab" concept

    The `Tab` implementation provides a method to produce a list of `TargetListEntries`.
    
    Currently, the only implementation is `PlayerTab`, which provides a list of `PlayerListEntries` & a "perspective" button.
    MattSturgeon committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    aef98cb View commit details
    Browse the repository at this point in the history