Class AddPackNeoForge
java.lang.Object
io.github.gameking1happy.gk1hcore.packs.AddPackNeoForge
- All Implemented Interfaces:
AddPack
NeoForge code for adding packs.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPack(@NotNull Object object, @NotNull String modID, @NotNull String path, @NotNull String displayName, @NotNull activationType actType, @NotNull packType type, @NotNull packSource source, @NotNull packPosition position)
-
Constructor Details
-
AddPackNeoForge
public AddPackNeoForge()
-
-
Method Details
-
addPack
public void addPack(@NotNull @NotNull Object object, @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) - Specified by:
addPackin interfaceAddPack- Parameters:
object- AddPackFindersEvent.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.- See Also:
-