Class PostTeamColorChangeEvent
java.lang.Object
org.bukkit.event.Event
com.booksaw.betterTeams.customEvents.TeamEvent
com.booksaw.betterTeams.customEvents.post.PostTeamColorChangeEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
An event which is called after a
Team
's color has been changed.
Contains information about both the old and new team colors.
This event cannot be cancelled since it occurs after the color change.
To modify or cancel the color change, use TeamColorChangeEvent
.
- Author:
- svaningelgem
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionPostTeamColorChangeEvent
(@NotNull Team team, @NotNull org.bukkit.ChatColor oldTeamColor, @NotNull org.bukkit.ChatColor newTeamColor) -
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.event.HandlerList
@NotNull org.bukkit.event.HandlerList
org.bukkit.ChatColor
org.bukkit.ChatColor
Methods inherited from class com.booksaw.betterTeams.customEvents.TeamEvent
getTeam, isCancelled, setCancelled
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
PostTeamColorChangeEvent
public PostTeamColorChangeEvent(@NotNull @NotNull Team team, @NotNull @NotNull org.bukkit.ChatColor oldTeamColor, @NotNull @NotNull org.bukkit.ChatColor newTeamColor)
-
-
Method Details
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList() -
getHandlers
@NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getOldTeamColor
public org.bukkit.ChatColor getOldTeamColor() -
getNewTeamColor
public org.bukkit.ChatColor getNewTeamColor()
-