类 IntegratedPlayerManager


  • @Environment(CLIENT)
    public class IntegratedPlayerManager
    extends PlayerManager
    Mappings:
    Namespace Name
    official ezg
    intermediary net/minecraft/class_1130
    named net/minecraft/server/integrated/IntegratedPlayerManager
    • 字段详细资料

      • userData

        private CompoundTag userData
        Mappings:
        Namespace Name Mixin selector
        official a Lezg;a:Lmv;
        intermediary field_5514 Lnet/minecraft/class_1130;field_5514:Lnet/minecraft/class_2487;
        named userData Lnet/minecraft/server/integrated/IntegratedPlayerManager;userData:Lnet/minecraft/nbt/CompoundTag;
    • 构造器详细资料

      • IntegratedPlayerManager

        public IntegratedPlayerManager​(IntegratedServer server,
                                       DynamicRegistryManager.Impl registryManager,
                                       WorldSaveHandler saveHandler)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lezg;<init>(Lezh;Lgs$b;Ldhf;)V
        intermediary <init> Lnet/minecraft/class_1130;<init>(Lnet/minecraft/class_1132;Lnet/minecraft/class_5455$class_5457;Lnet/minecraft/class_29;)V
        named <init> Lnet/minecraft/server/integrated/IntegratedPlayerManager;<init>(Lnet/minecraft/server/integrated/IntegratedServer;Lnet/minecraft/util/registry/DynamicRegistryManager$Impl;Lnet/minecraft/world/WorldSaveHandler;)V
    • 方法详细资料

      • savePlayerData

        protected void savePlayerData​(ServerPlayerEntity player)
        覆盖:
        savePlayerData 在类中 PlayerManager
        Mappings:
        Namespace Name Mixin selector
        official b Ladz;b(Labk;)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
      • checkCanJoin

        public Text checkCanJoin​(SocketAddress address,
                                 com.mojang.authlib.GameProfile profile)
        覆盖:
        checkCanJoin 在类中 PlayerManager
        Mappings:
        Namespace Name Mixin selector
        official a Ladz;a(Ljava/net/SocketAddress;Lcom/mojang/authlib/GameProfile;)Lon;
        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;
      • getServer

        public IntegratedServer getServer()
        覆盖:
        getServer 在类中 PlayerManager
        Mappings:
        Namespace Name Mixin selector
        official b Lezg;b()Lezh;
        intermediary method_4811 Lnet/minecraft/class_1130;method_4811()Lnet/minecraft/class_1132;
        named getServer Lnet/minecraft/server/integrated/IntegratedPlayerManager;getServer()Lnet/minecraft/server/integrated/IntegratedServer;
      • getUserData

        public CompoundTag getUserData()
        Gets the user data of the player hosting the Minecraft server.
        覆盖:
        getUserData 在类中 PlayerManager
        返回:
        the user data of the host of the server if the server is an integrated server, otherwise null
        Mappings:
        Namespace Name Mixin selector
        official q Ladz;q()Lmv;
        intermediary method_14567 Lnet/minecraft/class_3324;method_14567()Lnet/minecraft/class_2487;
        named getUserData Lnet/minecraft/server/PlayerManager;getUserData()Lnet/minecraft/nbt/CompoundTag;