Interface ChangeWorldBorderEvent.Player
-
- All Superinterfaces:
Cancellable
,ChangeWorldBorderEvent
,Event
- Enclosing interface:
- ChangeWorldBorderEvent
public static interface ChangeWorldBorderEvent.Player extends ChangeWorldBorderEvent
An event that is fired when a player's world border is changed. This may also be fired when a player's border is set or unset.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.spongepowered.api.event.world.ChangeWorldBorderEvent
ChangeWorldBorderEvent.Player, ChangeWorldBorderEvent.World
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServerPlayer
player()
Gets theplayer
.-
Methods inherited from interface org.spongepowered.api.event.Cancellable
isCancelled, setCancelled
-
Methods inherited from interface org.spongepowered.api.event.world.ChangeWorldBorderEvent
newBorder, originalNewBorder, previousBorder, setNewBorder
-
-
-
-
Method Detail
-
player
ServerPlayer player()
Gets theplayer
.- Returns:
- The player
-
-