Skip to content

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.

public static final DefaultAssetMap.AssetRef[] EMPTY_PAIR_ARRAY
public static final String DEFAULT_PACK_KEY = "Hytale:Hytale"
@Nullable
@Override
public T getAsset(K key)
@Override
public int getAssetCount()
@Nonnull
@Override
public Map<K, T> getAssetMap()
@Override
public Set<K> getKeysForTag(int tagIndex)
@Override
public 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.