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 Summary
Modifier and TypeMethodDescriptionvoidaddPack(@NotNull Object modContainerOrEvent, @NotNull String modID, @NotNull String path, @NotNull String displayName, @NotNull activationType actType, @NotNull packType type, @NotNull packSource source, @NotNull packPosition position)
-
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- SeeactivationType.type- SeepackType.source- SeepackSource.position- SeepackPosition.
-