类 BannedPlayerEntry
- java.lang.Object
-
- net.minecraft.server.ServerConfigEntry<T>
-
- net.minecraft.server.BanEntry<com.mojang.authlib.GameProfile>
-
- net.minecraft.server.BannedPlayerEntry
-
public class BannedPlayerEntry extends BanEntry<com.mojang.authlib.GameProfile>
- Mappings:
Namespace Name official aegintermediary net/minecraft/class_3336named net/minecraft/server/BannedPlayerEntry
-
-
字段概要
-
从类继承的字段 net.minecraft.server.BanEntry
creationDate, DATE_FORMAT, expiryDate, field_29787, reason, source
-
-
构造器概要
构造器 构造器 说明 BannedPlayerEntry(JsonObject json)BannedPlayerEntry(com.mojang.authlib.GameProfile profile)BannedPlayerEntry(com.mojang.authlib.GameProfile profile, @Nullable Date created, @Nullable String source, @Nullable Date expiry, @Nullable String reason)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 protected voidfromJson(JsonObject json)private static com.mojang.authlib.GameProfileprofileFromJson(JsonObject json)TexttoText()-
从类继承的方法 net.minecraft.server.BanEntry
getExpiryDate, getReason, getSource, isInvalid, method_34885
-
从类继承的方法 net.minecraft.server.ServerConfigEntry
getKey
-
-
-
-
构造器详细资料
-
BannedPlayerEntry
public BannedPlayerEntry(com.mojang.authlib.GameProfile profile)
- Mappings:
Namespace Name Mixin selector official <init>Laeg;<init>(Lcom/mojang/authlib/GameProfile;)Vintermediary <init>Lnet/minecraft/class_3336;<init>(Lcom/mojang/authlib/GameProfile;)Vnamed <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;)Vintermediary <init>Lnet/minecraft/class_3336;<init>(Lcom/mojang/authlib/GameProfile;Ljava/util/Date;Ljava/lang/String;Ljava/util/Date;Ljava/lang/String;)Vnamed <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;)Vintermediary <init>Lnet/minecraft/class_3336;<init>(Lcom/google/gson/JsonObject;)Vnamed <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 aLaed;a(Lcom/google/gson/JsonObject;)Vintermediary method_24896Lnet/minecraft/class_3330;method_24896(Lcom/google/gson/JsonObject;)Vnamed fromJsonLnet/minecraft/server/ServerConfigEntry;fromJson(Lcom/google/gson/JsonObject;)V
-
toText
public Text toText()
-
profileFromJson
private static com.mojang.authlib.GameProfile profileFromJson(JsonObject json)
- Mappings:
Namespace Name Mixin selector official bLaeg;b(Lcom/google/gson/JsonObject;)Lcom/mojang/authlib/GameProfile;intermediary method_14651Lnet/minecraft/class_3336;method_14651(Lcom/google/gson/JsonObject;)Lcom/mojang/authlib/GameProfile;named profileFromJsonLnet/minecraft/server/BannedPlayerEntry;profileFromJson(Lcom/google/gson/JsonObject;)Lcom/mojang/authlib/GameProfile;
-
-