main
1.2.0
main
/
io.github.liplum.mindustry
/
ModMeta
/
Companion
Companion
public
class
Companion
Content copied to clipboard
Functions
Properties
Functions
by
Link copied to clipboard
public
final
ModMeta
by
(
Pair
<
String
,
Object
>
metas
)
Content copied to clipboard
public
final
ModMeta
by
(
Entry.Map
<
String
,
Object
>
metas
)
Content copied to clipboard
default
Link copied to clipboard
public
final
T
default
<
T
extends
Any
>
(
String
key
)
Content copied to clipboard
from
Hjson
Link copied to clipboard
public
final
ModMeta
fromHjson
(
File
file
)
Content copied to clipboard
public
final
ModMeta
fromHjson
(
String
hjson
)
Content copied to clipboard
get
Default
Meta
Link copied to clipboard
public
final
Map
<
String
,
Object
>
getDefaultMeta
(
)
Content copied to clipboard
set
Default
Value
Link copied to clipboard
public
final
HashMap
<
String
,
Object
>
setDefaultValue
(
HashMap
<
String
,
Object
>
$self
)
Content copied to clipboard
to
Hjson
Link copied to clipboard
@
JvmOverloads
(
)
public
final
String
toHjson
(
ModMeta
$self
)
Content copied to clipboard
@
JvmOverloads
(
)
public
final
String
toHjson
(
ModMeta
$self
,
Stringify
formatter
)
Content copied to clipboard
Properties
default
Meta
Link copied to clipboard
private
final
Map
<
String
,
Object
>
defaultMeta
Content copied to clipboard
INSTANCE
Link copied to clipboard
public
final
static
ModMeta.Companion
INSTANCE
Content copied to clipboard