Class CoreModFile

java.lang.Object
net.minecraftforge.fml.loading.moddiscovery.CoreModFile
All Implemented Interfaces:
net.minecraftforge.forgespi.coremod.ICoreModFile

public class CoreModFile extends Object implements net.minecraftforge.forgespi.coremod.ICoreModFile
  • Field Details

    • internalPath

      private final Path internalPath
    • file

      private final ModFile file
    • name

      private final String name
  • Constructor Details

  • Method Details

    • readCoreMod

      public Reader readCoreMod() throws IOException
      Specified by:
      readCoreMod in interface net.minecraftforge.forgespi.coremod.ICoreModFile
      Throws:
      IOException
    • getPath

      public Path getPath()
      Specified by:
      getPath in interface net.minecraftforge.forgespi.coremod.ICoreModFile
    • getAdditionalFile

      public Reader getAdditionalFile(String fileName) throws IOException
      Specified by:
      getAdditionalFile in interface net.minecraftforge.forgespi.coremod.ICoreModFile
      Throws:
      IOException
    • getOwnerId

      public String getOwnerId()
      Specified by:
      getOwnerId in interface net.minecraftforge.forgespi.coremod.ICoreModFile
    • toString

      public String toString()
      Overrides:
      toString in class Object