Class AssetTypeRegistry

java.lang.Object
com.hypixel.hytale.builtin.asseteditor.AssetTypeRegistry

public class AssetTypeRegistry extends Object
  • Field Details

  • Constructor Details

    • AssetTypeRegistry

      public AssetTypeRegistry()
  • Method Details

    • getRegisteredAssetTypeHandlers

      @Nonnull public Map<String,AssetTypeHandler> getRegisteredAssetTypeHandlers()
    • registerAssetType

      public void registerAssetType(@Nonnull AssetTypeHandler assetType)
    • unregisterAssetType

      public void unregisterAssetType(@Nonnull AssetTypeHandler assetType)
    • getAssetTypeHandler

      public AssetTypeHandler getAssetTypeHandler(String id)
    • getAssetTypeHandlerForPath

      @Nullable public AssetTypeHandler getAssetTypeHandlerForPath(@Nonnull Path path)
    • isPathInAssetTypeFolder

      public boolean isPathInAssetTypeFolder(@Nonnull Path path)
    • tryGetAssetTypeHandler

      @Nullable public AssetTypeHandler tryGetAssetTypeHandler(@Nonnull Path assetPath, @Nonnull EditorClient editorClient, int requestToken)
    • sendPacket

      public void sendPacket(@Nonnull EditorClient editorClient)
    • setupPacket

      public void setupPacket()