blob: be558d654bfb87db89beef5c5384b61f2131e6ee (
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
|
/// <reference types="../../CTAutocomplete" />
import NonPooledThread from "./utils/nonPooledThread.js"
/// <reference lib="es2015" />
if (net.minecraftforge.fml.common.Loader.isModLoaded("soopyv2forge")) {
new NonPooledThread(() => {
while (!Java.type("me.soopyboo32.soopyv2forge.SoopyV2Forge").INSTANCE) {
Thread.sleep(1000)
}
Java.type("me.soopyboo32.soopyv2forge.SoopyV2Forge").INSTANCE.soopyIsInstalled()
}).start()
}
class SoopyAddons {
constructor() {
this.FeatureManager = require("./featureClass/featureManager.js")
this.FeatureManager.parent = this
}
}
let a = register("worldLoad", () => {
new SoopyAddons()
a.unregister()
})
|