Package net.minecraft.server.management
Class BanList
- java.lang.Object
-
- net.minecraft.server.management.UserList<com.mojang.authlib.GameProfile,ProfileBanEntry>
-
- net.minecraft.server.management.BanList
-
public class BanList extends UserList<com.mojang.authlib.GameProfile,ProfileBanEntry>
-
-
Constructor Summary
Constructors Constructor Description BanList(java.io.File p_i1138_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected UserListEntry<com.mojang.authlib.GameProfile>
createEntry(com.google.gson.JsonObject p_152682_1_)
protected java.lang.String
getKeyForUser(com.mojang.authlib.GameProfile p_152681_1_)
java.lang.String[]
getUserList()
boolean
isBanned(com.mojang.authlib.GameProfile p_152702_1_)
-
-
-
Method Detail
-
createEntry
protected UserListEntry<com.mojang.authlib.GameProfile> createEntry(com.google.gson.JsonObject p_152682_1_)
- Specified by:
createEntry
in classUserList<com.mojang.authlib.GameProfile,ProfileBanEntry>
-
isBanned
public boolean isBanned(com.mojang.authlib.GameProfile p_152702_1_)
-
getUserList
public java.lang.String[] getUserList()
- Overrides:
getUserList
in classUserList<com.mojang.authlib.GameProfile,ProfileBanEntry>
-
getKeyForUser
protected java.lang.String getKeyForUser(com.mojang.authlib.GameProfile p_152681_1_)
- Overrides:
getKeyForUser
in classUserList<com.mojang.authlib.GameProfile,ProfileBanEntry>
-
-