AssetModule
Package: com.hypixel.hytale.server.core.asset
public class AssetModule extends JavaPluginCore 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.
Methods
Section titled “Methods”| Modifier | Return Type | Signature |
|---|---|---|
public static | AssetModule | get() |
@Nonnull public | AssetPack | getBaseAssetPack() |
@Nonnull public | List<AssetPack> | getAssetPacks() |
@Nullable public | AssetMonitor | getAssetMonitor() |
@Nullable public | AssetPack | findAssetPackForPath(Path path) |
public | boolean | isWithinPackSubDir(@Nonnull Path path, @Nonnull String subDir) |
public | boolean | isAssetPathImmutable(@Nonnull Path path) |
public | void | registerPack(@Nonnull String name, @Nonnull Path path, @Nonnull PluginManifest manifest, boolean ignoreIfExists) |
public | void | unregisterPack(@Nonnull String name) |
@Nullable public | AssetPack | getAssetPack(@Nonnull String name) |
public | void | initPendingStores() |
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.