Class UserBanList
java.lang.Object
net.minecraft.server.players.StoredUserList<NameAndId, UserBanListEntry>
net.minecraft.server.players.UserBanList
-
Field Summary
Fields inherited from class StoredUserList
notificationService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanadd(UserBanListEntry infos) voidclear()protected StoredUserEntry<NameAndId> createEntry(com.google.gson.JsonObject object) protected StringgetKeyForUser(NameAndId user) String[]booleanbooleanMethods inherited from class StoredUserList
contains, get, getEntries, getFile, isEmpty, load, remove, save
-
Constructor Details
-
UserBanList
-
-
Method Details
-
createEntry
- Specified by:
createEntryin classStoredUserList<NameAndId, UserBanListEntry>
-
isBanned
-
getUserList
- Overrides:
getUserListin classStoredUserList<NameAndId, UserBanListEntry>
-
getKeyForUser
- Overrides:
getKeyForUserin classStoredUserList<NameAndId, UserBanListEntry>
-
add
- Overrides:
addin classStoredUserList<NameAndId, UserBanListEntry>
-
remove
- Overrides:
removein classStoredUserList<NameAndId, UserBanListEntry>
-
clear
public void clear()- Overrides:
clearin classStoredUserList<NameAndId, UserBanListEntry>
-