Skip to content

AssetStoreUtil

Package: com.hypixel.hytale.builtin.asseteditor.util

public class AssetStoreUtil

Static utility for resolving asset IDs from integer indices across different AssetMap implementations.

@Deprecated
public static <K, T extends JsonAssetWithMap<K, M>, M extends AssetMap<K, T>> String getIdFromIndex(AssetStore<K, T, M> assetStore, int assetIndex)

Resolves an asset’s string ID from its integer index. Supports BlockTypeAssetMap, IndexedLookupTableAssetMap, and LookupTableAssetMap. Throws IllegalArgumentException for unsupported map types.

Marked @Deprecated — used by legacy packet handling paths.

Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.