Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.
/ HologramAPI Public archive

Simple API for creation of server side holograms without entities

License

Notifications You must be signed in to change notification settings

Patbox/HologramAPI

Repository files navigation

This library is deprecated!

With next release, it likely won't get an update. You should switch to Polymer Virtual Entity API instead, as it allows for better and more powerful client side entities, while also being compatible with more mods (for example Immersive Portals).

Links:

Hologram API

It's a small, jij-able library for creating server side holograms showing text, items or even entities. They can be fully interactive with different actions depending on where players click.

Usage:

Add it to your dependencies like this:

repositories {
	maven { url 'https://maven.nucleoid.xyz' }
}

dependencies {
	modImplementation include("eu.pb4:hologram-api:[TAG]")
}

Next you just need to create instance of hologram (WorldHologram/EntityHologram), set every element and call hologram.show(). For example code see Test Mod