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:
-