Package net.minecraft.server.jsonrpc
Class JsonRpcNotificationService
java.lang.Object
net.minecraft.server.jsonrpc.JsonRpcNotificationService
- All Implemented Interfaces:
NotificationService
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJsonRpcNotificationService(MinecraftApi pMinecraftApi, ManagementServer pManagementServer) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidbroadcastNotification(Holder.Reference<? extends OutgoingRpcMethod<Void, ?>> pMethod) private <Params> voidbroadcastNotification(Holder.Reference<? extends OutgoingRpcMethod<Params, ?>> pMethod, Params pParams) voidipBanned(IpBanListEntry p_442552_) voidipUnbanned(String p_443355_) voidonGameRuleChanged(String p_443009_, GameRules.Value<?> p_443367_) voidplayerAddedToAllowlist(NameAndId p_443066_) voidplayerBanned(UserBanListEntry p_442976_) voidplayerDeoped(ServerOpListEntry p_443150_) voidplayerJoined(ServerPlayer p_442849_) voidplayerLeft(ServerPlayer p_443228_) voidplayerOped(ServerOpListEntry p_443573_) voidplayerRemovedFromAllowlist(NameAndId p_443379_) voidplayerUnbanned(NameAndId p_443351_) voidvoidvoidvoidvoid
-
Field Details
-
managementServer
-
minecraftApi
-
-
Constructor Details
-
JsonRpcNotificationService
-
-
Method Details
-
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
-
broadcastNotification
-
broadcastNotification
private <Params> void broadcastNotification(Holder.Reference<? extends OutgoingRpcMethod<Params, ?>> pMethod, Params pParams)
-