Перейти к содержимому
Mineforgian

Hologram API

API for client-side in world text rendering.

20K загрузок8 подписчиковMITfabricforgeneoforge

Обновлён 1 июня 2026 г. · опубликован 25 января 2026 г.

  • Скриншот: Hologram API

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

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>")

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.

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
2.0.2+1.21.6-fabricРелиз1.21.6, 1.21.7, 1.21.8fabric1 июня 2026 г..jar (68 КБ)
2.0.2+1.21.5-fabricРелиз1.21.5fabric1 июня 2026 г..jar (68 КБ)
2.0.2+1.21.2-fabricРелиз1.21.2, 1.21.3, 1.21.4fabric1 июня 2026 г..jar (68 КБ)
2.0.2+1.21.1-fabricРелиз1.21.1fabric1 июня 2026 г..jar (70 КБ)
2.0.2+1.20.1-fabricРелиз1.20.1fabric1 июня 2026 г..jar (68 КБ)
2.0.2+1.21.11-fabricРелиз1.21.11fabric1 июня 2026 г..jar (68 КБ)
2.0.2+1.21.10-fabricРелиз1.21.10fabric1 июня 2026 г..jar (68 КБ)
2.0.2+26.1-fabricРелиз26.1, 26.1.1fabric1 июня 2026 г..jar (69 КБ)
2.0.2+1.21.1-neoforgeРелиз1.21.1neoforge1 июня 2026 г..jar (69 КБ)
2.0.2+1.20.1-forgeРелиз1.20.1forge1 июня 2026 г..jar (70 КБ)
2.0.2+1.20.1-forgeРелиз1.20.1forge1 июня 2026 г..jar (70 КБ)
2.0.1+26.1-fabricРелиз26.1, 26.1.1, 26.1.2fabric26 апреля 2026 г..jar (69 КБ)
2.0.1+1.21.6-fabricРелиз1.21.6, 1.21.7, 1.21.8fabric26 апреля 2026 г..jar (68 КБ)
2.0.1+1.21.5-fabricРелиз1.21.5fabric26 апреля 2026 г..jar (68 КБ)
2.0.1+1.21.11-fabricРелиз1.21.11fabric26 апреля 2026 г..jar (68 КБ)

Показаны последние 15 из 62 версий. Все версии — на Modrinth.

Ченджлог

2.0.2+1.21.6-fabricРелиз1.21.6, 1.21.7, 1.21.8 · 1 июня 2026 г.

fix dependency issues

2.0.2+1.21.5-fabricРелиз1.21.5 · 1 июня 2026 г.

fix dependency issues

2.0.2+1.21.2-fabricРелиз1.21.2, 1.21.3, 1.21.4 · 1 июня 2026 г.

fix dependency issues

2.0.2+1.21.1-fabricРелиз1.21.1 · 1 июня 2026 г.

fix dependency issues

2.0.2+1.20.1-fabricРелиз1.20.1 · 1 июня 2026 г.

fix dependency issues

2.0.2+1.21.11-fabricРелиз1.21.11 · 1 июня 2026 г.

fix dependency issues

2.0.2+1.21.10-fabricРелиз1.21.10 · 1 июня 2026 г.

fix dependency issues

2.0.2+26.1-fabricРелиз26.1, 26.1.1 · 1 июня 2026 г.

fix dependency issues

Полная история изменений — на Modrinth.

Комментарии

Загружаем…