Class PlayerScrollCreatedEvent
java.lang.Object
org.bukkit.event.Event
com.electro2560.dev.cluescrolls.events.ScrollEvent
com.electro2560.dev.cluescrolls.events.PlayerScrollCreatedEvent
Fired when all the clues on a scroll have been completed issuing the rewards.
- Since:
- 4.8.6
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result -
Constructor Summary
ConstructorsConstructorDescriptionPlayerScrollCreatedEvent(org.bukkit.entity.Player player, String tierType, UUID scrollUUID, CreationCause cause) -
Method Summary
Modifier and TypeMethodDescriptionfinal CreationCausegetCause()Retruns the cause of creation of this scrollstatic org.bukkit.event.HandlerListorg.bukkit.event.HandlerListfinal org.bukkit.entity.PlayerReturns the player involved in this eventMethods inherited from class com.electro2560.dev.cluescrolls.events.ScrollEvent
getScrollUUID, getTierTypeMethods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
PlayerScrollCreatedEvent
public PlayerScrollCreatedEvent(org.bukkit.entity.Player player, String tierType, UUID scrollUUID, CreationCause cause)
-
-
Method Details
-
getPlayer
public final org.bukkit.entity.Player getPlayer()Returns the player involved in this event- Returns:
- Player who is involved in this event
- Since:
- 4.8.6
-
getCause
Retruns the cause of creation of this scroll- Returns:
- Cause enum
- Since:
- 4.8.6
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlersin classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-