
Spectator targets
LadyCailinBot opened this issue ยท 4 comments
CMDHELPER-3095 - Reported by PseudoKnight
Added to Bukkit API in June (between 1.8.7 and 1.8.8), so will need to check for its existence.
Player.setSpectatorTarget(Entity)
Player.getSpectatorTarget()
Possible function names:
set_pspectate_target
set_pspectator_target
set_pspectating
pspectate_entity
pspectate
I can't decide on this one.
Comment by LadyCailin
Though the arguments are pretty good for psepectate_entity.... hmm
Comment by PseudoKnight
set_pspectator_target is the most memorable for me, but I might have been primed to think of it first. Though it might be that it has "spectator" in it, which is the most vanilla form of the term in MC. I think I'll go for it, since nothing seems to be entirely superior (and the Sponge API doesn't have it yet).