Class NotificationManager
java.lang.Object
net.minecraft.server.notifications.NotificationManager
- All Implemented Interfaces:
NotificationService
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidipBanned(IpBanListEntry p_442915_) voidipUnbanned(String p_443008_) voidonGameRuleChanged(String p_443555_, GameRules.Value<?> p_442833_) voidplayerAddedToAllowlist(NameAndId p_442558_) voidplayerBanned(UserBanListEntry p_442723_) voidplayerDeoped(ServerOpListEntry p_443315_) voidplayerJoined(ServerPlayer p_442825_) voidplayerLeft(ServerPlayer p_442626_) voidplayerOped(ServerOpListEntry p_442940_) voidplayerRemovedFromAllowlist(NameAndId p_443493_) voidplayerUnbanned(NameAndId p_442721_) voidregisterService(NotificationService pService) voidvoidvoidvoidvoid
-
Field Details
-
notificationServices
-
-
Constructor Details
-
NotificationManager
public NotificationManager()
-
-
Method Details
-
registerService
-
playerJoined
- Specified by:
playerJoinedin interfaceNotificationService
-
playerLeft
- Specified by:
playerLeftin interfaceNotificationService
-
serverStarted
public void serverStarted()- Specified by:
serverStartedin interfaceNotificationService
-
serverShuttingDown
public void serverShuttingDown()- Specified by:
serverShuttingDownin interfaceNotificationService
-
serverSaveStarted
public void serverSaveStarted()- Specified by:
serverSaveStartedin interfaceNotificationService
-
serverSaveCompleted
public void serverSaveCompleted()- Specified by:
serverSaveCompletedin interfaceNotificationService
-
playerOped
- Specified by:
playerOpedin interfaceNotificationService
-
playerDeoped
- Specified by:
playerDeopedin interfaceNotificationService
-
playerAddedToAllowlist
- Specified by:
playerAddedToAllowlistin interfaceNotificationService
-
playerRemovedFromAllowlist
- Specified by:
playerRemovedFromAllowlistin interfaceNotificationService
-
ipBanned
- Specified by:
ipBannedin interfaceNotificationService
-
ipUnbanned
- Specified by:
ipUnbannedin interfaceNotificationService
-
playerBanned
- Specified by:
playerBannedin interfaceNotificationService
-
playerUnbanned
- Specified by:
playerUnbannedin interfaceNotificationService
-
onGameRuleChanged
- Specified by:
onGameRuleChangedin interfaceNotificationService
-
statusHeartbeat
public void statusHeartbeat()- Specified by:
statusHeartbeatin interfaceNotificationService
-