Package net.minecraft.server
Class BannedPlayerList
java.lang.Object
net.minecraft.server.ServerConfigList<com.mojang.authlib.GameProfile,BannedPlayerEntry>
net.minecraft.server.BannedPlayerList
public class BannedPlayerList extends ServerConfigList<com.mojang.authlib.GameProfile,BannedPlayerEntry>
-
Field Summary
Fields inherited from class net.minecraft.server.ServerConfigList
LOGGER
-
Constructor Summary
Constructors Constructor Description BannedPlayerList(File file)
-
Method Summary
Modifier and Type Method Description boolean
contains(com.mojang.authlib.GameProfile gameProfile)
protected ServerConfigEntry<com.mojang.authlib.GameProfile>
fromJson(JsonObject json)
String[]
getNames()
protected String
toString(com.mojang.authlib.GameProfile gameProfile)
-
Constructor Details
-
BannedPlayerList
-
-
Method Details
-
fromJson
- Specified by:
fromJson
in classServerConfigList<com.mojang.authlib.GameProfile,BannedPlayerEntry>
-
contains
public boolean contains(com.mojang.authlib.GameProfile gameProfile)- Overrides:
contains
in classServerConfigList<com.mojang.authlib.GameProfile,BannedPlayerEntry>
-
getNames
- Overrides:
getNames
in classServerConfigList<com.mojang.authlib.GameProfile,BannedPlayerEntry>
-
toString
- Overrides:
toString
in classServerConfigList<com.mojang.authlib.GameProfile,BannedPlayerEntry>
-