CustomItemRegistry
创建您自己的自定义物品和配方,全部在游戏内完成(如果您喜欢的话,也可以通过文件操作)!所有物品都在此插件中注册,为其他插件识别自定义物品并注册它们自己的物品提供了 API!
遇到问题或故障?❓ 点击这里获取帮助!? | 支持我 c: | 源代码
用途
此插件为其他插件提供 API,用于注册、识别和生成由服务器管理员和其他插件(接入此插件的插件)创建的自定义物品。
您可以创建并注册自己的物品供其他插件使用,例如 AbsorptionShields,并使用完全相同的名称、描述、耐久度等生成它们。
还提供辅助性的配方创建支持,直接注册到服务器的配方存储中,但这仅限于工作台以及原版合成系统的限制。
命令
- 权限
- /citem - 命名、添加描述或注册新的自定义物品。
- /crecipe - 为自定义物品创建形状配方或无形状配方。
- /cremove - 移除自定义物品及其所有配方。


配置
# 生成的自定义物品“ID”是否应不可见?
useInvisibleID: true
功能
- 通过点击式聊天提示轻松为自定义物品添加名称和描述(需要 Paper 或 Spigot 以支持点击式提示,否则回退到基于命令的编辑)。
- 提供插件 API,插件可以
- 识别已注册的自定义物品,
- 注册自己的自定义物品,
- 注册自定义物品的合成配方,
- 等等。
- 通过在屏幕上的“GUI”提示中放置物品来轻松创建配方。
- 配方创建支持所有矩形尺寸的形状类配方!配方可以是 1x3、2x2、1x2、2x3 等尺寸。
- 与所有涉及合成的插件(如 FastCraft+)兼容,因为配方实际上是在服务器端注册的。
API
目前位于主类中。请像往常一样获取插件实例并按需调用公共方法。Javadocs 文档已包含在内,即将上线托管,但目前它们直接存在于代码中。
遇到问题或故障?❓ 点击此处寻求帮助!? | 支持我 c: | 源代码
CustomItemRegistry
Create your own custom items and recipes, all in-game (or via the files, if that's your fancy)! All items are registered within this plugin, providing an API for plugins to recognize custom items and register their own!
Having problems or issues?❓ Click here for help!? | Support me c: | Source code
Purpose
This plugin provides an API for plugins to to register, recognize, and spawn custom items created by server administrators and other plugins (that hook into this plugin).
You can create and register your own items for plugins to use like AbsorptionShields, and spawn them with the exact same name, lore, durability, etc.
There is also auxilliary recipe creation support which is registered directly into the server's recipe store, but this is limited to the crafting table and limitations of the vanilla crafting system.
Commands
- Permissions
- /citem - Name, add lore, or register a new custom item.
- /crecipe - Create a shaped or shapeless recipe for a custom item.
- /cremove - Removes a custom item and all its recipes.


Config
# Should spawned custom item "IDs" be invisible?
useInvisibleID: true
Features
- Easily add name and lore to your custom items via the clickable chat prompts (requires Paper or Spigot for clickable prompts, otherwise fallbacks to command-based editing).
- API for plugins, they can
- recognize registered custom items,
- register their own custom items,
- register their own recipes for custom items,
- etc.
- Easily create recipes by placing items in the on-screen "GUI" prompt.
- Recipe creation supports all rectangular sizes of shaped recipes! Recipes can 1x3, 2x2, 1x2, 2x3, etc.
- Compatible with all crafting-related plugins such as FastCraft+ since the recipe is actually registered in the server.
API
Currently resides in the main class. Get the plugin's instance as per usual and call the public methods as you wish. Javadocs are present, will host them soon, but for now they're in the code.
Having problems or issues?❓ Click here for help!? | Support me c: | Source code
评论 0
登录后参与评分
还没有评论,来抢沙发吧