Interface AddPack

All Known Implementing Classes:
AddPackNeoForge

public interface AddPack
Simplifies adding packs by allowing using a method in common instead of separate methods for Fabric & NeoForge.
See Also:
  • Method Details

    • addPack

      void addPack(@NotNull @NotNull Object modContainerOrEvent, @NotNull @NotNull String modID, @NotNull @NotNull String path, @NotNull @NotNull String displayName, @NotNull @NotNull activationType actType, @NotNull @NotNull packType type, @NotNull @NotNull packSource source, @NotNull @NotNull packPosition position)
      Parameters:
      modContainerOrEvent - ModContainer for Fabric, AddPackFindersEvent for NeoForge.
      modID - Mod ID of the mod the pack is added by.
      path - The path the pack is in, starting in the "resource/" directory.
      displayName - Display name of the pack.
      actType - See activationType.
      type - See packType.
      source - See packSource.
      position - See packPosition.