public class CoreModFile
extends java.lang.Object
implements net.minecraftforge.forgespi.coremod.ICoreModFile
Modifier and Type | Field and Description |
---|---|
private ModFile |
file |
private java.nio.file.Path |
internalPath |
private java.lang.String |
name |
Constructor and Description |
---|
CoreModFile(java.lang.String name,
java.nio.file.Path path,
ModFile file) |
Modifier and Type | Method and Description |
---|---|
java.io.Reader |
getAdditionalFile(java.lang.String fileName) |
java.lang.String |
getOwnerId() |
java.nio.file.Path |
getPath() |
java.io.Reader |
readCoreMod() |
private final java.nio.file.Path internalPath
private final ModFile file
private final java.lang.String name
CoreModFile(java.lang.String name, java.nio.file.Path path, ModFile file)
public java.io.Reader readCoreMod() throws java.io.IOException
readCoreMod
in interface net.minecraftforge.forgespi.coremod.ICoreModFile
java.io.IOException
public java.nio.file.Path getPath()
getPath
in interface net.minecraftforge.forgespi.coremod.ICoreModFile
public java.io.Reader getAdditionalFile(java.lang.String fileName) throws java.io.IOException
getAdditionalFile
in interface net.minecraftforge.forgespi.coremod.ICoreModFile
java.io.IOException
public java.lang.String getOwnerId()
getOwnerId
in interface net.minecraftforge.forgespi.coremod.ICoreModFile