Package net.minestom.server.gamedata
Interface DataPack
@Experimental
public sealed interface DataPack
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionboolean
isSynced()
Returns true if this data pack is synced with the client.
-
Field Details
-
MINECRAFT_CORE
-
-
Method Details
-
isSynced
boolean isSynced()Returns true if this data pack is synced with the client. The null data pack is never synced.
In practice, this currently only makes sense for vanilla and modded content.
TODO: in the future this should be based on what the client responds with known packs, I suppose.
- Returns:
- true if this data pack is synced with the client, false otherwise.
-