Skip to content

Minecraft mod that displays a flight styled HUD while flying with elytra.

License

Notifications You must be signed in to change notification settings

MikhailTapio/FlightHud

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Flight HUD: Reborn

Introduction

Flight HUD: Reborn is a fork and an unofficial port of Flight HUD, a client side Minecraft Mod that adds a flight-simulator-style HUD for elytra flying.

HUD Demo

Available On

CurseForge

CurseForge

Features(Original)

  • pitch ladder
  • artificial horizon
  • flight path (prograde vector)
  • air speed with sliding scale
  • heading with sliding scale
  • direction ordinals and axes
  • altitude with sliding scale (relative to block zero)
  • height (distance from ground)
  • elevation summary showing
    • void damage mark
    • block zero
    • ground level
    • build limit
    • current altitude
  • elytra health percentage
  • location in x/z

Features(New)

  • elytra bombing TNT count
  • PullUp warning texts

Components

HUD Components

For Developers

Import As A Gradle Dependency

Repositories

repositories {
    //...
    maven {
        url "https://cursemaven.com"
        content {
            includeGroup "curse.maven"
        }
    }
}

Dependencies:

Fabric:
dependencies {
    //...
    modImplementation "curse.maven:flighthud-reborn-936558:${project.flighthud_file_id}"
    modImplementation "curse.maven:forge-config-api-port-fabric-547434:${project.fcapi_file_id}" // Dependency of flighthud-reborn fabric
    compileOnly('com.electronwill.night-config:core:3.6.5') 
    compileOnly('com.electronwill.night-config:toml:3.6.5') // Dependency of forge config api port
}
Forge:
dependencies {
    //...
    implementation fg.deobf("curse.maven:flighthud-reborn-936558:${project.flighthud_file_id}")
}

Register a new indicator into the flight hud

import com.plr.flighthud.api.HudRegistry;

void foo() {
  HudRegistry.addComponent((computer, dim) -> new ExampleIndicator(computer, dim));
}

About

Minecraft mod that displays a flight styled HUD while flying with elytra.

Resources

License

Stars

Watchers

Forks

Packages

No packages published