Mod
Index
Namespaces
Interfaces
Type Aliases
Namespaces
BuildConfig
BuildableDir
dir
json
targetSource
isRelatedSource
Parameters
source: Source
Returns boolean
setDir
Parameters
dir: string
Returns void
setTargetSource
Parameters
dir: string
Returns void
DeclaredDirectory
readonlypath
readonlyversion
getFile
Parameters
root: File
Returns File
DefaultConfig
apiInstance
behaviorPacksDir
buildType
readonlygameVersion
json
libDir
optimizationLevel
resourcePacksDir
setupScriptDir
setAPI
Parameters
api: any
Returns void
setBuildType
Parameters
type: number
Returns void
setLibDir
Parameters
dir: string
Returns void
setMinecraftBehaviorPacksDir
Parameters
dir: string
Returns void
setMinecraftResourcePacksDir
Parameters
dir: string
Returns void
setOptimizationLevel
Parameters
level: number
Returns void
setSetupScriptDir
Parameters
dir: string
Returns void
ResourceDir
readonlygameVersion
json
resourceType
setPath
Parameters
path: string
Returns void
setResourceType
Parameters
type: number
Returns void
Source
apiInstance
readonlygameVersion
json
optimizationLevel
path
sourceName
sourceType
setAPI
Parameters
api: any
Returns void
setOptimizationLevel
Parameters
level: number
Returns void
setPath
Parameters
path: string
Returns void
setSourceName
Parameters
sourceName: string
Returns void
setSourceType
Parameters
type: number
Returns void
Interfaces
BuildConfig
buildableDirs
defaultConfig
javaDirectories
nativeDirectories
resourceDirs
sourcesToCompile
findRelatedBuildableDir
Parameters
source: Source
Returns BuildableDir
getAllSourcesToCompile
Parameters
useApi: boolean
Returns ArrayList<Source>
getBuildType
Returns number
getDefaultAPI
Returns any
getName
Returns string
isValid
Returns boolean
read
Returns boolean
save
Parameters
file: File
Returns void
validate
Returns void
CompiledSources
addCompiledSource
Parameters
name: string
file: File
className: string
Returns void
getCompiledSourceFilesFor
Parameters
name: string
Returns File[]
getTargetCompilationFile
Parameters
sourcePath: string
Returns File
reset
Returns void
saveSourceList
Returns void
ModJsAdapter
buildConfig
config
dir
isEnabled
isModRunning
RunLauncherScripts
Returns void
RunMod
Parameters
additionalScope: any
Returns void
RunPreloaderScripts
Returns void
configureMultiplayer
Parameters
name: string
version: string
isClientOnly: boolean
Returns void
createCompiledSources
Returns CompiledSources
getBuildType
Returns number
getConfig
Returns Config
getFormattedAPIName
Returns string
getGuiIcon
Returns string
getInfoProperty
Parameters
name: string
Returns string
getModPack
Returns ModPack
getModPackLocationName
Returns string
getMultiplayerName
Returns string
getMultiplayerVersion
Returns string
getName
Returns string
getVersion
Returns string
isClientOnly
Returns boolean
isConfiguredForMultiplayer
Returns boolean
onImport
Returns void
runCustomSource
Parameters
name: string
additionalScope: any
Returns void
setBuildType
Parameters
type: number
Returns void
setModPackAndLocation
Parameters
pack: ModPack
locationName: string
Returns void
Type Aliases
BuildType
- 0 - RELEASE
- 1 - DEVELOP
ResourceDirType
- 0 - RESOURCE
- 1 - GUI
SourceType
- 0 - PRELOADER
- 1 - LAUNCHER
- 2 - MOD
- 3 - CUSTOM
- 4 - LIBRARY
2.2.1b85