Uses of Enum Class
net.mathias2246.buildmc.api.endEvent.EndChangeCause
Packages that use EndChangeCause
-
Uses of EndChangeCause in net.mathias2246.buildmc.api.endEvent
Methods in net.mathias2246.buildmc.api.endEvent that return EndChangeCauseModifier and TypeMethodDescriptionstatic EndChangeCauseReturns the enum constant of this class with the specified name.static EndChangeCause[]EndChangeCause.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.mathias2246.buildmc.api.endEvent with parameters of type EndChangeCauseModifier and TypeMethodDescriptionbooleanEndManager.closeEnd(@Nullable org.bukkit.command.CommandSender sender, @NotNull EndChangeCause cause) Requests that the End be closed using BuildMC's default announcement key.booleanEndManager.closeEnd(@Nullable org.bukkit.command.CommandSender sender, @NotNull EndChangeCause cause, @NotNull String announcementKey) Requests that the End be closed with a custom announcement key.booleanEndManager.openEnd(@Nullable org.bukkit.command.CommandSender sender, @NotNull EndChangeCause cause) Requests that the End be opened using BuildMC's default announcement key.booleanEndManager.openEnd(@Nullable org.bukkit.command.CommandSender sender, @NotNull EndChangeCause cause, @NotNull String announcementKey) Requests that the End be opened with a custom announcement key. -
Uses of EndChangeCause in net.mathias2246.buildmc.api.event.endevent
Methods in net.mathias2246.buildmc.api.event.endevent that return EndChangeCauseModifier and TypeMethodDescription@NotNull EndChangeCauseEndStateChangeEvent.getCause()Gets the cause of the End state changing.Constructors in net.mathias2246.buildmc.api.event.endevent with parameters of type EndChangeCauseModifierConstructorDescriptionEndStateChangeEvent(@NotNull EndState newState, @Nullable EndState previousState, @Nullable EndChangeCause cause, @Nullable org.bukkit.command.CommandSender sender, @NotNull String announcementKey) Constructs a new EndStateChangeEvent.