Your first hologram.
1. Register HoloEasy api.
HoloEasy.bind(org.bukkit.plugin.Plugin, PacketImpl.ProtocolLib / PacketImpl.PacketEvents);
2. Define your first Hologram class.
public class HelloWorldHologram extends Hologram {
ITextLine line = textLine("Hello World");
public HelloWorldHologram(@NotNull Location location) {
super(location);
}
}
3. Now spawn a hologram.
HelloWorldHologram hologram = new HelloWorldHologram(location);
hologram.show();
4. Congratulations! You have created your first Hologram.