RotatingHeads
  • 🏠Home Page
  • 🆓FREE VERSION
    • Free compass
    • Defaults
      • 📩Installation
      • 📝Commands
      • 📱Support
    • Setup
      • ⚙️Settings
      • 🦿Animations
        • 🐚Rotate
        • ↕️UpDown
        • 👀Stalking
      • 😁Head
      • 🖼️Name
      • ✨Particles
      • 🏭Actions
    • Developer API
      • 💡API
Powered by GitBook
On this page
  • Creating head (temp)
  • Getting head
  • Getting & Creating hologram
  • Spawning head
  • Despawning head
  1. FREE VERSION
  2. Developer API

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);
PreviousDeveloper API

Last updated 3 years ago

🆓
💡