RaddItems
RaddItems 允许你通过 YAML 创建自定义物品和套装。
你可以在一个简单的配置文件中定义物品名称、描述(lore)、附魔、属性、穿戴效果、基于触发器的效果、命令、消耗品以及套装奖励。其目标是让自定义物品的创建变得灵活且易于管理,而无需将所有行为硬编码。
功能特性
自定义物品
支持以下功能的自定义物品创建:
- 材质
- 名称
- 描述(Lore)
- CustomModelData
- 不可破坏物品
- 物品标志
- 附魔
- 属性
穿戴效果
在装备生效期间赋予物品持续的效果。
支持的槽位:
- HEAD(头部)
- CHEST(胸部)
- LEGS(腿部)
- FEET(脚部)
- HAND(主手)
- OFF_HAND(副手)
- HOTBAR(快捷栏)
触发器
通过触发器为物品添加动作和临时效果,例如:
- on_equip(装备时)
- on_unequip(卸下时)
- on_hit(击中时)
- on_kill(击杀时)
- on_consume(消耗时)
触发器可以执行:
物品套装
当同时装备足够数量的部件时激活套装。
套装奖励可包括:
- 属性加成
- 持续药水效果
- on_activate(激活时)触发器
- on_deactivate(失效时)触发器
消耗品
使用正常的可食用或可饮用材料创建消耗型自定义物品,并在使用时附加效果或命令。
命令
/radditems
别名:
权限
radditems.admin
此权限授予访问插件的管理员命令功能。
配置
RaddItems 通过 YAML 进行配置。
配置支持:
- 自定义物品
- 物品属性
- 穿戴效果
- 触发器效果
- 命令
- 物品套装
- 套装奖励
文档
详细的配置示例和指南请参阅 项目维基。
示例用途
你可以使用 RaddItems 创建诸如:
- 具有自定义战斗效果的武器
- 带有持续加成的护甲
- 具有特殊消耗效果的食品
- 副手实用道具
- 基于快捷栏的被动物品
- 基于套装的进度奖励
RaddItems
RaddItems lets you create custom items and item sets through YAML.
You can define item names, lore, enchantments, attributes, equip effects, trigger-based effects, commands, consumables, and set bonuses in a simple configuration file. The goal is to make custom item creation flexible and easy to manage without forcing everything into hardcoded behavior.
Features
Custom Items
Create custom items with support for:
- Materials
- Names
- Lore
- CustomModelData
- Unbreakable items
- Item flags
- Enchantments
- Attributes
Equip Effects
Give items persistent effects while they are active.
Supported slots:
- HEAD
- CHEST
- LEGS
- FEET
- HAND
- OFF_HAND
- HOTBAR
Triggers
Add actions and temporary effects to items with triggers such as:
- on_equip
- on_unequip
- on_hit
- on_kill
- on_consume
Triggers can run:
- Potion effects on the player
- Potion effects on the target
- Commands
Item Sets
Create sets that activate when enough pieces are active at the same time.
Set bonuses can include:
- Attributes
- Persistent potion effects
- on_activate triggers
- on_deactivate triggers
Consumable Items
Create consumable custom items using normal edible or drinkable materials and attach effects or commands when they are used.
Command
/radditems
Aliases:
Permission
radditems.admin
This permission gives access to the plugin's administrative command features.
Configuration
RaddItems is configured through YAML.
The configuration supports:
- Custom items
- Item attributes
- Equip effects
- Trigger effects
- Commands
- Item sets
- Set bonuses
Documentation
Detailed configuration examples and guides can be found in the project wiki.
Example Uses
You can use RaddItems to create things like:
- Weapons with custom combat effects
- Armor with persistent bonuses
- Food items with special consume effects
- Offhand utility items
- Hotbar-based passive items
- Set-based progression rewards
评论 0
登录后参与评分
还没有评论,来抢沙发吧