HomeJavaModsSpectatorAPI 1.8
SpectatorAPI 1.8
Simply to use:

set a Spectator:
Code (Text):

nflug.SpectatorAPI.Main.setSpectator(Player Spectator, Entity Spectating);
 
Automatic checks if the Player is Spectating or not.

remove a Spectator:
Code (Text):

nflug.SpectatorAPI.Main.removeSpectator(Player Spectator);
 
Automatic checks if the Player is Spectating or not.

check if Spectating:
Code (Text):

nflug.SpectatorAPI.Main.isSpectating(Player Spectator)M
 
It will save the GameMode you had before Spectating and adds it after Spectating. If you log out in Spectating it will set the GameMode before Spectating too.

I hope you have fun :)!
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

SpectatorAPI 1.8 is a free Minecraft Java mod. Downloaded 550 times (via Spigot). Download it and open it directly in the game.

Explore more