Docs
Preparing search index...
The search index is not available
Core Engine - v2.4.0b122
Core Engine
Mod
ModJsAdapter
Interface ModJsAdapter
interface
ModJsAdapter
{
buildConfig
:
BuildConfig
;
config
:
Config
;
dir
:
string
;
isEnabled
:
boolean
;
isModRunning
:
boolean
;
configureMultiplayer
(
name
:
string
,
version
:
string
,
isClientOnly
:
boolean
)
:
void
;
createCompiledSources
(
)
:
CompiledSources
;
getBuildType
(
)
:
number
;
getConfig
(
)
:
Config
;
getFormattedAPIName
(
)
:
string
;
getGuiIcon
(
)
:
string
;
getInfoProperty
(
name
:
string
)
:
string
;
getModPack
(
)
:
ModPack
;
getModPackLocationName
(
)
:
string
;
getMultiplayerName
(
)
:
string
;
getMultiplayerVersion
(
)
:
string
;
getName
(
)
:
string
;
getVersion
(
)
:
string
;
isClientOnly
(
)
:
boolean
;
isConfiguredForMultiplayer
(
)
:
boolean
;
onImport
(
)
:
void
;
runCustomSource
(
name
:
string
,
additionalScope
:
any
)
:
void
;
RunLauncherScripts
(
)
:
void
;
RunMod
(
additionalScope
:
any
)
:
void
;
RunPreloaderScripts
(
)
:
void
;
setBuildType
(
type
:
number
)
:
void
;
setBuildType
(
type
:
"release"
|
"develop"
)
:
void
;
setModPackAndLocation
(
pack
:
ModPack
,
locationName
:
string
)
:
void
;
}
Index
Methods
configure
Multiplayer
create
Compiled
Sources
get
Build
Type
get
Config
get
FormattedAPIName
get
Gui
Icon
get
Info
Property
get
Mod
Pack
get
Mod
Pack
Location
Name
get
Multiplayer
Name
get
Multiplayer
Version
get
Name
get
Version
is
Client
Only
is
Configured
For
Multiplayer
on
Import
run
Custom
Source
Run
Launcher
Scripts
Run
Mod
Run
Preloader
Scripts
set
Build
Type
set
Mod
Pack
And
Location
Properties
build
Config
config
dir
is
Enabled
is
Mod
Running
Methods
configure
Multiplayer
configure
Multiplayer
(
name
,
version
,
isClientOnly
)
:
void
Parameters
name
:
string
version
:
string
isClientOnly
:
boolean
Returns
void
create
Compiled
Sources
create
Compiled
Sources
(
)
:
CompiledSources
Returns
CompiledSources
get
Build
Type
get
Build
Type
(
)
:
number
Returns
number
get
Config
get
Config
(
)
:
Config
Returns
Config
get
FormattedAPIName
get
FormattedAPIName
(
)
:
string
Returns
string
get
Gui
Icon
get
Gui
Icon
(
)
:
string
Returns
string
get
Info
Property
get
Info
Property
(
name
)
:
string
Parameters
name
:
string
Returns
string
get
Mod
Pack
get
Mod
Pack
(
)
:
ModPack
Returns
ModPack
Since
2.2.1b85
get
Mod
Pack
Location
Name
get
Mod
Pack
Location
Name
(
)
:
string
Returns
string
Since
2.2.1b85
get
Multiplayer
Name
get
Multiplayer
Name
(
)
:
string
Returns
string
get
Multiplayer
Version
get
Multiplayer
Version
(
)
:
string
Returns
string
get
Name
get
Name
(
)
:
string
Returns
string
get
Version
get
Version
(
)
:
string
Returns
string
is
Client
Only
is
Client
Only
(
)
:
boolean
Returns
boolean
is
Configured
For
Multiplayer
is
Configured
For
Multiplayer
(
)
:
boolean
Returns
boolean
on
Import
on
Import
(
)
:
void
Returns
void
run
Custom
Source
run
Custom
Source
(
name
,
additionalScope
)
:
void
Parameters
name
:
string
additionalScope
:
any
Returns
void
Run
Launcher
Scripts
Run
Launcher
Scripts
(
)
:
void
Returns
void
Run
Mod
Run
Mod
(
additionalScope
)
:
void
Parameters
additionalScope
:
any
Returns
void
Run
Preloader
Scripts
Run
Preloader
Scripts
(
)
:
void
Returns
void
set
Build
Type
set
Build
Type
(
type
)
:
void
Parameters
type
:
number
Returns
void
set
Build
Type
(
type
)
:
void
Parameters
type
:
"release"
|
"develop"
Returns
void
set
Mod
Pack
And
Location
set
Mod
Pack
And
Location
(
pack
,
locationName
)
:
void
Parameters
pack
:
ModPack
locationName
:
string
Returns
void
Since
2.2.1b85
Properties
build
Config
build
Config
:
BuildConfig
config
config
:
Config
dir
dir
:
string
is
Enabled
is
Enabled
:
boolean
is
Mod
Running
is
Mod
Running
:
boolean
Settings
Member Visibility
Inherited
Protected
Internal
Deprecated
Theme
OS
Light
Dark
On This Page
Methods
configure
Multiplayer
create
Compiled
Sources
get
Build
Type
get
Config
get
FormattedAPIName
get
Gui
Icon
get
Info
Property
get
Mod
Pack
get
Mod
Pack
Location
Name
get
Multiplayer
Name
get
Multiplayer
Version
get
Name
get
Version
is
Client
Only
is
Configured
For
Multiplayer
on
Import
run
Custom
Source
Run
Launcher
Scripts
Run
Mod
Run
Preloader
Scripts
set
Build
Type
set
Mod
Pack
And
Location
Properties
build
Config
config
dir
is
Enabled
is
Mod
Running
Docs
Core Engine - v2.4.0b122
Loading...
Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and
TypeDoc
.
Since
2.2.1b85