Skip to content

AssetModule

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

public class AssetModule extends JavaPlugin

Core plugin managing asset pack discovery, registration, loading, validation, and file monitoring. Orchestrates the server’s asset pipeline from boot through runtime hot-reload. Loads packs from command-line paths, the mods/ directory, and plugin JARs.

ModifierReturn TypeSignature
public staticAssetModuleget()
@Nonnull publicAssetPackgetBaseAssetPack()
@Nonnull publicList<AssetPack>getAssetPacks()
@Nullable publicAssetMonitorgetAssetMonitor()
@Nullable publicAssetPackfindAssetPackForPath(Path path)
publicbooleanisWithinPackSubDir(@Nonnull Path path, @Nonnull String subDir)
publicbooleanisAssetPathImmutable(@Nonnull Path path)
publicvoidregisterPack(@Nonnull String name, @Nonnull Path path, @Nonnull PluginManifest manifest, boolean ignoreIfExists)
publicvoidunregisterPack(@Nonnull String name)
@Nullable publicAssetPackgetAssetPack(@Nonnull String name)
publicvoidinitPendingStores()
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.