Package com.sk89q.worldedit.util.asset
Class AssetLoadTask<T>
java.lang.Object
com.sk89q.worldedit.util.asset.AssetLoadTask<T>
- Type Parameters:
T
- The asset type
- All Implemented Interfaces:
Callable<T>
A Callable to load an asset by name.
This is intended to be used with AsyncCommandBuilder
for loading assets in commands.
-
Constructor Summary
ConstructorDescriptionAssetLoadTask
(AssetLoader<T> loader, String assetName) Creates an asset load task with the given loader and asset name. -
Method Summary