类 StoredUserList<K,V extends StoredUserEntry<K>>
java.lang.Object
net.minecraft.server.players.StoredUserList<K,V>
- 直接已知子类:
IpBanList
,ServerOpList
,UserBanList
,UserWhiteList
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
protected boolean
protected abstract StoredUserEntry
<K> createEntry
(com.google.gson.JsonObject p_11383_) getFile()
protected String
getKeyForUser
(K p_11384_) String[]
boolean
isEmpty()
void
load()
void
void
remove
(StoredUserEntry<K> p_11387_) private void
void
save()
-
字段详细资料
-
LOGGER
private static final org.slf4j.Logger LOGGER -
GSON
private static final com.google.gson.Gson GSON -
file
-
map
-
-
构造器详细资料
-
StoredUserList
-
-
方法详细资料
-
getFile
-
add
-
get
-
remove
-
remove
-
getUserList
-
isEmpty
public boolean isEmpty() -
getKeyForUser
-
contains
-
removeExpired
private void removeExpired() -
createEntry
-
getEntries
-
save
- 抛出:
IOException
-
load
- 抛出:
IOException
-