promotional bannermobile promotional banner

Hologram API

A simple API which simplifies creating client-sided in world text. Highly customizable and supports animations!

Hologram API

A simple API for supporting in-world text rendering on the client side. This mod was created to simplify the creation process of Better Damage Indicator and Holographic Health Indicators. Feel free to use this mod for your projects if it suits your needs.

demo

For developers

Setup

Download a version of the mod that is suitable for your version. Add this to dependencies

modApi files("<your file path>")

<your file path> should be replaced to where your downloaded mod is.

Note: use double \\ instead of \ in your path to avoid formatting. Example:

modApi files("C:\\Users\\UserName\\Documents\\hologram_api-fabric-1.0.0 1.21.1.jar")

Example Usage

Component component = Component.literal("Hello World!").withStyle(ChatFormatting.GREEN); //create a minecraft component 
Hologram hologram = HologramAPI.create(comp, 0,80,0).lifetime(40).shadow(true).scale(2).renderDistance(20); //creating the hologram
hologram.onUpdate(h -> { //setting the animation (updates 20 times a second)
  h.y += 0.05f; //example animation to rise one block up every tick.
});

This creates a hologram with text "Hello World!" at coordinates 0, 80 ,0. It lasts for a total of 40 seconds and has a scale of 2. Additionally, it will only render when the player is within 20 blocks of radius.

The Hologram API Team

profile avatar
  • 5
    Followers
  • 14
    Projects
  • 124.9K
    Downloads

More from ray22777View all

  • Quick Access project image

    Quick Access

    • 156
    • Mods

    Easily access crafting tables, enderchests, shulkers, etc... just by right clicking in your inventory.

    • 156
    • May 14, 2026
    • Mods
    • +2
  • Craft Config Lib project image

    Craft Config Lib

    • 14
    • Mods

    A client-side configuration library that supports presets and built-in keybinds.

    • 14
    • May 1, 2026
    • Mods
  • Optimized Fullbright project image

    Optimized Fullbright

    • 35.4K
    • Mods

    Fullbright mod that disables the lighting system to improve performance. Now toggleable with a keybind!

    • 35.4K
    • March 29, 2026
    • Mods
    • +1
  • Better Tab Info project image

    Better Tab Info

    • 12.6K
    • Mods

    Improves tab(player list) and adds extra client-sided information, such as TPS and numerical ping. Also implements a few fixes to tab. Now fully customizable!

    • 12.6K
    • March 29, 2026
    • Mods
    • +1
  • Quick Access project image

    Quick Access

    • 156
    • Mods

    Easily access crafting tables, enderchests, shulkers, etc... just by right clicking in your inventory.

    • 156
    • May 14, 2026
    • Mods
    • +2
  • Craft Config Lib project image

    Craft Config Lib

    • 14
    • Mods

    A client-side configuration library that supports presets and built-in keybinds.

    • 14
    • May 1, 2026
    • Mods
  • Optimized Fullbright project image

    Optimized Fullbright

    • 35.4K
    • Mods

    Fullbright mod that disables the lighting system to improve performance. Now toggleable with a keybind!

    • 35.4K
    • March 29, 2026
    • Mods
    • +1
  • Better Tab Info project image

    Better Tab Info

    • 12.6K
    • Mods

    Improves tab(player list) and adds extra client-sided information, such as TPS and numerical ping. Also implements a few fixes to tab. Now fully customizable!

    • 12.6K
    • March 29, 2026
    • Mods
    • +1