Class ServerOpList
java.lang.Object
net.minecraft.server.players.StoredUserList<NameAndId, ServerOpListEntry>
net.minecraft.server.players.ServerOpList
-
Field Summary
Fields inherited from class StoredUserList
notificationService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanadd(ServerOpListEntry infos) booleanvoidclear()protected StoredUserEntry<NameAndId> createEntry(JsonObject object) protected StringgetKeyForUser(NameAndId user) Gets the key value for the given objectString[]booleanMethods inherited from class StoredUserList
contains, get, getEntries, getFile, isEmpty, load, remove, save
-
Constructor Details
-
ServerOpList
-
-
Method Details
-
createEntry
- Specified by:
createEntryin classStoredUserList<NameAndId, ServerOpListEntry>
-
getUserList
- Overrides:
getUserListin classStoredUserList<NameAndId, ServerOpListEntry>
-
add
- Overrides:
addin classStoredUserList<NameAndId, ServerOpListEntry>
-
remove
- Overrides:
removein classStoredUserList<NameAndId, ServerOpListEntry>
-
clear
public void clear()- Overrides:
clearin classStoredUserList<NameAndId, ServerOpListEntry>
-
canBypassPlayerLimit
-
getKeyForUser
Description copied from class:StoredUserListGets the key value for the given object- Overrides:
getKeyForUserin classStoredUserList<NameAndId, ServerOpListEntry>
-