Skip to content

LookupTableAssetMap

Package: com.hypixel.hytale.assetstore.map

public class LookupTableAssetMap<K, T extends JsonAssetWithMap<K, LookupTableAssetMap<K, T>>> extends AssetMapWithIndexes<K, T>

Asset map using externally-provided index and max-index functions for a dense backing array. Resizes automatically as the max index changes.

@Nullable
public T getAsset(int index)
public T getAssetOrDefault(int index, T def)
@Override
public boolean requireReplaceOnRemove()
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.