Back to mods
Hologram API project artwork

CurseForge · Minecraft mod

Hologram API

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

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Hologram API release should I use?

Updated today
Latest stable file Hologram API 2.0.2 Forge 1.20.1
Game version 1.20.1
Loader Forge

Hologram API 2.0.2 Forge 1.20.1 targets 1.20.1 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is Hologram API required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Hologram API 2.0.2 Forge 1.20.1 need?

Hologram API 2.0.2 Forge 1.20.1. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Hologram API without breaking your instance.

Built for Hologram API 2.0.2 Forge 1.20.1. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use Hologram API 2.0.2 Forge 1.20.1. It targets 1.20.1 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside Hologram API 2.0.2 Forge 1.20.1. It opens that exact file at the source.

About this project

What does Hologram API add?

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.

Project description from CurseForge.

Pick your setup

Hologram API by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

28 available setups

Showing the newest 12 of 25 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Hologram API versions and loaders

63 of 63 releases match

Looking for an older file? The official CurseForge project page is in Resources.