BlockTypeAssetMap
Package: com.hypixel.hytale.assetstore.map
public class BlockTypeAssetMap<K, T extends JsonAssetWithMap<K, BlockTypeAssetMap<K, T>>> extends AssetMapWithIndexes<K, T>Specialized asset map for block types. Maintains a dense array for O(1) index-based lookup, a key-to-index mapping, sub-key grouping, and deprecated group ID tracking. Thread-safe via StampedLock and ReentrantLock.
Methods
Section titled “Methods”public int getIndex(K key)public int getNextIndex()@Nullablepublic T getAsset(int index)@Nonnullpublic ObjectSet<K> getSubKeys(K key)public int getGroupId(String group)@Nonnullpublic String[] getGroups()
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.