Package dev.latvian.mods.kubejs
Class KubeJSCommon
java.lang.Object
dev.latvian.mods.kubejs.KubeJSCommon
- Direct Known Subclasses:
KubeJSClient
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexport(List<ExportablePackResources> packs) voidgenerateTypings(net.minecraft.commands.CommandSourceStack source) @Nullable net.minecraft.world.entity.player.PlayervoidhandleDataFromServerPacket(String channel, @Nullable net.minecraft.nbt.CompoundTag data) voidopenErrors(ScriptType type) voidopenErrors(ScriptType type, List<ConsoleLine> errors, List<ConsoleLine> warnings) voidvoidreloadStartupScripts(boolean dedicated) voidrunInMainThread(Runnable runnable) void
-
Constructor Details
-
KubeJSCommon
public KubeJSCommon()
-
-
Method Details
-
handleDataFromServerPacket
public void handleDataFromServerPacket(String channel, @Nullable @Nullable net.minecraft.nbt.CompoundTag data) -
getClientPlayer
@Nullable public @Nullable net.minecraft.world.entity.player.Player getClientPlayer() -
generateTypings
public void generateTypings(net.minecraft.commands.CommandSourceStack source) -
reloadConfig
public void reloadConfig() -
reloadStartupScripts
public void reloadStartupScripts(boolean dedicated) -
export
-
openErrors
-
openErrors
-
runInMainThread
-
updateServerData
-
getWebServerWindowTitle
-