Class Bundle
java.lang.Object
de.luckymcdev.foundryengine.bundle.common.Bundle
-
Constructor Summary
ConstructorsConstructorDescriptionBundle(BundleInfo info, BundleFiles bundleFiles, BundleCreativeModeTab creativeModeTab, BundleConfigSpec configSpec) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.resources.Identifierinfo()voidloadClient(ScriptManager manager) voidloadCommon(ScriptManager manager) voidloadServer(ScriptManager manager) voidunload()Clears the cached entrypoint references.
-
Constructor Details
-
Bundle
public Bundle(BundleInfo info, BundleFiles bundleFiles, BundleCreativeModeTab creativeModeTab, BundleConfigSpec configSpec)
-
-
Method Details
-
loadCommon
-
loadClient
-
loadServer
-
entrypoints
-
commonEntrypoints
-
clientEntrypoints
-
serverEntrypoints
-
unload
public void unload()Clears the cached entrypoint references. Unloading (callingonUnloadand closing the class loader) is owned byScriptManager— callers must go throughScriptManager.unloadBundle(id). -
info
-
bundleFiles
-
configSpec
-
creativeModeTab
-
id
-