Class ConfigurationCache
java.lang.Object
com.zenith.cache.data.config.ConfigurationCache
- All Implemented Interfaces:
CachedData
Configuration phase registry and features cache
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanvoidgetConfigurationPackets(@NonNull Consumer<Packet> consumer, @NonNull TcpSession session) String[]voidgetPackets(@NonNull Consumer<Packet> consumer, @NonNull TcpSession session) getTags()inthashCode()voidreset(CacheResetType type) setEnabledFeatures(String[] enabledFeatures) setResourcePacks(Map<UUID, ResourcePack> resourcePacks) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.zenith.cache.CachedData
getSendingMessage
-
Field Details
-
enabledFeatures
-
-
Constructor Details
-
ConfigurationCache
public ConfigurationCache()
-
-
Method Details
-
getPackets
- Specified by:
getPacketsin interfaceCachedData
-
getConfigurationPackets
public void getConfigurationPackets(@NonNull Consumer<Packet> consumer, @NonNull TcpSession session) -
reset
- Specified by:
resetin interfaceCachedData
-
getEnabledFeatures
-
getResourcePacks
-
getTags
-
setEnabledFeatures
- Returns:
this.
-
setResourcePacks
- Returns:
this.
-
setTags
- Returns:
this.
-
equals
-
canEqual
-
hashCode
-
toString
-