public class WhitelistEntry extends ServerConfigEntry<com.mojang.authlib.GameProfile>
| Constructor and Description |
|---|
WhitelistEntry(com.mojang.authlib.GameProfile profile) |
WhitelistEntry(com.google.gson.JsonObject json) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
fromJson(com.google.gson.JsonObject json) |
private static com.mojang.authlib.GameProfile |
profileFromJson(com.google.gson.JsonObject json) |
getKey, isInvalidpublic WhitelistEntry(com.mojang.authlib.GameProfile profile)
public WhitelistEntry(com.google.gson.JsonObject json)
protected void fromJson(com.google.gson.JsonObject json)
fromJson in class ServerConfigEntry<com.mojang.authlib.GameProfile>private static com.mojang.authlib.GameProfile profileFromJson(com.google.gson.JsonObject json)