Class AdvancementTabEvent
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 Details
-
AdvancementTabEvent
-
-
Method Details
-
getAction
-
getTabId
Gets the tab id.Not null ony if
getAction()is equal toAdvancementAction.OPENED_TAB.- Returns:
- the tab id
-
getPlayer
Description copied from interface:PlayerEventGets the player.- Specified by:
getPlayerin interfacePlayerEvent- Returns:
- the player
-