
📝 描述
Cobweb 是 Crystal Nest 为模组作者和整合包作者提供的多加载器 API。
其 Java API 可直接在多加载器项目的公共模块(common module)以及各个独立的加载器项目中使用,将内容注册和资源包创建整合到共享代码中。
注册模组的内容,通过数据包定义新系统,并构建能根据游戏数据和可用资源自适应内容的资源包。
为你的模组变体生成配方、从现有素材创建匹配纹理,或使用 JSON 文件让普通资源包自行生成和转换其资源。
📚 查看 wiki 以了解设置和使用方法。
使用 Cobweb 客户端功能的模组仍然需要在客户端安装 Cobweb。
✨ 功能特性
✅ 公共内容注册
直接从共享代码中声明物品、方块、实体类型、药水、创造模式标签页和数据组件。
专门的辅助工具处理构建器、属性值和方块物品,而通用注册表则涵盖其他游戏对象。
🗂️ 自定义注册表
为你的专属内容创建注册表,包括条目在 JSON 中定义的数据包注册表。
可选择世界加载或可重载的条目,并为世界注册表启用客户端同步。
📦 资源包与数据包
将捆绑文件与 Minecraft 加载你的资源包时生成的内容相结合。
利用现有资源和游戏数据来生成标签、配方、附魔、模型、纹理、翻译和音效定义。
模组作者可以使用 Java 来决定创建什么以及如何创建。
整合包作者可以在普通文件夹或 ZIP 资源包中添加 JSON 规则,以复制文件、编辑 JSON、编写新内容并转换纹理。
例如,重新着色现有纹理以匹配新材料,或调整由其他资源包提供的配方。
为玩家提供带有自定义标题、描述和图标的可选资源包,声明对其他资源包或模组的依赖关系,并在加载或重载过程中合适的时机生成内容。
缓存机制可复用符合条件的生成内容,流式文件支持大型资源包,导出功能让你能够检查结果。
专用服务器可以将选定的资源包作为普通的 Minecraft 下载项提供,包括从世界数据生成的资产。
玩家可以使用未经修改的 Minecraft 客户端接收这些资源包。
🔍 共享实用工具
查询加载器和已安装的模组,检查资源包的选择和优先级,转换图像,并创建具有灵活有效方块限制的方块实体类型。
📜 许可与使用权
欢迎在任何模组、整合包或视频中使用本模组,但请务必注明出处并可能链接至 此处。
本项目依据 Crystal Nest Community License v1 发布。
❤️ 支持 Nest

📝 Description
Cobweb is Crystal Nest's multiloader API for modders and pack authors.
Its Java API works directly in the common module of a multiloader project and in individual loader projects, bringing content registration and resource-pack creation into shared code.
Register your mod's content, define new systems through data packs, and build packs whose contents adapt to game data and available resources.
Generate recipes for your mod's variants, create matching textures from existing assets, or use JSON files to let an ordinary pack generate and transform its own resources.
📚 See the wiki for setup and usage.
Mods using Cobweb's client features still require it on the client.
✨ Features
✅ Common registration
Declare items, blocks, entity types, potions, creative tabs, and data components directly from shared code.
Specialized helpers handle builders, properties, and block items, while generic registers cover other game objects.
🗂️ Custom registries
Create registries for your own content, including data-pack registries whose entries are defined in JSON.
Choose world-load or reloadable entries and opt into client synchronization for world registries.
📦 Resource packs and data packs
Combine bundled files with content generated while Minecraft loads your packs.
Use existing resources and game data to generate tags, recipes, enchantments, models, textures, translations, and sound definitions.
Modders can use Java to decide what to create and how.
Pack authors can add JSON rules to a normal folder or ZIP pack to copy files, edit JSON, write new content, and transform textures.
For example, recolor an existing texture to match a new material or adapt a recipe supplied by another pack.
Give players selectable packs with custom titles, descriptions, and icons, declare dependencies on other packs or mods, and generate content at the right point during loading or reloading.
Caching reuses eligible generated content, streamed files support large packs, and exports let you inspect the result.
Dedicated servers can offer selected resource packs as ordinary Minecraft downloads, including assets generated from the world's data.
Players can receive those packs using an unmodified Minecraft client.
🔍 Shared utilities
Query loaders and installed mods, inspect pack selection and priority, transform images, and create block-entity types with flexible valid blocks.
📜 License and right of use
Feel free to use this mod for any mod, modpack, or video, just be sure to give credit and possibly link here.
This project is published under the Crystal Nest Community License v1.
❤️ Support the Nest
下载 Cobweb
下载 Cobweb
下载 Cobweb
下载 Cobweb
下载 Cobweb
下载 Cobweb
下载 Cobweb
下载 Cobweb
下载 Cobweb
下载 Cobweb
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
适用于 MC 1.18+ 的 Effekseer 加载器
模组
那是什么?一个 Waila/Hwyla 的分支。

评论 0
登录后参与评分
还没有评论,来抢沙发吧