老的(1.7~1.10)已被原作者删除。
关键的bug修复(如重复)可能回迁要求(打开一个问题)。
插件都可以在发布页面中找到。
[size=14.6667px]请选择与服务器版本匹配的前缀。
[size=14.6667px]作者说:我忙着自己的事业,那么请查看我们发布的页面是否有新的更新可用。我可能不响应的PM或评论,如果您遇到任何问题,请直接到我们的开发者在GitHub上。
[size=14.6667px]-------------------------------------------------------------------------------------------------------------
/rpgitem your_item power command 100 right `Summon a Creeper!` `/summon ~10 ~2 ~ creeper` `minecraft.command.summon`
A simple example for advanced durability bar used as 'power slot':
Create the item
Set damage value to 15
Set damage ranged only
Set item durability to 100
Force item to display durability bar
Set item default durability is 10
Set item durability bound from 5 to 100
Add power projectile, type is snowball, cooldown is 0
Set 1st projectile power attribute 'speed' to 5, so snowball will fly super fast
Set 1st projectile power attribute gravity to false, snowball will not be affected by gravity
Set 1st projectile power consumes 40 durability every use
Add power potiontick, type slowness, amplifier is 0, means slowness 1 continuously applied to player holding item
Set 1st potiontick power consumes -1 durability every application, that means durability gain by 1 every tick
Commands:
Code (Text):
/rpgitem power_sniper create
/rpgitem power_sniper damage 15
/rpgitem power_sniper power rangedonly
/rpgitem power_sniper durability 100
/rpgitem power_sniper durability togglebar
/rpgitem power_sniper defaultdurability 10
/rpgitem power_sniper durabilitybound 5 100
/rpgitem power_sniper power projectile snowball 0
/rpgitem power_sniper set projectile 1 speed 5
/rpgitem power_sniper set projectile 1 gravity false
/rpgitem power_sniper set projectile 1 consumption 40
/rpgitem power_sniper power potiontick 0 slowness
/rpgitem power_sniper set potiontick 1 consumption -1
Give you this item, when you hold it and do nothing, you will be applied slowness, just like holding a sniper rifle. It allows 2 shots per reload, every shot damage your target 15 points and you will need about 4 seconds (80 ticks) to shoot again. This item will not broken and no cooldown message will shown to player, but the cooldown act as ammo reload (dynamic durability bar indicates the status).
This is an example for advanced use of RPGitem. Combining the setters and getters, there will be much more possibilities.
Problems?
Kindly submit an issue including your server version and RPGItems version, as well as detailed error log, and description on how to reproduce.