Package net.minecraft.server.players
Class IpBanList
java.lang.Object
net.minecraft.server.players.StoredUserList<String,IpBanListEntry>
net.minecraft.server.players.IpBanList
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected StoredUserEntry
<String> createEntry
(com.google.gson.JsonObject p_11038_) get
(SocketAddress p_11044_) private String
getIpFromAddress
(SocketAddress p_11046_) boolean
boolean
isBanned
(SocketAddress p_11042_) Methods inherited from class net.minecraft.server.players.StoredUserList
add, contains, get, getEntries, getFile, getKeyForUser, getUserList, isEmpty, load, remove, remove, save
-
Constructor Details
-
IpBanList
-
-
Method Details
-
createEntry
- Specified by:
createEntry
in classStoredUserList<String,
IpBanListEntry>
-
isBanned
-
isBanned
-
get
-
getIpFromAddress
-