GithubHelp home page GithubHelp logo

fabric-advanced-autopilot's People

Contributors

averycrespi avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

fabric-advanced-autopilot's Issues

Add rocket refill

  • Add rocketRefill config option (boolean, default false)
  • If rocketRefill is enabled and the player is low on/out of rockets, refill rockets from inventory to main hand

Add flight resumption config option

  • Add resumeFlightTowardsGoal, default false, description: "Attempt to resume flight towards goal after error`
  • If resumeFlightTowardsGoal, goal is set, player is landing, not close to goal, elytra is not broken, etc., then yield

Handle unloaded chunks

  • When the server can't keep up with loaded chunks, the height metric gets reset to -1, which may cause us to land prematurely
  • We could add a setting to allow the height to be "stale" for a certain number of ticks to correct for briefly unloaded chunks

Add periodic commands

  • Add runPeriodicCommand config option (boolean, default false)
  • Add periodicCommand config option (string, default "/say Hello world!") with interpolation
    • Variable: ${timestamp} will be replaced with the current timestamp (seconds)
  • Add periodicCommandInterval config option (int, default 60)
  • If runPeriodicCommand is enabled, run the periodicCommand every periodicCommandInterval seconds
  • Use case: run /sethome to set regular progress points if something goes wrong

Improve ETA accuracy

  • The ETA fluctuates too much to be useful
  • Increase measurement period? Make this period configurable?
  • Reset period on game load? It seems to carry over on game position - maybe we can detect a delta that is too large?

Add risky landing

  • Add riskyLanding config option (boolean, default false)
  • Add minRiskyLandingHeight config option (double, default 100, min 0)
  • If riskyLanding is enabled and the player is landing, dive straight down while above minRiskyLandingHeight

Swap rockets into selected slot instead of first hotbar slot

Yoinked from TheMegax; does this work?

                    if (newFirework != null) {
                        int handSlot;
                        if (player.getOffHandStack().isEmpty()){
                            handSlot = 45; //Offhand slot refill
                        }
                        else{
                            handSlot = 36 + player.getInventory().selectedSlot; //Mainhand slot refill
                        }

Add powered flight

  • Add poweredFlight config option (boolean, default false)
  • If poweredFlight is enabled and holding rockets, efficiently use rockets while pulling up

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.