Class KubeJSCompat

java.lang.Object
com.portingdeadmods.researchd.compat.KubeJSCompat

public final class KubeJSCompat extends Object
  • Field Details

  • Constructor Details

    • KubeJSCompat

      public KubeJSCompat()
  • Method Details

    • isKubeJSLoaded

      public static boolean isKubeJSLoaded()
    • createExample

      public static com.portingdeadmods.portingdeadlibs.utils.Result<Path,Exception> createExample()
      Returns:
      The path the file was created or Exception if it failed
    • getServerScriptsDir

      public static Path getServerScriptsDir()
    • fireResearchCompletedEvent

      public static void fireResearchCompletedEvent(net.minecraft.server.level.ServerPlayer player, net.minecraft.resources.ResourceKey<Research> research)
    • fireResearchProgressEvent

      public static void fireResearchProgressEvent(net.minecraft.server.level.ServerPlayer player, net.minecraft.resources.ResourceKey<Research> research, double progress)
    • getKubeJSResearches

      public static Map<net.minecraft.resources.ResourceLocation,Research> getKubeJSResearches()
    • getKubeJSResearchPacks

      public static Map<net.minecraft.resources.ResourceLocation,ResearchPackImpl> getKubeJSResearchPacks()