2019-06-28 17:55:20 -04:00
|
|
|
CLASS net/minecraft/class_3324 net/minecraft/server/PlayerManager
|
|
|
|
FIELD field_14343 WHITELIST_FILE Ljava/io/File;
|
|
|
|
FIELD field_14344 bannedProfiles Lnet/minecraft/class_3335;
|
|
|
|
FIELD field_14345 bannedIps Lnet/minecraft/class_3317;
|
2019-11-19 09:22:22 -05:00
|
|
|
FIELD field_14346 advancementTrackers Ljava/util/Map;
|
2019-06-28 17:55:20 -04:00
|
|
|
FIELD field_14347 maxPlayers I
|
|
|
|
FIELD field_14348 OPERATORS_FILE Ljava/io/File;
|
2022-01-19 12:26:32 -05:00
|
|
|
FIELD field_14349 LOGGER Lorg/slf4j/Logger;
|
2019-06-28 17:55:20 -04:00
|
|
|
FIELD field_14350 cheatsAllowed Z
|
|
|
|
FIELD field_14351 players Ljava/util/List;
|
|
|
|
FIELD field_14352 whitelistEnabled Z
|
|
|
|
FIELD field_14353 ops Lnet/minecraft/class_3326;
|
|
|
|
FIELD field_14354 playerMap Ljava/util/Map;
|
|
|
|
FIELD field_14355 BANNED_PLAYERS_FILE Ljava/io/File;
|
|
|
|
FIELD field_14356 DATE_FORMATTER Ljava/text/SimpleDateFormat;
|
|
|
|
FIELD field_14357 latencyUpdateTimer I
|
2020-04-22 11:59:47 -04:00
|
|
|
FIELD field_14358 saveHandler Lnet/minecraft/class_29;
|
2019-06-28 17:55:20 -04:00
|
|
|
FIELD field_14359 viewDistance I
|
|
|
|
FIELD field_14360 server Lnet/minecraft/server/MinecraftServer;
|
|
|
|
FIELD field_14361 whitelist Lnet/minecraft/class_3337;
|
|
|
|
FIELD field_14362 statisticsMap Ljava/util/Map;
|
|
|
|
FIELD field_14364 BANNED_IPS_FILE Ljava/io/File;
|
2022-02-09 13:58:35 -05:00
|
|
|
FIELD field_24626 registryManager Lnet/minecraft/class_5455$class_6890;
|
2021-05-25 23:35:43 -04:00
|
|
|
FIELD field_29790 LATENCY_UPDATE_INTERVAL I
|
2021-09-24 08:08:11 -04:00
|
|
|
FIELD field_34895 simulationDistance I
|
2022-02-09 13:58:35 -05:00
|
|
|
METHOD <init> (Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/class_5455$class_6890;Lnet/minecraft/class_29;I)V
|
2018-11-30 06:38:47 -05:00
|
|
|
ARG 1 server
|
2020-07-14 13:31:42 -04:00
|
|
|
ARG 2 registryManager
|
2020-06-30 15:08:39 -04:00
|
|
|
ARG 3 saveHandler
|
|
|
|
ARG 4 maxPlayers
|
2020-03-18 14:59:27 -04:00
|
|
|
METHOD method_14556 respawnPlayer (Lnet/minecraft/class_3222;Z)Lnet/minecraft/class_3222;
|
2019-07-31 10:20:12 -04:00
|
|
|
ARG 1 player
|
2020-06-30 15:08:39 -04:00
|
|
|
ARG 2 alive
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_14557 setWhitelistEnabled (Z)V
|
2019-07-31 10:20:12 -04:00
|
|
|
ARG 1 whitelistEnabled
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_14559 getPlayersByIp (Ljava/lang/String;)Ljava/util/List;
|
2020-03-17 16:23:58 -04:00
|
|
|
ARG 1 ip
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_14560 getWhitelistedNames ()[Ljava/lang/String;
|
|
|
|
METHOD method_14561 getServer ()Lnet/minecraft/server/MinecraftServer;
|
|
|
|
METHOD method_14563 getUserBanList ()Lnet/minecraft/class_3335;
|
|
|
|
METHOD method_14564 sendToTeam (Lnet/minecraft/class_1657;Lnet/minecraft/class_2561;)V
|
|
|
|
ARG 1 source
|
2020-03-17 16:23:58 -04:00
|
|
|
ARG 2 message
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_14565 sendToOtherTeams (Lnet/minecraft/class_1657;Lnet/minecraft/class_2561;)V
|
2018-11-15 11:57:32 -05:00
|
|
|
ARG 1 source
|
2020-03-17 16:23:58 -04:00
|
|
|
ARG 2 message
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_14566 getPlayer (Ljava/lang/String;)Lnet/minecraft/class_3222;
|
2020-03-17 16:23:58 -04:00
|
|
|
ARG 1 name
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_14567 getUserData ()Lnet/minecraft/class_2487;
|
2020-10-20 12:56:12 -04:00
|
|
|
COMMENT Gets the user data of the player hosting the Minecraft server.
|
|
|
|
COMMENT
|
|
|
|
COMMENT @return the user data of the host of the server if the server is an integrated server, otherwise {@code null}
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_14568 getViewDistance ()I
|
|
|
|
METHOD method_14569 isOperator (Lcom/mojang/authlib/GameProfile;)Z
|
2020-03-17 16:23:58 -04:00
|
|
|
ARG 1 profile
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_14570 onPlayerConnect (Lnet/minecraft/class_2535;Lnet/minecraft/class_3222;)V
|
2018-11-15 11:57:32 -05:00
|
|
|
ARG 1 connection
|
2019-07-31 10:20:12 -04:00
|
|
|
ARG 2 player
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_14571 getPlayerList ()Ljava/util/List;
|
2020-10-20 12:56:12 -04:00
|
|
|
COMMENT Gets a list of all players on a Minecraft server.
|
|
|
|
COMMENT This list should not be modified!
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_14572 onDataPacksReloaded ()V
|
|
|
|
METHOD method_14574 getCurrentPlayerCount ()I
|
|
|
|
METHOD method_14576 sendCommandTree (Lnet/minecraft/class_3222;)V
|
|
|
|
ARG 1 player
|
|
|
|
METHOD method_14577 savePlayerData (Lnet/minecraft/class_3222;)V
|
|
|
|
ARG 1 player
|
2019-11-19 09:22:22 -05:00
|
|
|
METHOD method_14578 getAdvancementTracker (Lnet/minecraft/class_3222;)Lnet/minecraft/class_2985;
|
2020-06-30 15:08:39 -04:00
|
|
|
ARG 1 player
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_14579 areCheatsAllowed ()Z
|
|
|
|
METHOD method_14580 getPlayerNames ()[Ljava/lang/String;
|
|
|
|
METHOD method_14581 sendToAll (Lnet/minecraft/class_2596;)V
|
2020-03-17 16:23:58 -04:00
|
|
|
ARG 1 packet
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_14582 addToOperators (Lcom/mojang/authlib/GameProfile;)V
|
2020-03-17 16:23:58 -04:00
|
|
|
ARG 1 profile
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_14583 createStatHandler (Lnet/minecraft/class_1657;)Lnet/minecraft/class_3442;
|
|
|
|
ARG 1 player
|
|
|
|
METHOD method_14584 getOpNames ()[Ljava/lang/String;
|
|
|
|
METHOD method_14585 getIpBanList ()Lnet/minecraft/class_3317;
|
|
|
|
METHOD method_14586 checkCanJoin (Ljava/net/SocketAddress;Lcom/mojang/authlib/GameProfile;)Lnet/minecraft/class_2561;
|
2020-06-18 15:16:49 -04:00
|
|
|
ARG 1 address
|
|
|
|
ARG 2 profile
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_14587 isWhitelisted (Lcom/mojang/authlib/GameProfile;)Z
|
2020-03-17 16:23:58 -04:00
|
|
|
ARG 1 profile
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_14588 sendScoreboard (Lnet/minecraft/class_2995;Lnet/minecraft/class_3222;)V
|
2019-04-18 16:56:09 -04:00
|
|
|
ARG 1 scoreboard
|
|
|
|
ARG 2 player
|
2020-05-20 12:12:58 -04:00
|
|
|
METHOD method_14589 sendToDimension (Lnet/minecraft/class_2596;Lnet/minecraft/class_5321;)V
|
2019-06-28 17:55:20 -04:00
|
|
|
ARG 1 packet
|
2019-07-31 10:20:12 -04:00
|
|
|
ARG 2 dimension
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_14590 getWhitelist ()Lnet/minecraft/class_3337;
|
|
|
|
METHOD method_14591 setMainWorld (Lnet/minecraft/class_3218;)V
|
2019-04-18 16:56:09 -04:00
|
|
|
ARG 1 world
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_14592 getMaxPlayerCount ()I
|
2020-03-17 16:23:58 -04:00
|
|
|
METHOD method_14594 sendPlayerStatus (Lnet/minecraft/class_3222;)V
|
2019-07-08 12:09:22 -04:00
|
|
|
ARG 1 player
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_14596 sendCommandTree (Lnet/minecraft/class_3222;I)V
|
2019-04-16 10:16:45 -04:00
|
|
|
ARG 1 player
|
|
|
|
ARG 2 permissionLevel
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_14597 disconnectAllPlayers ()V
|
|
|
|
METHOD method_14599 reloadWhitelist ()V
|
|
|
|
METHOD method_14600 loadPlayerData (Lnet/minecraft/class_3222;)Lnet/minecraft/class_2487;
|
2022-05-17 05:56:35 -04:00
|
|
|
ARG 1 player
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_14601 updatePlayerLatency ()V
|
|
|
|
METHOD method_14602 getPlayer (Ljava/util/UUID;)Lnet/minecraft/class_3222;
|
2019-07-31 10:20:12 -04:00
|
|
|
ARG 1 uuid
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_14603 getOpList ()Lnet/minecraft/class_3326;
|
|
|
|
METHOD method_14604 removeFromOperators (Lcom/mojang/authlib/GameProfile;)V
|
2020-03-17 16:23:58 -04:00
|
|
|
ARG 1 profile
|
2020-05-20 12:12:58 -04:00
|
|
|
METHOD method_14605 sendToAround (Lnet/minecraft/class_1657;DDDDLnet/minecraft/class_5321;Lnet/minecraft/class_2596;)V
|
2019-07-31 10:20:12 -04:00
|
|
|
ARG 1 player
|
2019-06-28 17:55:20 -04:00
|
|
|
ARG 2 x
|
|
|
|
ARG 4 y
|
|
|
|
ARG 6 z
|
2020-06-30 15:08:39 -04:00
|
|
|
ARG 8 distance
|
|
|
|
ARG 10 worldKey
|
|
|
|
ARG 11 packet
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_14606 sendWorldInfo (Lnet/minecraft/class_3222;Lnet/minecraft/class_3218;)V
|
2019-04-18 16:56:09 -04:00
|
|
|
ARG 1 player
|
|
|
|
ARG 2 world
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_14607 setCheatsAllowed (Z)V
|
2019-07-31 10:20:12 -04:00
|
|
|
ARG 1 cheatsAllowed
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_14608 setViewDistance (I)V
|
2019-07-31 10:20:12 -04:00
|
|
|
ARG 1 viewDistance
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_14609 canBypassPlayerLimit (Lcom/mojang/authlib/GameProfile;)Z
|
2020-03-17 16:23:58 -04:00
|
|
|
ARG 1 profile
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_14611 remove (Lnet/minecraft/class_3222;)V
|
|
|
|
ARG 1 player
|
2022-05-04 14:34:27 -04:00
|
|
|
METHOD method_14613 createPlayer (Lcom/mojang/authlib/GameProfile;Lnet/minecraft/class_7428;)Lnet/minecraft/class_3222;
|
2019-06-28 17:55:20 -04:00
|
|
|
ARG 1 profile
|
2022-05-17 05:56:35 -04:00
|
|
|
ARG 2 publicKey
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_14614 isWhitelistEnabled ()Z
|
|
|
|
METHOD method_14617 saveAllPlayerData ()V
|
2020-06-30 15:08:39 -04:00
|
|
|
METHOD method_18241 (Lnet/minecraft/class_3218;Lnet/minecraft/class_1297;)Lnet/minecraft/class_1297;
|
|
|
|
ARG 1 vehicle
|
2021-05-25 23:35:43 -04:00
|
|
|
METHOD method_31441 (Lnet/minecraft/class_1297;)V
|
|
|
|
ARG 0 entity
|
2021-09-24 08:08:11 -04:00
|
|
|
METHOD method_38650 setSimulationDistance (I)V
|
|
|
|
ARG 1 simulationDistance
|
2021-11-09 11:55:29 -05:00
|
|
|
METHOD method_38651 getSimulationDistance ()I
|
2022-05-02 08:57:32 -04:00
|
|
|
METHOD method_43511 (Lnet/minecraft/class_2561;Lnet/minecraft/class_3222;)Lnet/minecraft/class_2561;
|
|
|
|
ARG 1 player
|
2022-06-30 12:44:10 -04:00
|
|
|
METHOD method_43512 broadcast (Lnet/minecraft/class_2561;Ljava/util/function/Function;Z)V
|
2022-05-02 08:57:32 -04:00
|
|
|
COMMENT Broadcasts a message to all players and the server console. A different
|
|
|
|
COMMENT message can be sent to a different player.
|
|
|
|
COMMENT
|
2022-07-06 07:57:17 -04:00
|
|
|
COMMENT @see #broadcast(Text, boolean)
|
2022-07-15 10:12:43 -04:00
|
|
|
COMMENT @see #broadcast(FilteredMessage, ServerCommandSource, MessageType.Parameters)
|
|
|
|
COMMENT @see #broadcast(FilteredMessage, ServerPlayerEntity, MessageType.Parameters)
|
|
|
|
COMMENT @see #broadcast(SignedMessage, MessageSourceProfile, MessageType.Parameters)
|
|
|
|
COMMENT @see #broadcast(FilteredMessage, Predicate, MessageSourceProfile, MessageType.Parameters)
|
2022-05-02 08:57:32 -04:00
|
|
|
ARG 1 message
|
|
|
|
ARG 2 playerMessageFactory
|
|
|
|
COMMENT a function that takes the player to send the message to
|
|
|
|
COMMENT and returns either the text to send to them or {@code null}
|
|
|
|
COMMENT to indicate the message should not be sent to them
|
2022-07-06 07:57:17 -04:00
|
|
|
ARG 3 overlay
|
2022-06-30 12:44:10 -04:00
|
|
|
METHOD method_43514 broadcast (Lnet/minecraft/class_2561;Z)V
|
2022-05-02 08:57:32 -04:00
|
|
|
COMMENT Broadcasts a message to all players and the server console.
|
|
|
|
COMMENT
|
|
|
|
COMMENT @apiNote This is used to send general messages such as a death
|
2022-05-12 09:36:43 -04:00
|
|
|
COMMENT message or a join/leave message.
|
|
|
|
COMMENT
|
2022-07-06 07:57:17 -04:00
|
|
|
COMMENT @see #broadcast(Text, Function, boolean)
|
2022-07-15 10:12:43 -04:00
|
|
|
COMMENT @see #broadcast(FilteredMessage, ServerCommandSource, MessageType.Parameters)
|
|
|
|
COMMENT @see #broadcast(FilteredMessage, ServerPlayerEntity, MessageType.Parameters)
|
|
|
|
COMMENT @see #broadcast(SignedMessage, MessageSourceProfile, MessageType.Parameters)
|
|
|
|
COMMENT @see #broadcast(FilteredMessage, Predicate, MessageSourceProfile, MessageType.Parameters)
|
2022-05-12 09:36:43 -04:00
|
|
|
ARG 1 message
|
2022-07-06 07:57:17 -04:00
|
|
|
ARG 2 overlay
|
2022-05-17 05:56:35 -04:00
|
|
|
METHOD method_43670 (Lnet/minecraft/class_3222;Lnet/minecraft/server/MinecraftServer$class_7460;)V
|
|
|
|
ARG 1 properties
|
2022-07-08 09:17:43 -04:00
|
|
|
METHOD method_43673 broadcast (Lnet/minecraft/class_5837;Lnet/minecraft/class_3222;Lnet/minecraft/class_2556$class_7602;)V
|
2022-05-12 09:36:43 -04:00
|
|
|
COMMENT Broadcasts a chat message to all players and the server console.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>Chat messages have signatures. It is possible to use a bogus signature - such as
|
2022-07-15 10:12:43 -04:00
|
|
|
COMMENT {@link net.minecraft.network.message.SignedMessage#ofUnsigned} - to send a chat
|
2022-05-12 09:36:43 -04:00
|
|
|
COMMENT message; however if the signature is invalid (e.g. because the text's content differs
|
|
|
|
COMMENT from the one sent by the client, or because the passed signature is invalid) the client
|
2022-07-15 10:12:43 -04:00
|
|
|
COMMENT will show a warning and can discard it depending on the client's options.
|
2022-05-12 09:36:43 -04:00
|
|
|
COMMENT
|
|
|
|
COMMENT @apiNote This method is used to broadcast a message sent by a player
|
|
|
|
COMMENT through {@linkplain net.minecraft.client.gui.screen.ChatScreen the chat screen}
|
|
|
|
COMMENT as well as through commands like {@link net.minecraft.server.command.MeCommand} or
|
|
|
|
COMMENT {@link net.minecraft.server.command.SayCommand} .
|
|
|
|
COMMENT
|
2022-07-06 07:57:17 -04:00
|
|
|
COMMENT @see #broadcast(Text, boolean)
|
|
|
|
COMMENT @see #broadcast(Text, Function, boolean)
|
2022-07-15 10:12:43 -04:00
|
|
|
COMMENT @see #broadcast(FilteredMessage, ServerCommandSource, MessageType.Parameters)
|
|
|
|
COMMENT @see #broadcast(SignedMessage, MessageSourceProfile, MessageType.Parameters)
|
|
|
|
COMMENT @see #broadcast(FilteredMessage, Predicate, MessageSourceProfile, MessageType.Parameters)
|
2022-05-23 08:07:30 -04:00
|
|
|
ARG 1 message
|
|
|
|
ARG 2 sender
|
2022-07-15 10:12:43 -04:00
|
|
|
ARG 3 params
|
2022-07-08 09:17:43 -04:00
|
|
|
METHOD method_43674 broadcast (Lnet/minecraft/class_7471;Lnet/minecraft/class_7436;Lnet/minecraft/class_2556$class_7602;)V
|
2022-05-12 09:36:43 -04:00
|
|
|
COMMENT Broadcasts a chat message to all players and the server console.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>Chat messages have signatures. It is possible to use a bogus signature - such as
|
2022-07-15 10:12:43 -04:00
|
|
|
COMMENT {@link net.minecraft.network.message.SignedMessage#ofUnsigned} - to send a chat
|
2022-05-12 09:36:43 -04:00
|
|
|
COMMENT message; however if the signature is invalid (e.g. because the text's content differs
|
|
|
|
COMMENT from the one sent by the client, or because the passed signature is invalid) the client
|
2022-07-15 10:12:43 -04:00
|
|
|
COMMENT will show a warning and can discard it depending on the client's options.
|
2022-05-12 09:36:43 -04:00
|
|
|
COMMENT
|
|
|
|
COMMENT @apiNote This method is used to broadcast messages from commands like {@link
|
|
|
|
COMMENT net.minecraft.server.command.MeCommand} or {@link net.minecraft.server.command.SayCommand}.
|
2022-05-02 08:57:32 -04:00
|
|
|
COMMENT
|
2022-07-06 07:57:17 -04:00
|
|
|
COMMENT @see #broadcast(Text, boolean)
|
|
|
|
COMMENT @see #broadcast(Text, Function, boolean)
|
2022-07-15 10:12:43 -04:00
|
|
|
COMMENT @see #broadcast(FilteredMessage, ServerCommandSource, MessageType.Parameters)
|
|
|
|
COMMENT @see #broadcast(FilteredMessage, ServerPlayerEntity, MessageType.Parameters)
|
|
|
|
COMMENT @see #broadcast(FilteredMessage, Predicate, MessageSourceProfile, MessageType.Parameters)
|
2022-05-02 08:57:32 -04:00
|
|
|
ARG 1 message
|
2022-07-15 10:12:43 -04:00
|
|
|
ARG 2 profile
|
|
|
|
ARG 3 params
|
2022-07-08 09:17:43 -04:00
|
|
|
METHOD method_44166 broadcast (Lnet/minecraft/class_5837;Lnet/minecraft/class_2168;Lnet/minecraft/class_2556$class_7602;)V
|
2022-05-23 08:07:30 -04:00
|
|
|
COMMENT Broadcasts a chat message to all players and the server console.
|
|
|
|
COMMENT
|
|
|
|
COMMENT @apiNote This method is used to broadcast a message sent by commands like
|
|
|
|
COMMENT {@link net.minecraft.server.command.MeCommand} or
|
|
|
|
COMMENT {@link net.minecraft.server.command.SayCommand} .
|
|
|
|
COMMENT
|
2022-07-06 07:57:17 -04:00
|
|
|
COMMENT @see #broadcast(Text, boolean)
|
|
|
|
COMMENT @see #broadcast(Text, Function, boolean)
|
2022-07-15 10:12:43 -04:00
|
|
|
COMMENT @see #broadcast(FilteredMessage, ServerPlayerEntity, MessageType.Parameters)
|
|
|
|
COMMENT @see #broadcast(SignedMessage, MessageSourceProfile, MessageType.Parameters)
|
|
|
|
COMMENT @see #broadcast(FilteredMessage, Predicate, MessageSourceProfile, MessageType.Parameters)
|
2022-05-23 08:07:30 -04:00
|
|
|
ARG 1 message
|
|
|
|
ARG 2 source
|
2022-07-15 10:12:43 -04:00
|
|
|
ARG 3 params
|
|
|
|
METHOD method_44791 broadcast (Lnet/minecraft/class_5837;Ljava/util/function/Predicate;Lnet/minecraft/class_7436;Lnet/minecraft/class_2556$class_7602;)V
|
|
|
|
COMMENT Broadcasts a chat message to all players and the server console.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>Chat messages have signatures. It is possible to use a bogus signature - such as
|
|
|
|
COMMENT {@link net.minecraft.network.message.SignedMessage#ofUnsigned} - to send a chat
|
|
|
|
COMMENT message; however if the signature is invalid (e.g. because the text's content differs
|
|
|
|
COMMENT from the one sent by the client, or because the passed signature is invalid) the client
|
|
|
|
COMMENT will show a warning and can discard it depending on the client's options.
|
|
|
|
COMMENT
|
|
|
|
COMMENT @see #broadcast(Text, boolean)
|
|
|
|
COMMENT @see #broadcast(Text, Function, boolean)
|
|
|
|
COMMENT @see #broadcast(FilteredMessage, ServerCommandSource, MessageType.Parameters)
|
|
|
|
COMMENT @see #broadcast(FilteredMessage, ServerPlayerEntity, MessageType.Parameters)
|
|
|
|
COMMENT @see #broadcast(SignedMessage, MessageSourceProfile, MessageType.Parameters)
|
|
|
|
ARG 1 message
|
|
|
|
ARG 2 shouldSendFiltered
|
|
|
|
COMMENT predicate that determines whether to send the filtered message for the given player
|
|
|
|
ARG 3 profile
|
|
|
|
ARG 4 params
|
|
|
|
METHOD method_44792 sendMessageHeader (Lnet/minecraft/class_7471;Ljava/util/Set;)V
|
|
|
|
COMMENT Sends {@code message}'s headers (only) to all players except {@code except}.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>This is used to keep the integrity of the "message chain" when a message is censored
|
|
|
|
COMMENT or when the message is originally sent without metadata due to it being originated from
|
|
|
|
COMMENT entities.
|
|
|
|
ARG 1 message
|
|
|
|
ARG 2 except
|
|
|
|
METHOD method_44793 verify (Lnet/minecraft/class_7471;Lnet/minecraft/class_7436;)Z
|
|
|
|
COMMENT {@return whether {@code message} is not expired and is verified}
|
|
|
|
COMMENT
|
|
|
|
COMMENT @implNote This only affects the server log. Unverified messages are still broadcast
|
|
|
|
COMMENT to other clients.
|
|
|
|
ARG 1 message
|
|
|
|
ARG 2 profile
|
|
|
|
METHOD method_44794 (Lnet/minecraft/class_3222;)Z
|
|
|
|
ARG 0 player
|