public class EndGameEvent
extends net.minecraftforge.eventbus.api.Event
Constructor and Description |
---|
EndGameEvent(PlayerServerState winner,
PlayerServerState loser,
boolean tiedGame) |
Modifier and Type | Method and Description |
---|---|
PlayerServerState |
getLoser() |
net.minecraft.entity.player.ServerPlayerEntity |
getLoserPlayer() |
PlayerServerState |
getWinner() |
net.minecraft.entity.player.ServerPlayerEntity |
getWinnerPlayer() |
boolean |
isTiedGame() |
public EndGameEvent(PlayerServerState winner, PlayerServerState loser, boolean tiedGame)
public net.minecraft.entity.player.ServerPlayerEntity getWinnerPlayer()
public net.minecraft.entity.player.ServerPlayerEntity getLoserPlayer()
public PlayerServerState getWinner()
public PlayerServerState getLoser()
public boolean isTiedGame()