Package com.github.shynixn.blockball.api.bukkit.event

Types

BallDeathEvent
Link copied to clipboard
class BallDeathEvent(ball: BallProxy) : BallEvent

Event which gets sent when the ball is requested to get removed.

BallEvent
Link copied to clipboard
open class BallEvent(ball: BallProxy) : BlockBallEvent

Base Event for all Ball events.

BallKickEvent
Link copied to clipboard
class BallKickEvent(ball: BallProxy, player: <ERROR CLASS>, velocity: <ERROR CLASS>) : BallTouchEvent

Event which gets called when the ball is kicked.

BallPassEvent
Link copied to clipboard
class BallPassEvent(ball: BallProxy, player: <ERROR CLASS>, velocity: <ERROR CLASS>) : BallTouchEvent

Event which gets called when the ball is passed.

BallRayTraceEvent
Link copied to clipboard
class BallRayTraceEvent(ball: BallProxy, hitBlock: Boolean, targetLocation: <ERROR CLASS>, blockDirection: BlockDirection) : BallEvent

The ray trace event is called when the ball has got a velocity in a certain direction which results in the current position and the target position of the ball.

BallSpawnEvent
Link copied to clipboard
class BallSpawnEvent(ball: BallProxy) : BallEvent
BallTeleportEvent
Link copied to clipboard
class BallTeleportEvent(ball: BallProxy, targetLocation: <ERROR CLASS>) : BallEvent

Event which gets called when the ball is teleporting.

BallTouchEvent
Link copied to clipboard
open class BallTouchEvent(ball: BallProxy, player: <ERROR CLASS>, velocity: <ERROR CLASS>) : BallEvent

Event which gets called when the ball is touched.

BlockBallEvent
Link copied to clipboard
open class BlockBallEvent

Base BlockBall event where all BlockBall events inherit from.

GameEndEvent
Link copied to clipboard
class GameEndEvent(winningTeam: Team?, game: Game) : GameEvent

Game End event.

GameEvent
Link copied to clipboard
open class GameEvent(game: Game) : BlockBallEvent

Base Event for all game events.

GameGoalEvent
Link copied to clipboard
class GameGoalEvent(player: <ERROR CLASS>?, team: Team, game: Game) : GameEvent

Event when someone scores a goal.

GameJoinEvent
Link copied to clipboard
class GameJoinEvent(player: <ERROR CLASS>, game: Game) : GameEvent

Game Join event.

GameLeaveEvent
Link copied to clipboard
class GameLeaveEvent(player: <ERROR CLASS>, game: Game) : GameEvent

Game Leave event.