DefaultAssetMap
Package: com.hypixel.hytale.assetstore.map
public class DefaultAssetMap<K, T extends JsonAsset<K>> extends AssetMap<K, T>Default implementation of AssetMap using case-insensitive hash maps. Supports asset chains (multiple packs overriding the same key), tag-based indexing, path-to-key mapping, and parent-child asset relationships. Uses StampedLock for concurrent read/write safety.
Fields
Section titled “Fields”public static final DefaultAssetMap.AssetRef[] EMPTY_PAIR_ARRAYpublic static final String DEFAULT_PACK_KEY = "Hytale:Hytale"Key Methods
Section titled “Key Methods”@Nullable@Overridepublic T getAsset(K key)@Overridepublic int getAssetCount()@Nonnull@Overridepublic Map<K, T> getAssetMap()@Overridepublic Set<K> getKeysForTag(int tagIndex)@Overridepublic Set<K> getKeysForPack(@Nonnull String name)
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.