blob: 045fdd548c8e76a43fba0a630b6673446f81e22b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
package moe.nea.firmament.test
import net.minecraft.Bootstrap
import net.minecraft.SharedConstants
import moe.nea.firmament.util.TimeMark
object FirmTestBootstrap {
val loadStart = TimeMark.now()
init {
println("Bootstrap started at $loadStart")
}
init {
SharedConstants.createGameVersion()
Bootstrap.initialize()
}
val loadEnd = TimeMark.now()
val loadDuration = loadStart.passedAt(loadEnd)
init {
println("Bootstrap completed at $loadEnd after $loadDuration")
}
fun bootstrapMinecraft() {
}
}
|