yarn/mappings/net/minecraft/server/PlayerManager.mapping

185 lines
8.9 KiB
Plaintext
Raw Normal View History

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;
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;
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
ARG 2 registryManager
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;
ARG 1 player
ARG 2 alive
2019-06-28 17:55:20 -04:00
METHOD method_14557 setWhitelistEnabled (Z)V
ARG 1 whitelistEnabled
2019-06-28 17:55:20 -04:00
METHOD method_14559 getPlayersByIp (Ljava/lang/String;)Ljava/util/List;
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
ARG 2 message
2019-06-28 17:55:20 -04:00
METHOD method_14565 sendToOtherTeams (Lnet/minecraft/class_1657;Lnet/minecraft/class_2561;)V
ARG 1 source
ARG 2 message
2019-06-28 17:55:20 -04:00
METHOD method_14566 getPlayer (Ljava/lang/String;)Lnet/minecraft/class_3222;
ARG 1 name
2019-06-28 17:55:20 -04:00
METHOD method_14567 getUserData ()Lnet/minecraft/class_2487;
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
ARG 1 profile
2019-06-28 17:55:20 -04:00
METHOD method_14570 onPlayerConnect (Lnet/minecraft/class_2535;Lnet/minecraft/class_3222;)V
ARG 1 connection
ARG 2 player
2019-06-28 17:55:20 -04:00
METHOD method_14571 getPlayerList ()Ljava/util/List;
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
METHOD method_14578 getAdvancementTracker (Lnet/minecraft/class_3222;)Lnet/minecraft/class_2985;
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
ARG 1 packet
2019-06-28 17:55:20 -04:00
METHOD method_14582 addToOperators (Lcom/mojang/authlib/GameProfile;)V
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;
ARG 1 address
ARG 2 profile
2019-06-28 17:55:20 -04:00
METHOD method_14587 isWhitelisted (Lcom/mojang/authlib/GameProfile;)Z
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
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
METHOD method_14594 sendPlayerStatus (Lnet/minecraft/class_3222;)V
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;
METHOD method_14601 updatePlayerLatency ()V
METHOD method_14602 getPlayer (Ljava/util/UUID;)Lnet/minecraft/class_3222;
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
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
ARG 1 player
2019-06-28 17:55:20 -04:00
ARG 2 x
ARG 4 y
ARG 6 z
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
ARG 1 cheatsAllowed
2019-06-28 17:55:20 -04:00
METHOD method_14608 setViewDistance (I)V
ARG 1 viewDistance
2019-06-28 17:55:20 -04:00
METHOD method_14609 canBypassPlayerLimit (Lcom/mojang/authlib/GameProfile;)Z
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
METHOD method_14614 isWhitelistEnabled ()Z
METHOD method_14617 saveAllPlayerData ()V
METHOD method_18241 (Lnet/minecraft/class_3218;Lnet/minecraft/class_1297;)Lnet/minecraft/class_1297;
ARG 1 vehicle
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
METHOD method_38651 getSimulationDistance ()I
METHOD method_43511 (Lnet/minecraft/class_2561;Lnet/minecraft/class_3222;)Lnet/minecraft/class_2561;
ARG 1 player
2022-05-04 14:34:27 -04:00
METHOD method_43512 broadcast (Lnet/minecraft/class_2561;Ljava/util/function/Function;Lnet/minecraft/class_5321;)V
COMMENT Broadcasts a message to all players and the server console. A different
COMMENT message can be sent to a different player.
COMMENT
COMMENT @apiNote This is used by {@link net.minecraft.server.command.MeCommand}
COMMENT and {@link net.minecraft.server.command.SayCommand}.
COMMENT
COMMENT @see #broadcast(Text, MessageType)
COMMENT @see #broadcast(Text, Function, MessageType, ChatMessageSender, Instant, NetworkEncryptionUtils.SignatureData)
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-05-04 14:34:27 -04:00
METHOD method_43513 broadcast (Lnet/minecraft/class_7471;Ljava/util/function/Function;Lnet/minecraft/class_7436;Lnet/minecraft/class_5321;)V
COMMENT Broadcasts a chat message to all players and the server console. A different
COMMENT message can be sent to a different player.
COMMENT
COMMENT <p>Chat messages have signatures. It is possible to use a bogus signature - such as
COMMENT {@link NetworkEncryptionUtils.SignatureData#NONE} - to send a chat message; however
COMMENT if the signature is invalid (e.g. because the text's content differs from the one
COMMENT sent by the client, or because the passed signature is invalid) the client will
COMMENT log a warning. See {@link NetworkEncryptionUtils#updateSignature} for how the message
COMMENT is signed.
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
COMMENT @see #broadcast(Text, MessageType)
COMMENT @see #broadcast(Text, Function, MessageType)
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-05-04 14:34:27 -04:00
METHOD method_43514 broadcast (Lnet/minecraft/class_2561;Lnet/minecraft/class_5321;)V
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
COMMENT message or a join/leave message. This is also used to send messages from
COMMENT non-player-executed commands, such as ones from a command block or the server console.
COMMENT
COMMENT @see #broadcast(Text, Function, MessageType)
COMMENT @see #broadcast(Text, Function, MessageType, ChatMessageSender, Instant, NetworkEncryptionUtils.SignatureData)
ARG 1 message