public class ForceEndBattleEvent
extends net.minecraftforge.fml.common.eventhandler.Event
| Modifier and Type | Field and Description |
|---|---|
BattleControllerBase |
bc
The
BattleControllerBase of the battle. |
EnumBattleForceEndCause |
cause
The cause of the battle forcefully ending, as per
EnumBattleForceEndCause. |
| Constructor and Description |
|---|
ForceEndBattleEvent(BattleControllerBase bc,
EnumBattleForceEndCause cause) |
| Modifier and Type | Method and Description |
|---|---|
java.util.ArrayList<net.minecraft.entity.player.EntityPlayerMP> |
getPlayers()
Gets a potentially empty list of players that were in the battle.
|
boolean |
isCancelable() |
public final BattleControllerBase bc
BattleControllerBase of the battle.public final EnumBattleForceEndCause cause
EnumBattleForceEndCause.public ForceEndBattleEvent(BattleControllerBase bc, EnumBattleForceEndCause cause)