类 BannedPlayerEntry


  • public class BannedPlayerEntry
    extends BanEntry<com.mojang.authlib.GameProfile>
    Mappings:
    Namespace Name
    official aeg
    intermediary net/minecraft/class_3336
    named net/minecraft/server/BannedPlayerEntry
    • 构造器详细资料

      • BannedPlayerEntry

        public BannedPlayerEntry​(com.mojang.authlib.GameProfile profile)
        Mappings:
        Namespace Name Mixin selector
        official <init> Laeg;<init>(Lcom/mojang/authlib/GameProfile;)V
        intermediary <init> Lnet/minecraft/class_3336;<init>(Lcom/mojang/authlib/GameProfile;)V
        named <init> Lnet/minecraft/server/BannedPlayerEntry;<init>(Lcom/mojang/authlib/GameProfile;)V
      • BannedPlayerEntry

        public BannedPlayerEntry​(com.mojang.authlib.GameProfile profile,
                                 @Nullable
                                 @Nullable Date created,
                                 @Nullable
                                 @Nullable String source,
                                 @Nullable
                                 @Nullable Date expiry,
                                 @Nullable
                                 @Nullable String reason)
        Mappings:
        Namespace Name Mixin selector
        official <init> Laeg;<init>(Lcom/mojang/authlib/GameProfile;Ljava/util/Date;Ljava/lang/String;Ljava/util/Date;Ljava/lang/String;)V
        intermediary <init> Lnet/minecraft/class_3336;<init>(Lcom/mojang/authlib/GameProfile;Ljava/util/Date;Ljava/lang/String;Ljava/util/Date;Ljava/lang/String;)V
        named <init> Lnet/minecraft/server/BannedPlayerEntry;<init>(Lcom/mojang/authlib/GameProfile;Ljava/util/Date;Ljava/lang/String;Ljava/util/Date;Ljava/lang/String;)V
      • BannedPlayerEntry

        public BannedPlayerEntry​(JsonObject json)
        Mappings:
        Namespace Name Mixin selector
        official <init> Laeg;<init>(Lcom/google/gson/JsonObject;)V
        intermediary <init> Lnet/minecraft/class_3336;<init>(Lcom/google/gson/JsonObject;)V
        named <init> Lnet/minecraft/server/BannedPlayerEntry;<init>(Lcom/google/gson/JsonObject;)V
    • 方法详细资料

      • fromJson

        protected void fromJson​(JsonObject json)
        覆盖:
        fromJson 在类中 BanEntry<com.mojang.authlib.GameProfile>
        Mappings:
        Namespace Name Mixin selector
        official a Laed;a(Lcom/google/gson/JsonObject;)V
        intermediary method_24896 Lnet/minecraft/class_3330;method_24896(Lcom/google/gson/JsonObject;)V
        named fromJson Lnet/minecraft/server/ServerConfigEntry;fromJson(Lcom/google/gson/JsonObject;)V
      • toText

        public Text toText()
        指定者:
        toText 在类中 BanEntry<com.mojang.authlib.GameProfile>
        Mappings:
        Namespace Name Mixin selector
        official e Ladu;e()Lon;
        intermediary method_14504 Lnet/minecraft/class_3309;method_14504()Lnet/minecraft/class_2561;
        named toText Lnet/minecraft/server/BanEntry;toText()Lnet/minecraft/text/Text;
      • profileFromJson

        private static com.mojang.authlib.GameProfile profileFromJson​(JsonObject json)
        Mappings:
        Namespace Name Mixin selector
        official b Laeg;b(Lcom/google/gson/JsonObject;)Lcom/mojang/authlib/GameProfile;
        intermediary method_14651 Lnet/minecraft/class_3336;method_14651(Lcom/google/gson/JsonObject;)Lcom/mojang/authlib/GameProfile;
        named profileFromJson Lnet/minecraft/server/BannedPlayerEntry;profileFromJson(Lcom/google/gson/JsonObject;)Lcom/mojang/authlib/GameProfile;