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.StringgetKeyForUser(com.mojang.authlib.GameProfile p_152681_1_)java.lang.String[]getUserList()booleanisBanned(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:
createEntryin classUserList<com.mojang.authlib.GameProfile,ProfileBanEntry>
-
isBanned
public boolean isBanned(com.mojang.authlib.GameProfile p_152702_1_)
-
getUserList
public java.lang.String[] getUserList()
- Overrides:
getUserListin classUserList<com.mojang.authlib.GameProfile,ProfileBanEntry>
-
getKeyForUser
protected java.lang.String getKeyForUser(com.mojang.authlib.GameProfile p_152681_1_)
- Overrides:
getKeyForUserin classUserList<com.mojang.authlib.GameProfile,ProfileBanEntry>
-
-