java.lang.Object
net.minestom.server.event.player.AdvancementTabEvent
- All Implemented Interfaces:
Event
,EntityEvent
,EntityInstanceEvent
,InstanceEvent
,PlayerEvent
,PlayerInstanceEvent
Called when a
Player
opens the advancement screens or switch the tab
and when he closes the screen.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minestom.server.event.trait.EntityInstanceEvent
getInstance
Methods inherited from interface net.minestom.server.event.trait.PlayerEvent
getEntity
-
Constructor Details
-
AdvancementTabEvent
-
-
Method Details
-
getAction
Gets the action.- Returns:
- the action
-
getTabId
Gets the tab id.Not null ony if
getAction()
is equal toAdvancementAction.OPENED_TAB
.- Returns:
- the tab id
-
getPlayer
Description copied from interface:PlayerEvent
Gets the player.- Specified by:
getPlayer
in interfacePlayerEvent
- Returns:
- the player
-