HyCodeYourTale
classpublicPriority 1

ItemSoundSet

com.hypixel.hytale.server.core.asset.type.itemsound.config.ItemSoundSet

implements JsonAssetWithMap<String, IndexedLookupTableAssetMap<String, ItemSoundSet>>, NetworkSerializable

7

Methods

7

Public Methods

4

Fields

3

Constructors

Constants

AssetBuilderCodec<String, ItemSoundSet>CODEC= AssetBuilderCodec.builder( ItemSoundSet.class, ItemSoundSet::new, Code...
ValidatorCache<String>VALIDATOR_CACHE= new ValidatorCache<>(new AssetKeyValidator<>(ItemSoundSet::getAssetStore))

Constructors

protected
ItemSoundSet()
public
ItemSoundSet(String id, Map<ItemSoundEvent, String> soundEventIds)
public
ItemSoundSet(String id)

Methods

Public Methods (7)

publicstatic
IndexedLookupTableAssetMap<String, ItemSoundSet> getAssetMap()
publicstatic
AssetStore<String, ItemSoundSet, IndexedLookupTableAssetMap<String, ItemSoundSet>> getAssetStore()
public
String getId()
public
Map<ItemSoundEvent, String> getSoundEventIds()
public
Object2IntMap<ItemSoundEvent> getSoundEventIndices()
public
com.hypixel.hytale.protocol.ItemSoundSet toPacket()
@Nonnull
public
String toString()
@Nonnull@Override

Fields

Protected Fields (2)

protectedAssetExtraInfo.Data data
protectedString id

Private/Package Fields (2)

privateAssetStore<String, ItemSoundSet, IndexedLookupTableAssetMap<String, ItemSoundSet>> ASSET_STORE
privateSoftReference<com.hypixel.hytale.protocol.ItemSoundSet> cachedPacket

Related Classes