Skip to content

AssetRegistryLoader

Package: com.hypixel.hytale.server.core.asset

public class AssetRegistryLoader

Handles ordered loading of all registered asset stores from asset packs. Resolves inter-store dependencies via AssetStoreIterator, loads assets from the Server/ directory of each pack, generates JSON schemas, and provides a method to send all asset data to a connecting client.

ModifierReturn TypeSignature
public staticvoidinit()
public staticvoidpreLoadAssets(@Nonnull LoadAssetEvent event)
public staticvoidloadAssets(@Nullable LoadAssetEvent event, @Nonnull AssetPack assetPack)
public staticvoidsendAssets(@Nonnull PacketHandler packetHandler)
@Nonnull public staticMap<String, Schema>generateSchemas(@Nonnull SchemaContext context, @Nonnull BsonDocument vsCodeConfig)
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.