KubePackages 图标

KubePackages

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/kube_packages
资源信息

Minecraft 版本: 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6

平台: forge

标签: library management utility

资源介绍

KubePackages

Package manager for KubeJS.

KubePackages introduces the concept of "package" for KubeJS, redefining how scripts are distributed. It allows scripts
to
be encapsulated like modules, loaded like resource packs, and distributed like mods.

This page provides a brief introduction to the core feature of KubePackages: the KubePackage. For more detailed
explanations and tutorials, please refer to:

WIKI

KubePackage (Yes, without the 's')

To support package management, distribution, and dependency management, KubePackages introduces "KubePackage" as the
carrier for the "package" concept. It provides a complete loading framework, enabling developers to build, integrate,
and publish KubeJS functionalities in a modular way. This resolves the issue of flattened script
loading, namespace pollution, and tight coupling between scripts.

Did you know that: Rhino's handling of variable scopes has always been quite peculiar. Combined with KubeJS's
flattened script loading, declaring variables with same name can easily lead to hard-to-find bugs.

KubePackage is not just a container for script files, but can also provide assets and data resources. Combined with
metadata with dependency info, KubePackage goes a step further than resource packs and data packs.

With KubePackage, developers can do more than just writing scripts and inadvertently reinventing the wheel. Instead,
they
can leverage reusable modules to improve development QoL. You can:

  • Write scripts like developing mods: KubePackage provides independent dependency management and script scope.
  • Load functionalities like installing mods: Using the JS binding named KubePackages, you can easily check if
    specific packages exist, integrate packages developed by others, communicate data between packages, and
    quickly build complex projects.
  • Share your work like publishing mods: Export packages effortlessly as .jar files, .zip files, or directories,
    and
    publish them directly as mods on CurseForge or Modrinth.

KubePackages aims to become the standard package management system for the KubeJS ecosystem and provide a unified standard for the entire community.

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Soberana Extras

价格:0 墨喵币
下载量:0

查看详情
VerdeLake's Torches+

价格:0 墨喵币
下载量:0

查看详情
legends288

价格:0 墨喵币
下载量:0

查看详情
CMLootBags

价格:0 墨喵币
下载量:0

查看详情