Class AssetMap<K, T extends JsonAsset<K>>

java.lang.Object
com.hypixel.hytale.assetstore.AssetMap<K,T>
Direct Known Subclasses:
DefaultAssetMap

public abstract class AssetMap<K, T extends JsonAsset<K>> extends Object
Since:
16/9/17.
Version:
1.0
  • Constructor Details

    • AssetMap

      public AssetMap()
  • Method Details

    • getAsset

      @Nullable public abstract T getAsset(K key)
    • getAsset

      @Nullable public abstract T getAsset(@Nonnull String packKey, K key)
    • getPath

      @Nullable public abstract Path getPath(K key)
    • getAssetPack

      @Nullable public abstract String getAssetPack(K key)
    • getKeys

      public abstract Set<K> getKeys(Path path)
    • getChildren

      public abstract Set<K> getChildren(K key)
    • getAssetCount

      public abstract int getAssetCount()
    • getAssetMap

      public abstract Map<K,T> getAssetMap()
    • getPathMap

      public abstract Map<K,Path> getPathMap(@Nonnull String packKey)
    • getKeysForTag

      public abstract Set<K> getKeysForTag(int tagIndex)
    • getTagIndexes

      public abstract it.unimi.dsi.fastutil.ints.IntSet getTagIndexes()
    • getTagCount

      public abstract int getTagCount()
    • requireReplaceOnRemove

      public boolean requireReplaceOnRemove()
    • getKeysForPack

      public abstract Set<K> getKeysForPack(@Nonnull String name)