Class BundleModFile

java.lang.Object
de.luckymcdev.foundryengine.common.bundle.modcompat.BundleModFile
All Implemented Interfaces:
net.neoforged.neoforgespi.locating.IModFile

public class BundleModFile extends Object implements net.neoforged.neoforgespi.locating.IModFile
  • Constructor Details

    • BundleModFile

      public BundleModFile(BundleInfo bundleInfo, Path filePath)
  • Method Details

    • getId

      public String getId()
      Specified by:
      getId in interface net.neoforged.neoforgespi.locating.IModFile
    • getContents

      public net.neoforged.fml.jarcontents.JarContents getContents()
      Specified by:
      getContents in interface net.neoforged.neoforgespi.locating.IModFile
    • getSubstitutionMap

      public Supplier<Map<String,Object>> getSubstitutionMap()
      Specified by:
      getSubstitutionMap in interface net.neoforged.neoforgespi.locating.IModFile
    • getType

      public net.neoforged.neoforgespi.locating.IModFile.Type getType()
      Specified by:
      getType in interface net.neoforged.neoforgespi.locating.IModFile
    • getFilePath

      public Path getFilePath()
      Specified by:
      getFilePath in interface net.neoforged.neoforgespi.locating.IModFile
    • getModInfos

      public List<net.neoforged.neoforgespi.language.IModInfo> getModInfos()
      Specified by:
      getModInfos in interface net.neoforged.neoforgespi.locating.IModFile
    • getScanResult

      public net.neoforged.neoforgespi.language.ModFileScanData getScanResult()
      Specified by:
      getScanResult in interface net.neoforged.neoforgespi.locating.IModFile
    • getFileName

      public String getFileName()
      Specified by:
      getFileName in interface net.neoforged.neoforgespi.locating.IModFile
    • getDiscoveryAttributes

      public net.neoforged.neoforgespi.locating.ModFileDiscoveryAttributes getDiscoveryAttributes()
      Specified by:
      getDiscoveryAttributes in interface net.neoforged.neoforgespi.locating.IModFile
    • getModFileInfo

      public net.neoforged.neoforgespi.language.IModFileInfo getModFileInfo()
      Specified by:
      getModFileInfo in interface net.neoforged.neoforgespi.locating.IModFile
    • setModFileInfo

      public void setModFileInfo(net.neoforged.neoforgespi.language.IModFileInfo modFileInfo)