GemOfPowers Remake
一款 Minecraft 插件,为游戏增添了具有独特能力的宝石。每种宝石均可使用并产生多种效果。
功能特性
- 5 种类型的宝石,各自拥有独特的能力
- 每种宝石都具备冷却系统
- 通过 CustomModelData 支持自定义纹理
- 提供管理宝石的管理员命令
- 兼容 Minecraft 1.21+ 版本
宝石类型
Water(水):
- 对敌人施加挖掘疲劳 I 和虚弱 II
- 冷却时间:10秒
- 掉落来源:远古守卫者,4% 几率
Fire(火):
- 发射火球并给予火焰抗性
- 冷却时间:15秒
- 掉落来源:烈焰人,2% 几率
Void(虚空):
- 使敌人漂浮
- 冷却时间:10秒
- 掉落来源:末影人,2% 几率
Chaos(混沌):
- 给予玩家力量 I,并对附近敌人施加中毒 I
- 冷却时间:14秒
- 掉落来源:卫道士,2% 几率
Depression(抑郁):
- 给予玩家再生 III,并对敌人施加中毒 IV
- 冷却时间:13秒
- 掉落来源:羊(别问为什么),0.3% 几率
命令
基础命令
/gem info - 显示关于宝石的信息
/gem give <player> <type> - 给某位玩家一枚宝石
/gem giveall <player> - 给某位玩家所有类型的宝石
CustomModelData 命令(仅限 OP)
/gem setcustommodeldata <type> <id> - 为某种宝石类型设置自定义模型
/gem givewithcustommodeldata <player> <type> <id> - 给予带有特定自定义模型的宝石
如何使用宝石
- 通过击杀对应的怪物或使用管理员命令获取宝石
- 手持宝石时右键点击以激活其能力
- 每次使用后需要等待冷却时间才能再次使用
纹理自定义(资源包)
若要为宝石添加自定义纹理:
- 创建一个资源包
- 添加带有唯一模型编号的自定义模型
- 使用命令
/gem setcustommodeldata <type> <id> 将模型与宝石关联
- 该类型的所有新宝石将自动使用此模型
权限
gem.use - 允许使用宝石(默认:true)
gem.admin - 访问所有管理员命令(默认:op)
gem.setmodel - 允许修改宝石模型(默认:op)
gem.givecustom - 允许发放带有自定义模型的宝石(默认:op)
配置
配置文件自动生成于 plugins/GemOfPowersRemake/config.yml。您可以修改以下内容:
支持
如需报告错误或提出功能建议,请在我们的 Discord 上提交 Issue!
Discord:
由 TheWayshOK 开发
GemOfPowers Remake
A Minecraft plugin that adds gems with unique powers to the game. Each gem can be used and has various effects.
Features
- 5 types of gems with unique powers
- Cooldown system for each gem
- Custom texture support via CustomModelData
- Admin commands to manage gems
- Compatibility with Minecraft 1.21+ versions
Gem Types
Water :
- Applies Mining Fatigue I and Weakness II to enemies
- Cooldown : 10s
- Dropped from : Elder Guardian, 4% chance
Fire :
- Launches a fireball and give Fire Resistance
- Cooldown : 15s
- Dropped from : Blaze, 2% chance
Void :
- Make enemies levitate
- Cooldown : 10s
- Dropped from : enderman, 2% chance
Chaos :
- Give Strengh I to the player, and Poison I to nearby enemies
- Cooldown : 14s
- Dropped from : Vindicator, 2% chance
Depression :
- Regeneration III to the player, and Poison IV to enemies
- Cooldown : 13s
- Dropped from : Sheep (don't ask why), with 0.3% chance
Commands
Basic Commands
/gem info - Shows information about the gems
/gem give <player> <type> - Gives a gem to a player
/gem giveall <player> - Gives all gems to a player
CustomModelData Commands (OP only)
/gem setcustommodeldata <type> <id> - Sets a custom model for a gem type
/gem givewithcustommodeldata <player> <type> <id> - Gives a gem with a specific custom model
How to Use Gems
- Obtain a gem by killing the corresponding mobs or using admin commands
- Right-click while holding the gem to activate its power
- Each gem has a cooldown period before it can be used again
Texture Customization (Resource Pack)
To add custom textures to the gems:
- Create a resource pack
- Add your custom models with unique model numbers
- Use the command
/gem setcustommodeldata <type> <id> to link a model to a gem
- All new gems of that type will automatically use this model
Permissions
gem.use - Allows using gems (default: true)
gem.admin - Access to all admin commands (default: op)
gem.setmodel - Allows modifying gem models (default: op)
gem.givecustom - Allows giving gems with custom models (default: op)
Configuration
The configuration file is automatically generated at plugins/GemOfPowersRemake/config.yml. You can modify:
- Effect durations
- Effect radii
- Cooldown times
- Custom models
Support
To report a bug or suggest a feature, please open an issue on our Discord !
Discord :
Developed by TheWayshOK
评论 0
登录后参与评分
还没有评论,来抢沙发吧