💡API
Api is in beta testing phase (please report bugs on discord)
Creating head (temp)
code:
RotatingHeadsAPI.createTempHead(String name, Location location, int entityId)
Getting head
code:
RotatingHeadsAPI.getHead(String name); RotatingHeadsAPI.getHead(int entityId);
Getting & Creating hologram
code:
RotatingHeadsAPI.getHologram(Head head); RotatingHeadsAPI.createHeadHologram(Head head, List<String> lines, double space, double offset);
Spawning head
code:
RotatingHeadsAPI.spawnHead(Head head, Player... players); RotatingHeadsAPI.spawnHeadForAll(Head head);
Despawning head
code:
RotatingHeadsAPI.despawnHead(Head head, Player... players); RotatingHeadsAPI.despawnHeadForAll(Head head);
Last updated