Package net.minecraft.server.players
Class UserBanList
java.lang.Object
net.minecraft.server.players.StoredUserList<com.mojang.authlib.GameProfile,UserBanListEntry>
net.minecraft.server.players.UserBanList
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected StoredUserEntry
<com.mojang.authlib.GameProfile> createEntry
(com.google.gson.JsonObject p_11405_) protected String
getKeyForUser
(com.mojang.authlib.GameProfile p_11411_) String[]
boolean
isBanned
(com.mojang.authlib.GameProfile p_11407_)
-
Constructor Details
-
UserBanList
-
-
Method Details
-
createEntry
protected StoredUserEntry<com.mojang.authlib.GameProfile> createEntry(com.google.gson.JsonObject p_11405_) - Specified by:
createEntry
in classStoredUserList<com.mojang.authlib.GameProfile,
UserBanListEntry>
-
isBanned
public boolean isBanned(com.mojang.authlib.GameProfile p_11407_) -
getUserList
- Overrides:
getUserList
in classStoredUserList<com.mojang.authlib.GameProfile,
UserBanListEntry>
-
getKeyForUser
- Overrides:
getKeyForUser
in classStoredUserList<com.mojang.authlib.GameProfile,
UserBanListEntry>
-