Package net.minecraft.server
Class 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>
-
Field Summary
Fields inherited from class net.minecraft.server.BanEntry
creationDate, DATE_FORMAT, expiryDate, reason, source
-
Constructor Summary
Constructors Constructor Description BannedPlayerEntry(JsonObject json)
BannedPlayerEntry(com.mojang.authlib.GameProfile profile)
BannedPlayerEntry(com.mojang.authlib.GameProfile profile, Date created, String source, Date expiry, String reason)
-
Method Summary
Modifier and Type Method Description protected void
fromJson(JsonObject json)
private static com.mojang.authlib.GameProfile
profileFromJson(JsonObject json)
Text
toText()
Methods inherited from class net.minecraft.server.BanEntry
getExpiryDate, getReason, getSource, isInvalid
Methods inherited from class net.minecraft.server.ServerConfigEntry
getKey
-
Constructor Details
-
BannedPlayerEntry
public BannedPlayerEntry(com.mojang.authlib.GameProfile profile) -
BannedPlayerEntry
-
BannedPlayerEntry
-
-
Method Details