public abstract class SpectateEvent extends BattleEvent
SpectateEvent.StartSpectate
and SpectateEvent.StopSpectate
Modifier and Type | Class and Description |
---|---|
static class |
SpectateEvent.StartSpectate
Event representing when a player attempts to spectate a battle.
|
static class |
SpectateEvent.StopSpectate
Event representing when a player ceases spectating a battle.
|
Modifier and Type | Field and Description |
---|---|
net.minecraft.entity.player.ServerPlayerEntity |
spectator |
battleController
Modifier | Constructor and Description |
---|---|
protected |
SpectateEvent(net.minecraft.entity.player.ServerPlayerEntity spectator,
BattleController battleController) |
getBattleController
protected SpectateEvent(net.minecraft.entity.player.ServerPlayerEntity spectator, BattleController battleController)