Package net.minecraft.server.players
Class IpBanList
java.lang.Object
net.minecraft.server.players.StoredUserList<String,IpBanListEntry>
net.minecraft.server.players.IpBanList
-
Field Summary
Fields inherited from class net.minecraft.server.players.StoredUserList
notificationService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanadd(IpBanListEntry p_443240_) voidclear()protected StoredUserEntry<String> createEntry(JsonObject pEntryData) get(SocketAddress pAddress) private StringgetIpFromAddress(SocketAddress pAddress) booleanbooleanisBanned(SocketAddress pAddress) booleanMethods inherited from class net.minecraft.server.players.StoredUserList
contains, get, getEntries, getFile, getKeyForUser, getUserList, isEmpty, load, remove, save
-
Constructor Details
-
IpBanList
-
-
Method Details
-
createEntry
- Specified by:
createEntryin classStoredUserList<String,IpBanListEntry>
-
isBanned
-
isBanned
-
get
-
getIpFromAddress
-
add
- Overrides:
addin classStoredUserList<String,IpBanListEntry>
-
remove
- Overrides:
removein classStoredUserList<String,IpBanListEntry>
-
clear
public void clear()- Overrides:
clearin classStoredUserList<String,IpBanListEntry>
-