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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StoredUserEntry<com.mojang.authlib.GameProfile> createEntry(JsonObject pEntryData) protected StringgetKeyForUser(com.mojang.authlib.GameProfile pObj) Gets the key value for the given objectString[]booleanisBanned(com.mojang.authlib.GameProfile pProfile)
-
Constructor Details
-
UserBanList
-
-
Method Details
-
createEntry
- Specified by:
createEntryin classStoredUserList<com.mojang.authlib.GameProfile,UserBanListEntry>
-
isBanned
public boolean isBanned(com.mojang.authlib.GameProfile pProfile) -
getUserList
- Overrides:
getUserListin classStoredUserList<com.mojang.authlib.GameProfile,UserBanListEntry>
-
getKeyForUser
Gets the key value for the given object- Overrides:
getKeyForUserin classStoredUserList<com.mojang.authlib.GameProfile,UserBanListEntry>
-