Hologram API
No reviews yet
A simple API which simplifies creating client-sided in world text. Highly customizable and supports animations!
Provides a framework or library for other mods to use.
Forge is a popular mod loader for versions 1.1+ of Minecraft.
Neoforge is a fork of the Minecraft Forge available for versions 1.20.1+ of Minecraft. Many Forge mods are compatible with Neoforge and vice versa.
Fabric is a mod loader for versions 1.14+ of Minecraft, particularly popular for client side and optimization mods.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
Description
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.

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.
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 my mods. Feel free to use this mod for your projects if it suits your needs.
List of my mods using this API:
| Modrinth | Curseforge |
|---|---|
| Holo Damage Indicator | Holo Damage Indicator |
| Holo Health Indicator | Holo Health Indicator |
| Holo Items | Holo Items |

For developers
Setup
Download a version of the mod that is suitable for your version. Add this to dependencies
modApi files("<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.
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources