Class KubeJSCommon

java.lang.Object
dev.latvian.mods.kubejs.KubeJSCommon
Direct Known Subclasses:
KubeJSClient

public class KubeJSCommon extends Object
  • 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

      public void export(List<ExportablePackResources> packs)
    • openErrors

      public void openErrors(ScriptType type)
    • openErrors

      public void openErrors(ScriptType type, List<ConsoleLine> errors, List<ConsoleLine> warnings)
    • runInMainThread

      public void runInMainThread(Runnable runnable)
    • updateServerData

      public void updateServerData(KubeServerData data)
    • getWebServerWindowTitle

      public String getWebServerWindowTitle()