Class PlayerManager

java.lang.Object
net.minecraft.server.PlayerManager
Direct Known Subclasses:
DedicatedPlayerManager, IntegratedPlayerManager

public abstract class PlayerManager extends Object
Mappings:
Namespace Name
official afy
intermediary net/minecraft/class_3324
named net/minecraft/server/PlayerManager
  • Field Details

    • BANNED_PLAYERS_FILE

      public static final File BANNED_PLAYERS_FILE
      Mappings:
      Namespace Name Mixin selector
      official b Lafy;b:Ljava/io/File;
      intermediary field_14355 Lnet/minecraft/class_3324;field_14355:Ljava/io/File;
      named BANNED_PLAYERS_FILE Lnet/minecraft/server/PlayerManager;BANNED_PLAYERS_FILE:Ljava/io/File;
    • BANNED_IPS_FILE

      public static final File BANNED_IPS_FILE
      Mappings:
      Namespace Name Mixin selector
      official c Lafy;c:Ljava/io/File;
      intermediary field_14364 Lnet/minecraft/class_3324;field_14364:Ljava/io/File;
      named BANNED_IPS_FILE Lnet/minecraft/server/PlayerManager;BANNED_IPS_FILE:Ljava/io/File;
    • OPERATORS_FILE

      public static final File OPERATORS_FILE
      Mappings:
      Namespace Name Mixin selector
      official d Lafy;d:Ljava/io/File;
      intermediary field_14348 Lnet/minecraft/class_3324;field_14348:Ljava/io/File;
      named OPERATORS_FILE Lnet/minecraft/server/PlayerManager;OPERATORS_FILE:Ljava/io/File;
    • WHITELIST_FILE

      public static final File WHITELIST_FILE
      Mappings:
      Namespace Name Mixin selector
      official e Lafy;e:Ljava/io/File;
      intermediary field_14343 Lnet/minecraft/class_3324;field_14343:Ljava/io/File;
      named WHITELIST_FILE Lnet/minecraft/server/PlayerManager;WHITELIST_FILE:Ljava/io/File;
    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lafy;a:Lorg/apache/logging/log4j/Logger;
      intermediary field_14349 Lnet/minecraft/class_3324;field_14349:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/server/PlayerManager;LOGGER:Lorg/apache/logging/log4j/Logger;
    • LATENCY_UPDATE_INTERVAL

      private static final int LATENCY_UPDATE_INTERVAL
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official g Lafy;g:I
      intermediary field_29790 Lnet/minecraft/class_3324;field_29790:I
      named LATENCY_UPDATE_INTERVAL Lnet/minecraft/server/PlayerManager;LATENCY_UPDATE_INTERVAL:I
    • DATE_FORMATTER

      private static final SimpleDateFormat DATE_FORMATTER
      Mappings:
      Namespace Name Mixin selector
      official h Lafy;h:Ljava/text/SimpleDateFormat;
      intermediary field_14356 Lnet/minecraft/class_3324;field_14356:Ljava/text/SimpleDateFormat;
      named DATE_FORMATTER Lnet/minecraft/server/PlayerManager;DATE_FORMATTER:Ljava/text/SimpleDateFormat;
    • field_29791

      private static final boolean field_29791
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official x Lafy;x:Z
      intermediary field_29791 Lnet/minecraft/class_3324;field_29791:Z
      named field_29791 Lnet/minecraft/server/PlayerManager;field_29791:Z
    • server

      private final MinecraftServer server
      Mappings:
      Namespace Name Mixin selector
      official i Lafy;i:Lnet/minecraft/server/MinecraftServer;
      intermediary field_14360 Lnet/minecraft/class_3324;field_14360:Lnet/minecraft/server/MinecraftServer;
      named server Lnet/minecraft/server/PlayerManager;server:Lnet/minecraft/server/MinecraftServer;
    • players

      private final List<ServerPlayerEntity> players
      Mappings:
      Namespace Name Mixin selector
      official j Lafy;j:Ljava/util/List;
      intermediary field_14351 Lnet/minecraft/class_3324;field_14351:Ljava/util/List;
      named players Lnet/minecraft/server/PlayerManager;players:Ljava/util/List;
    • playerMap

      private final Map<UUID,ServerPlayerEntity> playerMap
      Mappings:
      Namespace Name Mixin selector
      official k Lafy;k:Ljava/util/Map;
      intermediary field_14354 Lnet/minecraft/class_3324;field_14354:Ljava/util/Map;
      named playerMap Lnet/minecraft/server/PlayerManager;playerMap:Ljava/util/Map;
    • bannedProfiles

      private final BannedPlayerList bannedProfiles
      Mappings:
      Namespace Name Mixin selector
      official l Lafy;l:Lage;
      intermediary field_14344 Lnet/minecraft/class_3324;field_14344:Lnet/minecraft/class_3335;
      named bannedProfiles Lnet/minecraft/server/PlayerManager;bannedProfiles:Lnet/minecraft/server/BannedPlayerList;
    • bannedIps

      private final BannedIpList bannedIps
      Mappings:
      Namespace Name Mixin selector
      official m Lafy;m:Lafv;
      intermediary field_14345 Lnet/minecraft/class_3324;field_14345:Lnet/minecraft/class_3317;
      named bannedIps Lnet/minecraft/server/PlayerManager;bannedIps:Lnet/minecraft/server/BannedIpList;
    • ops

      private final OperatorList ops
      Mappings:
      Namespace Name Mixin selector
      official n Lafy;n:Lafz;
      intermediary field_14353 Lnet/minecraft/class_3324;field_14353:Lnet/minecraft/class_3326;
      named ops Lnet/minecraft/server/PlayerManager;ops:Lnet/minecraft/server/OperatorList;
    • whitelist

      private final Whitelist whitelist
      Mappings:
      Namespace Name Mixin selector
      official o Lafy;o:Lagg;
      intermediary field_14361 Lnet/minecraft/class_3324;field_14361:Lnet/minecraft/class_3337;
      named whitelist Lnet/minecraft/server/PlayerManager;whitelist:Lnet/minecraft/server/Whitelist;
    • statisticsMap

      private final Map<UUID,ServerStatHandler> statisticsMap
      Mappings:
      Namespace Name Mixin selector
      official p Lafy;p:Ljava/util/Map;
      intermediary field_14362 Lnet/minecraft/class_3324;field_14362:Ljava/util/Map;
      named statisticsMap Lnet/minecraft/server/PlayerManager;statisticsMap:Ljava/util/Map;
    • advancementTrackers

      private final Map<UUID,PlayerAdvancementTracker> advancementTrackers
      Mappings:
      Namespace Name Mixin selector
      official q Lafy;q:Ljava/util/Map;
      intermediary field_14346 Lnet/minecraft/class_3324;field_14346:Ljava/util/Map;
      named advancementTrackers Lnet/minecraft/server/PlayerManager;advancementTrackers:Ljava/util/Map;
    • saveHandler

      private final WorldSaveHandler saveHandler
      Mappings:
      Namespace Name Mixin selector
      official r Lafy;r:Ldjq;
      intermediary field_14358 Lnet/minecraft/class_3324;field_14358:Lnet/minecraft/class_29;
      named saveHandler Lnet/minecraft/server/PlayerManager;saveHandler:Lnet/minecraft/world/WorldSaveHandler;
    • whitelistEnabled

      private boolean whitelistEnabled
      Mappings:
      Namespace Name Mixin selector
      official s Lafy;s:Z
      intermediary field_14352 Lnet/minecraft/class_3324;field_14352:Z
      named whitelistEnabled Lnet/minecraft/server/PlayerManager;whitelistEnabled:Z
    • registryManager

      private final DynamicRegistryManager.Impl registryManager
      Mappings:
      Namespace Name Mixin selector
      official t Lafy;t:Lgy$b;
      intermediary field_24626 Lnet/minecraft/class_3324;field_24626:Lnet/minecraft/class_5455$class_5457;
      named registryManager Lnet/minecraft/server/PlayerManager;registryManager:Lnet/minecraft/util/registry/DynamicRegistryManager$Impl;
    • maxPlayers

      protected final int maxPlayers
      Mappings:
      Namespace Name Mixin selector
      official f Lafy;f:I
      intermediary field_14347 Lnet/minecraft/class_3324;field_14347:I
      named maxPlayers Lnet/minecraft/server/PlayerManager;maxPlayers:I
    • viewDistance

      private int viewDistance
      Mappings:
      Namespace Name Mixin selector
      official u Lafy;u:I
      intermediary field_14359 Lnet/minecraft/class_3324;field_14359:I
      named viewDistance Lnet/minecraft/server/PlayerManager;viewDistance:I
    • simulationDistance

      private int simulationDistance
      Mappings:
      Namespace Name Mixin selector
      official v Lafy;v:I
      intermediary field_34895 Lnet/minecraft/class_3324;field_34895:I
      named simulationDistance Lnet/minecraft/server/PlayerManager;simulationDistance:I
    • cheatsAllowed

      private boolean cheatsAllowed
      Mappings:
      Namespace Name Mixin selector
      official w Lafy;w:Z
      intermediary field_14350 Lnet/minecraft/class_3324;field_14350:Z
      named cheatsAllowed Lnet/minecraft/server/PlayerManager;cheatsAllowed:Z
    • latencyUpdateTimer

      private int latencyUpdateTimer
      Mappings:
      Namespace Name Mixin selector
      official y Lafy;y:I
      intermediary field_14357 Lnet/minecraft/class_3324;field_14357:I
      named latencyUpdateTimer Lnet/minecraft/server/PlayerManager;latencyUpdateTimer:I
  • Constructor Details

    • PlayerManager

      public PlayerManager(MinecraftServer server, DynamicRegistryManager.Impl registryManager, WorldSaveHandler saveHandler, int maxPlayers)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lafy;<init>(Lnet/minecraft/server/MinecraftServer;Lgy$b;Ldjq;I)V
      intermediary <init> Lnet/minecraft/class_3324;<init>(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/class_5455$class_5457;Lnet/minecraft/class_29;I)V
      named <init> Lnet/minecraft/server/PlayerManager;<init>(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/util/registry/DynamicRegistryManager$Impl;Lnet/minecraft/world/WorldSaveHandler;I)V
  • Method Details

    • onPlayerConnect

      public void onPlayerConnect(ClientConnection connection, ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official a Lafy;a(Lpl;Ladj;)V
      intermediary method_14570 Lnet/minecraft/class_3324;method_14570(Lnet/minecraft/class_2535;Lnet/minecraft/class_3222;)V
      named onPlayerConnect Lnet/minecraft/server/PlayerManager;onPlayerConnect(Lnet/minecraft/network/ClientConnection;Lnet/minecraft/server/network/ServerPlayerEntity;)V
    • sendScoreboard

      protected void sendScoreboard(ServerScoreboard scoreboard, ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official a Lafy;a(Lyw;Ladj;)V
      intermediary method_14588 Lnet/minecraft/class_3324;method_14588(Lnet/minecraft/class_2995;Lnet/minecraft/class_3222;)V
      named sendScoreboard Lnet/minecraft/server/PlayerManager;sendScoreboard(Lnet/minecraft/scoreboard/ServerScoreboard;Lnet/minecraft/server/network/ServerPlayerEntity;)V
    • setMainWorld

      public void setMainWorld(ServerWorld world)
      Mappings:
      Namespace Name Mixin selector
      official a Lafy;a(Ladi;)V
      intermediary method_14591 Lnet/minecraft/class_3324;method_14591(Lnet/minecraft/class_3218;)V
      named setMainWorld Lnet/minecraft/server/PlayerManager;setMainWorld(Lnet/minecraft/server/world/ServerWorld;)V
    • loadPlayerData

      @Nullable public @Nullable NbtCompound loadPlayerData(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official a Lafy;a(Ladj;)Loc;
      intermediary method_14600 Lnet/minecraft/class_3324;method_14600(Lnet/minecraft/class_3222;)Lnet/minecraft/class_2487;
      named loadPlayerData Lnet/minecraft/server/PlayerManager;loadPlayerData(Lnet/minecraft/server/network/ServerPlayerEntity;)Lnet/minecraft/nbt/NbtCompound;
    • savePlayerData

      protected void savePlayerData(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official b Lafy;b(Ladj;)V
      intermediary method_14577 Lnet/minecraft/class_3324;method_14577(Lnet/minecraft/class_3222;)V
      named savePlayerData Lnet/minecraft/server/PlayerManager;savePlayerData(Lnet/minecraft/server/network/ServerPlayerEntity;)V
    • remove

      public void remove(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official c Lafy;c(Ladj;)V
      intermediary method_14611 Lnet/minecraft/class_3324;method_14611(Lnet/minecraft/class_3222;)V
      named remove Lnet/minecraft/server/PlayerManager;remove(Lnet/minecraft/server/network/ServerPlayerEntity;)V
    • checkCanJoin

      @Nullable public @Nullable Text checkCanJoin(SocketAddress address, com.mojang.authlib.GameProfile profile)
      Mappings:
      Namespace Name Mixin selector
      official a Lafy;a(Ljava/net/SocketAddress;Lcom/mojang/authlib/GameProfile;)Lpz;
      intermediary method_14586 Lnet/minecraft/class_3324;method_14586(Ljava/net/SocketAddress;Lcom/mojang/authlib/GameProfile;)Lnet/minecraft/class_2561;
      named checkCanJoin Lnet/minecraft/server/PlayerManager;checkCanJoin(Ljava/net/SocketAddress;Lcom/mojang/authlib/GameProfile;)Lnet/minecraft/text/Text;
    • createPlayer

      public ServerPlayerEntity createPlayer(com.mojang.authlib.GameProfile profile)
      Mappings:
      Namespace Name Mixin selector
      official e Lafy;e(Lcom/mojang/authlib/GameProfile;)Ladj;
      intermediary method_14613 Lnet/minecraft/class_3324;method_14613(Lcom/mojang/authlib/GameProfile;)Lnet/minecraft/class_3222;
      named createPlayer Lnet/minecraft/server/PlayerManager;createPlayer(Lcom/mojang/authlib/GameProfile;)Lnet/minecraft/server/network/ServerPlayerEntity;
    • respawnPlayer

      public ServerPlayerEntity respawnPlayer(ServerPlayerEntity player, boolean alive)
      Mappings:
      Namespace Name Mixin selector
      official a Lafy;a(Ladj;Z)Ladj;
      intermediary method_14556 Lnet/minecraft/class_3324;method_14556(Lnet/minecraft/class_3222;Z)Lnet/minecraft/class_3222;
      named respawnPlayer Lnet/minecraft/server/PlayerManager;respawnPlayer(Lnet/minecraft/server/network/ServerPlayerEntity;Z)Lnet/minecraft/server/network/ServerPlayerEntity;
    • sendCommandTree

      public void sendCommandTree(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official d Lafy;d(Ladj;)V
      intermediary method_14576 Lnet/minecraft/class_3324;method_14576(Lnet/minecraft/class_3222;)V
      named sendCommandTree Lnet/minecraft/server/PlayerManager;sendCommandTree(Lnet/minecraft/server/network/ServerPlayerEntity;)V
    • updatePlayerLatency

      public void updatePlayerLatency()
      Mappings:
      Namespace Name Mixin selector
      official d Lafy;d()V
      intermediary method_14601 Lnet/minecraft/class_3324;method_14601()V
      named updatePlayerLatency Lnet/minecraft/server/PlayerManager;updatePlayerLatency()V
    • sendToAll

      public void sendToAll(Packet<?> packet)
      Mappings:
      Namespace Name Mixin selector
      official a Lafy;a(Lqr;)V
      intermediary method_14581 Lnet/minecraft/class_3324;method_14581(Lnet/minecraft/class_2596;)V
      named sendToAll Lnet/minecraft/server/PlayerManager;sendToAll(Lnet/minecraft/network/Packet;)V
    • sendToDimension

      public void sendToDimension(Packet<?> packet, RegistryKey<World> dimension)
      Mappings:
      Namespace Name Mixin selector
      official a Lafy;a(Lqr;Lyg;)V
      intermediary method_14589 Lnet/minecraft/class_3324;method_14589(Lnet/minecraft/class_2596;Lnet/minecraft/class_5321;)V
      named sendToDimension Lnet/minecraft/server/PlayerManager;sendToDimension(Lnet/minecraft/network/Packet;Lnet/minecraft/util/registry/RegistryKey;)V
    • sendToTeam

      public void sendToTeam(PlayerEntity source, Text message)
      Mappings:
      Namespace Name Mixin selector
      official a Lafy;a(Lbnr;Lpz;)V
      intermediary method_14564 Lnet/minecraft/class_3324;method_14564(Lnet/minecraft/class_1657;Lnet/minecraft/class_2561;)V
      named sendToTeam Lnet/minecraft/server/PlayerManager;sendToTeam(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/text/Text;)V
    • sendToOtherTeams

      public void sendToOtherTeams(PlayerEntity source, Text message)
      Mappings:
      Namespace Name Mixin selector
      official b Lafy;b(Lbnr;Lpz;)V
      intermediary method_14565 Lnet/minecraft/class_3324;method_14565(Lnet/minecraft/class_1657;Lnet/minecraft/class_2561;)V
      named sendToOtherTeams Lnet/minecraft/server/PlayerManager;sendToOtherTeams(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/text/Text;)V
    • getPlayerNames

      public String[] getPlayerNames()
      Mappings:
      Namespace Name Mixin selector
      official e Lafy;e()[Ljava/lang/String;
      intermediary method_14580 Lnet/minecraft/class_3324;method_14580()[Ljava/lang/String;
      named getPlayerNames Lnet/minecraft/server/PlayerManager;getPlayerNames()[Ljava/lang/String;
    • getUserBanList

      public BannedPlayerList getUserBanList()
      Mappings:
      Namespace Name Mixin selector
      official f Lafy;f()Lage;
      intermediary method_14563 Lnet/minecraft/class_3324;method_14563()Lnet/minecraft/class_3335;
      named getUserBanList Lnet/minecraft/server/PlayerManager;getUserBanList()Lnet/minecraft/server/BannedPlayerList;
    • getIpBanList

      public BannedIpList getIpBanList()
      Mappings:
      Namespace Name Mixin selector
      official g Lafy;g()Lafv;
      intermediary method_14585 Lnet/minecraft/class_3324;method_14585()Lnet/minecraft/class_3317;
      named getIpBanList Lnet/minecraft/server/PlayerManager;getIpBanList()Lnet/minecraft/server/BannedIpList;
    • addToOperators

      public void addToOperators(com.mojang.authlib.GameProfile profile)
      Mappings:
      Namespace Name Mixin selector
      official a Lafy;a(Lcom/mojang/authlib/GameProfile;)V
      intermediary method_14582 Lnet/minecraft/class_3324;method_14582(Lcom/mojang/authlib/GameProfile;)V
      named addToOperators Lnet/minecraft/server/PlayerManager;addToOperators(Lcom/mojang/authlib/GameProfile;)V
    • removeFromOperators

      public void removeFromOperators(com.mojang.authlib.GameProfile profile)
      Mappings:
      Namespace Name Mixin selector
      official b Lafy;b(Lcom/mojang/authlib/GameProfile;)V
      intermediary method_14604 Lnet/minecraft/class_3324;method_14604(Lcom/mojang/authlib/GameProfile;)V
      named removeFromOperators Lnet/minecraft/server/PlayerManager;removeFromOperators(Lcom/mojang/authlib/GameProfile;)V
    • sendCommandTree

      private void sendCommandTree(ServerPlayerEntity player, int permissionLevel)
      Mappings:
      Namespace Name Mixin selector
      official a Lafy;a(Ladj;I)V
      intermediary method_14596 Lnet/minecraft/class_3324;method_14596(Lnet/minecraft/class_3222;I)V
      named sendCommandTree Lnet/minecraft/server/PlayerManager;sendCommandTree(Lnet/minecraft/server/network/ServerPlayerEntity;I)V
    • isWhitelisted

      public boolean isWhitelisted(com.mojang.authlib.GameProfile profile)
      Mappings:
      Namespace Name Mixin selector
      official c Lafy;c(Lcom/mojang/authlib/GameProfile;)Z
      intermediary method_14587 Lnet/minecraft/class_3324;method_14587(Lcom/mojang/authlib/GameProfile;)Z
      named isWhitelisted Lnet/minecraft/server/PlayerManager;isWhitelisted(Lcom/mojang/authlib/GameProfile;)Z
    • isOperator

      public boolean isOperator(com.mojang.authlib.GameProfile profile)
      Mappings:
      Namespace Name Mixin selector
      official f Lafy;f(Lcom/mojang/authlib/GameProfile;)Z
      intermediary method_14569 Lnet/minecraft/class_3324;method_14569(Lcom/mojang/authlib/GameProfile;)Z
      named isOperator Lnet/minecraft/server/PlayerManager;isOperator(Lcom/mojang/authlib/GameProfile;)Z
    • getPlayer

      @Nullable public @Nullable ServerPlayerEntity getPlayer(String name)
      Mappings:
      Namespace Name Mixin selector
      official a Lafy;a(Ljava/lang/String;)Ladj;
      intermediary method_14566 Lnet/minecraft/class_3324;method_14566(Ljava/lang/String;)Lnet/minecraft/class_3222;
      named getPlayer Lnet/minecraft/server/PlayerManager;getPlayer(Ljava/lang/String;)Lnet/minecraft/server/network/ServerPlayerEntity;
    • sendToAround

      public void sendToAround(@Nullable @Nullable PlayerEntity player, double x, double y, double z, double distance, RegistryKey<World> worldKey, Packet<?> packet)
      Mappings:
      Namespace Name Mixin selector
      official a Lafy;a(Lbnr;DDDDLyg;Lqr;)V
      intermediary method_14605 Lnet/minecraft/class_3324;method_14605(Lnet/minecraft/class_1657;DDDDLnet/minecraft/class_5321;Lnet/minecraft/class_2596;)V
      named sendToAround Lnet/minecraft/server/PlayerManager;sendToAround(Lnet/minecraft/entity/player/PlayerEntity;DDDDLnet/minecraft/util/registry/RegistryKey;Lnet/minecraft/network/Packet;)V
    • saveAllPlayerData

      public void saveAllPlayerData()
      Mappings:
      Namespace Name Mixin selector
      official h Lafy;h()V
      intermediary method_14617 Lnet/minecraft/class_3324;method_14617()V
      named saveAllPlayerData Lnet/minecraft/server/PlayerManager;saveAllPlayerData()V
    • getWhitelist

      public Whitelist getWhitelist()
      Mappings:
      Namespace Name Mixin selector
      official i Lafy;i()Lagg;
      intermediary method_14590 Lnet/minecraft/class_3324;method_14590()Lnet/minecraft/class_3337;
      named getWhitelist Lnet/minecraft/server/PlayerManager;getWhitelist()Lnet/minecraft/server/Whitelist;
    • getWhitelistedNames

      public String[] getWhitelistedNames()
      Mappings:
      Namespace Name Mixin selector
      official j Lafy;j()[Ljava/lang/String;
      intermediary method_14560 Lnet/minecraft/class_3324;method_14560()[Ljava/lang/String;
      named getWhitelistedNames Lnet/minecraft/server/PlayerManager;getWhitelistedNames()[Ljava/lang/String;
    • getOpList

      public OperatorList getOpList()
      Mappings:
      Namespace Name Mixin selector
      official k Lafy;k()Lafz;
      intermediary method_14603 Lnet/minecraft/class_3324;method_14603()Lnet/minecraft/class_3326;
      named getOpList Lnet/minecraft/server/PlayerManager;getOpList()Lnet/minecraft/server/OperatorList;
    • getOpNames

      public String[] getOpNames()
      Mappings:
      Namespace Name Mixin selector
      official l Lafy;l()[Ljava/lang/String;
      intermediary method_14584 Lnet/minecraft/class_3324;method_14584()[Ljava/lang/String;
      named getOpNames Lnet/minecraft/server/PlayerManager;getOpNames()[Ljava/lang/String;
    • reloadWhitelist

      public void reloadWhitelist()
      Mappings:
      Namespace Name Mixin selector
      official a Lafy;a()V
      intermediary method_14599 Lnet/minecraft/class_3324;method_14599()V
      named reloadWhitelist Lnet/minecraft/server/PlayerManager;reloadWhitelist()V
    • sendWorldInfo

      public void sendWorldInfo(ServerPlayerEntity player, ServerWorld world)
      Mappings:
      Namespace Name Mixin selector
      official a Lafy;a(Ladj;Ladi;)V
      intermediary method_14606 Lnet/minecraft/class_3324;method_14606(Lnet/minecraft/class_3222;Lnet/minecraft/class_3218;)V
      named sendWorldInfo Lnet/minecraft/server/PlayerManager;sendWorldInfo(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/server/world/ServerWorld;)V
    • sendPlayerStatus

      public void sendPlayerStatus(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official e Lafy;e(Ladj;)V
      intermediary method_14594 Lnet/minecraft/class_3324;method_14594(Lnet/minecraft/class_3222;)V
      named sendPlayerStatus Lnet/minecraft/server/PlayerManager;sendPlayerStatus(Lnet/minecraft/server/network/ServerPlayerEntity;)V
    • getCurrentPlayerCount

      public int getCurrentPlayerCount()
      Mappings:
      Namespace Name Mixin selector
      official m Lafy;m()I
      intermediary method_14574 Lnet/minecraft/class_3324;method_14574()I
      named getCurrentPlayerCount Lnet/minecraft/server/PlayerManager;getCurrentPlayerCount()I
    • getMaxPlayerCount

      public int getMaxPlayerCount()
      Mappings:
      Namespace Name Mixin selector
      official n Lafy;n()I
      intermediary method_14592 Lnet/minecraft/class_3324;method_14592()I
      named getMaxPlayerCount Lnet/minecraft/server/PlayerManager;getMaxPlayerCount()I
    • isWhitelistEnabled

      public boolean isWhitelistEnabled()
      Mappings:
      Namespace Name Mixin selector
      official o Lafy;o()Z
      intermediary method_14614 Lnet/minecraft/class_3324;method_14614()Z
      named isWhitelistEnabled Lnet/minecraft/server/PlayerManager;isWhitelistEnabled()Z
    • setWhitelistEnabled

      public void setWhitelistEnabled(boolean whitelistEnabled)
      Mappings:
      Namespace Name Mixin selector
      official a Lafy;a(Z)V
      intermediary method_14557 Lnet/minecraft/class_3324;method_14557(Z)V
      named setWhitelistEnabled Lnet/minecraft/server/PlayerManager;setWhitelistEnabled(Z)V
    • getPlayersByIp

      public List<ServerPlayerEntity> getPlayersByIp(String ip)
      Mappings:
      Namespace Name Mixin selector
      official b Lafy;b(Ljava/lang/String;)Ljava/util/List;
      intermediary method_14559 Lnet/minecraft/class_3324;method_14559(Ljava/lang/String;)Ljava/util/List;
      named getPlayersByIp Lnet/minecraft/server/PlayerManager;getPlayersByIp(Ljava/lang/String;)Ljava/util/List;
    • getViewDistance

      public int getViewDistance()
      Mappings:
      Namespace Name Mixin selector
      official p Lafy;p()I
      intermediary method_14568 Lnet/minecraft/class_3324;method_14568()I
      named getViewDistance Lnet/minecraft/server/PlayerManager;getViewDistance()I
    • getSimulationDistance

      public int getSimulationDistance()
      Mappings:
      Namespace Name Mixin selector
      official q Lafy;q()I
      intermediary method_38651 Lnet/minecraft/class_3324;method_38651()I
      named getSimulationDistance Lnet/minecraft/server/PlayerManager;getSimulationDistance()I
    • getServer

      public MinecraftServer getServer()
      Mappings:
      Namespace Name Mixin selector
      official c Lafy;c()Lnet/minecraft/server/MinecraftServer;
      intermediary method_14561 Lnet/minecraft/class_3324;method_14561()Lnet/minecraft/server/MinecraftServer;
      named getServer Lnet/minecraft/server/PlayerManager;getServer()Lnet/minecraft/server/MinecraftServer;
    • getUserData

      @Nullable public @Nullable NbtCompound getUserData()
      Gets the user data of the player hosting the Minecraft server.
      Returns:
      the user data of the host of the server if the server is an integrated server, otherwise null
      Mappings:
      Namespace Name Mixin selector
      official r Lafy;r()Loc;
      intermediary method_14567 Lnet/minecraft/class_3324;method_14567()Lnet/minecraft/class_2487;
      named getUserData Lnet/minecraft/server/PlayerManager;getUserData()Lnet/minecraft/nbt/NbtCompound;
    • setCheatsAllowed

      public void setCheatsAllowed(boolean cheatsAllowed)
      Mappings:
      Namespace Name Mixin selector
      official b Lafy;b(Z)V
      intermediary method_14607 Lnet/minecraft/class_3324;method_14607(Z)V
      named setCheatsAllowed Lnet/minecraft/server/PlayerManager;setCheatsAllowed(Z)V
    • disconnectAllPlayers

      public void disconnectAllPlayers()
      Mappings:
      Namespace Name Mixin selector
      official s Lafy;s()V
      intermediary method_14597 Lnet/minecraft/class_3324;method_14597()V
      named disconnectAllPlayers Lnet/minecraft/server/PlayerManager;disconnectAllPlayers()V
    • broadcast

      public void broadcast(Text message, MessageType type, UUID sender)
      Broadcasts a message to all players and the server console.
      Parameters:
      message - the message to broadcast
      type - the message type
      sender - the UUID of the entity that sends a message or Util.NIL_UUID to indicate that the message is not sent by an entity
      See Also:
      API Note:
      This method is used to send general messages such as a death message or a join/leave message.
      Mappings:
      Namespace Name Mixin selector
      official a Lafy;a(Lpz;Lpw;Ljava/util/UUID;)V
      intermediary method_14616 Lnet/minecraft/class_3324;method_14616(Lnet/minecraft/class_2561;Lnet/minecraft/class_2556;Ljava/util/UUID;)V
      named broadcast Lnet/minecraft/server/PlayerManager;broadcast(Lnet/minecraft/text/Text;Lnet/minecraft/network/MessageType;Ljava/util/UUID;)V
    • broadcast

      public void broadcast(Text serverMessage, Function<ServerPlayerEntity,Text> playerMessageFactory, MessageType type, UUID sender)
      Broadcasts a message to all players and the server console. A different message can be sent to a different player.
      Parameters:
      serverMessage - the message to send to the server console
      playerMessageFactory - the factory that provides a message for a player; if null is returned, no message will be sent for that player
      type - the message type
      sender - the UUID of the entity that sends a message or Util.NIL_UUID to indicate that the message is not sent by an entity
      See Also:
      API Note:
      This method is used to broadcast a message sent by a player through the chat screen.
      Mappings:
      Namespace Name Mixin selector
      official a Lafy;a(Lpz;Ljava/util/function/Function;Lpw;Ljava/util/UUID;)V
      intermediary method_33810 Lnet/minecraft/class_3324;method_33810(Lnet/minecraft/class_2561;Ljava/util/function/Function;Lnet/minecraft/class_2556;Ljava/util/UUID;)V
      named broadcast Lnet/minecraft/server/PlayerManager;broadcast(Lnet/minecraft/text/Text;Ljava/util/function/Function;Lnet/minecraft/network/MessageType;Ljava/util/UUID;)V
    • createStatHandler

      public ServerStatHandler createStatHandler(PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official a Lafy;a(Lbnr;)Lahb;
      intermediary method_14583 Lnet/minecraft/class_3324;method_14583(Lnet/minecraft/class_1657;)Lnet/minecraft/class_3442;
      named createStatHandler Lnet/minecraft/server/PlayerManager;createStatHandler(Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/stat/ServerStatHandler;
    • getAdvancementTracker

      public PlayerAdvancementTracker getAdvancementTracker(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official f Lafy;f(Ladj;)Lyp;
      intermediary method_14578 Lnet/minecraft/class_3324;method_14578(Lnet/minecraft/class_3222;)Lnet/minecraft/class_2985;
      named getAdvancementTracker Lnet/minecraft/server/PlayerManager;getAdvancementTracker(Lnet/minecraft/server/network/ServerPlayerEntity;)Lnet/minecraft/advancement/PlayerAdvancementTracker;
    • setViewDistance

      public void setViewDistance(int viewDistance)
      Mappings:
      Namespace Name Mixin selector
      official a Lafy;a(I)V
      intermediary method_14608 Lnet/minecraft/class_3324;method_14608(I)V
      named setViewDistance Lnet/minecraft/server/PlayerManager;setViewDistance(I)V
    • setSimulationDistance

      public void setSimulationDistance(int simulationDistance)
      Mappings:
      Namespace Name Mixin selector
      official b Lafy;b(I)V
      intermediary method_38650 Lnet/minecraft/class_3324;method_38650(I)V
      named setSimulationDistance Lnet/minecraft/server/PlayerManager;setSimulationDistance(I)V
    • getPlayerList

      public List<ServerPlayerEntity> getPlayerList()
      Gets a list of all players on a Minecraft server. This list should not be modified!
      Mappings:
      Namespace Name Mixin selector
      official t Lafy;t()Ljava/util/List;
      intermediary method_14571 Lnet/minecraft/class_3324;method_14571()Ljava/util/List;
      named getPlayerList Lnet/minecraft/server/PlayerManager;getPlayerList()Ljava/util/List;
    • getPlayer

      @Nullable public @Nullable ServerPlayerEntity getPlayer(UUID uuid)
      Mappings:
      Namespace Name Mixin selector
      official a Lafy;a(Ljava/util/UUID;)Ladj;
      intermediary method_14602 Lnet/minecraft/class_3324;method_14602(Ljava/util/UUID;)Lnet/minecraft/class_3222;
      named getPlayer Lnet/minecraft/server/PlayerManager;getPlayer(Ljava/util/UUID;)Lnet/minecraft/server/network/ServerPlayerEntity;
    • canBypassPlayerLimit

      public boolean canBypassPlayerLimit(com.mojang.authlib.GameProfile profile)
      Mappings:
      Namespace Name Mixin selector
      official d Lafy;d(Lcom/mojang/authlib/GameProfile;)Z
      intermediary method_14609 Lnet/minecraft/class_3324;method_14609(Lcom/mojang/authlib/GameProfile;)Z
      named canBypassPlayerLimit Lnet/minecraft/server/PlayerManager;canBypassPlayerLimit(Lcom/mojang/authlib/GameProfile;)Z
    • onDataPacksReloaded

      public void onDataPacksReloaded()
      Mappings:
      Namespace Name Mixin selector
      official u Lafy;u()V
      intermediary method_14572 Lnet/minecraft/class_3324;method_14572()V
      named onDataPacksReloaded Lnet/minecraft/server/PlayerManager;onDataPacksReloaded()V
    • areCheatsAllowed

      public boolean areCheatsAllowed()
      Mappings:
      Namespace Name Mixin selector
      official v Lafy;v()Z
      intermediary method_14579 Lnet/minecraft/class_3324;method_14579()Z
      named areCheatsAllowed Lnet/minecraft/server/PlayerManager;areCheatsAllowed()Z