Package net.minecraft.server.integrated
Class IntegratedPlayerManager
java.lang.Object
net.minecraft.server.PlayerManager
net.minecraft.server.integrated.IntegratedPlayerManager
- Mappings:
Namespace Name named net/minecraft/server/integrated/IntegratedPlayerManager
intermediary net/minecraft/class_1130
official gtr
-
Field Summary
Fields inherited from class net.minecraft.server.PlayerManager
BANNED_IPS_FILE, BANNED_PLAYERS_FILE, DUPLICATE_LOGIN_TEXT, FILTERED_FULL_TEXT, maxPlayers, OPERATORS_FILE, WHITELIST_FILE
-
Constructor Summary
ConstructorDescriptionIntegratedPlayerManager
(IntegratedServer server, CombinedDynamicRegistries<ServerDynamicRegistryType> registryManager, WorldSaveHandler saveHandler) -
Method Summary
Modifier and TypeMethodDescriptioncheckCanJoin
(SocketAddress address, com.mojang.authlib.GameProfile profile) Gets the user data of the player hosting the Minecraft server.protected void
savePlayerData
(ServerPlayerEntity player) Methods inherited from class net.minecraft.server.PlayerManager
addToOperators, areCheatsAllowed, broadcast, broadcast, broadcast, broadcast, canBypassPlayerLimit, createPlayer, createStatHandler, disconnectAllPlayers, disconnectDuplicateLogins, getAdvancementTracker, getCurrentPlayerCount, getIpBanList, getMaxPlayerCount, getOpList, getOpNames, getPlayer, getPlayer, getPlayerList, getPlayerNames, getPlayersByIp, getSimulationDistance, getUserBanList, getViewDistance, getWhitelist, getWhitelistedNames, isOperator, isWhitelisted, isWhitelistEnabled, loadPlayerData, onDataPacksReloaded, onPlayerConnect, reloadWhitelist, remove, removeFromOperators, respawnPlayer, saveAllPlayerData, sendCommandTree, sendPlayerStatus, sendScoreboard, sendStatusEffects, sendStatusEffects, sendToAll, sendToAround, sendToDimension, sendToOtherTeams, sendToTeam, sendWorldInfo, setCheatsAllowed, setMainWorld, setSimulationDistance, setViewDistance, setWhitelistEnabled, updatePlayerLatency
-
Field Details
-
userData
- Mappings:
Namespace Name Mixin selector named userData
Lnet/minecraft/server/integrated/IntegratedPlayerManager;userData:Lnet/minecraft/nbt/NbtCompound;
intermediary field_5514
Lnet/minecraft/class_1130;field_5514:Lnet/minecraft/class_2487;
official h
Lgtr;h:Ltx;
-
-
Constructor Details
-
IntegratedPlayerManager
public IntegratedPlayerManager(IntegratedServer server, CombinedDynamicRegistries<ServerDynamicRegistryType> registryManager, WorldSaveHandler saveHandler) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/server/integrated/IntegratedPlayerManager;<init>(Lnet/minecraft/server/integrated/IntegratedServer;Lnet/minecraft/registry/CombinedDynamicRegistries;Lnet/minecraft/world/WorldSaveHandler;)V
intermediary <init>
Lnet/minecraft/class_1130;<init>(Lnet/minecraft/class_1132;Lnet/minecraft/class_7780;Lnet/minecraft/class_29;)V
official <init>
Lgtr;<init>(Lgts;Ljq;Leqn;)V
-
-
Method Details
-
savePlayerData
- Overrides:
savePlayerData
in classPlayerManager
- Mappings:
Namespace Name Mixin selector named savePlayerData
Lnet/minecraft/server/PlayerManager;savePlayerData(Lnet/minecraft/server/network/ServerPlayerEntity;)V
intermediary method_14577
Lnet/minecraft/class_3324;method_14577(Lnet/minecraft/class_3222;)V
official b
Lauj;b(Laqn;)V
-
checkCanJoin
- Overrides:
checkCanJoin
in classPlayerManager
- Mappings:
Namespace Name Mixin selector named checkCanJoin
Lnet/minecraft/server/PlayerManager;checkCanJoin(Ljava/net/SocketAddress;Lcom/mojang/authlib/GameProfile;)Lnet/minecraft/text/Text;
intermediary method_14586
Lnet/minecraft/class_3324;method_14586(Ljava/net/SocketAddress;Lcom/mojang/authlib/GameProfile;)Lnet/minecraft/class_2561;
official a
Lauj;a(Ljava/net/SocketAddress;Lcom/mojang/authlib/GameProfile;)Lwu;
-
getServer
- Overrides:
getServer
in classPlayerManager
- Mappings:
Namespace Name Mixin selector named getServer
Lnet/minecraft/server/integrated/IntegratedPlayerManager;getServer()Lnet/minecraft/server/integrated/IntegratedServer;
intermediary method_4811
Lnet/minecraft/class_1130;method_4811()Lnet/minecraft/class_1132;
official b
Lgtr;b()Lgts;
-
getUserData
Gets the user data of the player hosting the Minecraft server.- Overrides:
getUserData
in classPlayerManager
- Returns:
- the user data of the host of the server if the server is an integrated server, otherwise
null
- Mappings:
Namespace Name Mixin selector named getUserData
Lnet/minecraft/server/PlayerManager;getUserData()Lnet/minecraft/nbt/NbtCompound;
intermediary method_14567
Lnet/minecraft/class_3324;method_14567()Lnet/minecraft/class_2487;
official r
Lauj;r()Ltx;
-