blob: 679ecb427d2fc6bb560b1aebc6f53e6f6609500d (
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() {
}
}
|