IndexedAssetMap
Package: com.hypixel.hytale.assetstore.map
public class IndexedAssetMap<K, T extends JsonAssetWithMap<K, IndexedAssetMap<K, T>>> extends AssetMapWithIndexes<K, T>Asset map that auto-assigns incrementing integer indexes to assets. Provides key-to-index lookup without a dense backing array.
Methods
Section titled “Methods”public int getIndex(K key)public int getIndexOrDefault(K key, int def)public int getNextIndex()
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.