AlchemicalArrows 旨在在尽可能贴近 Minecraft 原版机制的前提下,提升弓对弓的战斗体验。本插件在原版的箭矢(附魔药水箭)基础上,额外增加了 15 种独特类型的箭矢,包括但不限于空气箭、水箭、土箭、火箭、抓钩箭、爆炸箭、生命箭等……只要玩家拥有足够的权限,并且炼金箭是玩家背包中距离槽位 1 最近的箭矢(即快捷栏最左侧的槽位),这些箭矢均可制作并从弓中射出。
AlchemicalArrows 提供的所有箭矢都会以独特的方式影响实体,其中一些箭矢击中地面后还会产生世界内的效果。其他箭矢则具有被动效果,例如磁力箭会吸引附近的物品!借助 AlchemicalArrows 的 API 和详尽的文档,无论是经验丰富的开发者还是新手,都能轻松添加新的箭矢。
AlchemicalArrows 提供了多个命令,其主要用途是供管理员在服务器运行时进一步控制插件。所有命令都关联了相应的权限节点。有关更多信息,请参阅“权限节点”部分。
/alchemicalarrows [别名: "/aa"]:
描述: AlchemicalArrows 的核心命令,用于控制资源的各个方面,包括配置重载、版本信息以及世界内箭矢的管理功能。
子命令:
<reload> - 重新加载插件配置文件并将所有内容重新载入内存。
<version> - 获取当前安装在您服务器上的 AlchemicalArrows 插件的版本信息。
<killallarrows> - 移除世界中所有的炼金箭矢(如果存在的话)。
示例:
- /alchemicalarrows reload
- /alchemicalarrows version
- /alchemicalarrows killallarrows
/givearrow [别名: "/givearrows"]:
描述: 给自己或另一名玩家发放任意数量的炼金箭矢。
参数:
<arrow> - 要发放的箭矢的名称空间 ID。每种箭矢都被分配了一个唯一的 ID。
[count] - 要发放的箭矢数量(可选。默认为 1)。
[player] - 接收箭矢的玩家(可选。默认为命令发送者;如果从控制台执行此命令,则必须提供此参数)。
示例:
- /givearrow alchemicalarrows:air
- /givearrow earth 32
- /givearrow addon_plugin:lifesteal 16 2008Choco
arrows.shoot.*:
描述: 允许发射本插件提供的每种类型的炼金箭矢。
默认值: 所有玩家默认拥有此权限。
子权限:
arrows.shoot.air: 允许发射空气箭。
arrows.shoot.confusion: 允许发射混乱箭。
arrows.shoot.darkness: 允许发射黑暗箭。
arrows.shoot.death: 允许发射死亡箭。
arrows.shoot.earth: 允许发射土箭。
arrows.shoot.ender: 允许发射末影箭。
arrows.shoot.explosive: 允许发射爆炸箭。
arrows.shoot.fire: 允许发射火箭。
arrows.shoot.frost: 允许发射冰霜箭。
arrows.shoot.grapple: 允许发射抓钩箭。
arrows.shoot.life: 允许发射生命箭。
arrows.shoot.light: 允许发射光箭。
arrows.shoot.magic: 允许发射魔法箭。
arrows.shoot.magnetic: 允许发射磁力箭。
arrows.shoot.necrotic: 允许发射死灵箭。
arrows.shoot.water: 允许发射水箭。
arrows.craft.*:
描述: 允许制作本插件提供的每种类型的炼金箭矢。
默认值: 所有玩家默认拥有此权限。
子权限:
arrows.craft.air: 允许制作空气箭。
arrows.craft.confusion: 允许制作混乱箭。
arrows.craft.darkness: 允许合成黑暗箭。
arrows.craft.death: 允许合成死亡箭。
arrows.craft.earth: 允许合成大地箭。
arrows.craft.ender: 允许合成末影箭。
arrows.craft.explosive: 允许合成爆炸箭。
arrows.craft.fire: 允许合成火焰箭。
arrows.craft.frost: 允许合成霜冻箭。
arrows.craft.grapple: 允许合成抓钩箭。
arrows.craft.life: 允许合成生命箭。
arrows.craft.light: 允许合成光明箭。
arrows.craft.magic: 允许合成魔法箭。
arrows.craft.magnetic: 允许合成磁性箭。
arrows.craft.necrotic: 允许合成死灵箭。
arrows.craft.water: 允许合成水流箭。
arrows.command.*:
Description: 允许使用所有管理命令。
Default: 默认情况下,操作员拥有此权限。
Children:
arrows.command.killallarrows: 授予访问 "/alchemicalarrows killallarrows" 命令的权限。
arrows.command.reload: 授予访问 "/alchemicalarrows reload" 命令的权限。
arrows.command.givearrow: 授予访问 "/givearrow" 命令的权限。
arrows.worldguardoverride:
Description: 覆盖 WorldGuard 保护,使持有此权限节点的玩家射出的箭头不受保护限制。
Default: 默认情况下没有任何玩家拥有此权限。必须显式授予此权限节点。
CheckForUpdates: true # 是否检查更新。不会自动下载...仅进行检查
MetricsEnabled: true # 启用插件指标统计。不跟踪任何敏感信息
DeathMessages:
Enabled: true # 启用自定义死亡消息
DeathByPlayer: "%player% was killed by %killer% using %type%" # 被玩家射出的炼金箭头击杀时的死亡消息
DeathBySkeleton: "%player% was killed by a skeleton using %type%" # 被骷髅射出的炼金箭头击杀时的死亡消息
DeathByBlockSource: "%player% was shot using a %type%" # 被发射器射出的炼金箭头击杀时的死亡消息
Skeletons:
ShootPercentage: 10.0 # 骷髅射出炼金箭的概率 (0 - 100)。设为 0 表示不射击
LootDropChance: 25.0 # 骷髅掉落随机炼金箭的概率 (0 - 100)。设为 0 表示不掉落
Crafting:
CauldronCrafting: false # 是否启用坩埚合成。实验性功能!!!请谨慎使用!
Arrow:
Air:
RecipeYield: 8 # 从合成配方中获得的箭矢数量
AllowInfinity: false # 此箭矢是否受无限附魔影响
Effect:
BreatheRadius: 2 # 玩家空气恢复的水下半径
Skeleton:
CanShoot: true # 骷髅是否可以射出此箭。(ShootPercentage 必须 > 0)
LootDropWeight: 10.0 # 骷髅死亡时掉落此箭的几率(LootDropChance 必须 > 0)
Item:
DisplayName: "&oAir Arrow" # 箭矢的显示名称
Lore: # 箭矢的描述文本
- "&f&oFeel the air beneath your feet"
- "&f&oDamaged entities are launched into the air"
Confusion:
RecipeYield: 8
AllowInfinity: false
Skeleton:
CanShoot: true
LootDropWeight: 10.0
Item:
DisplayName: "&dConfusion Arrow"
Lore:
- "&dThis arrow is so... confusing"
- "&dWhat does this do again?"
Darkness:
RecipeYield: 8
AllowInfinity: false
Skeleton:
CanShoot: true
LootDropWeight: 10.0
Item:
DisplayName: "&8Darkness Arrow"
Lore:
- "&8Who turned off the lights!?"
- "&8Applies a temporary blindness effect to players"
Death:
RecipeYield: 8
AllowInfinity: false
Effect:
InstantDeathPossible: true # 此箭矢是否有几率造成即死效果
InstantDeathChance: 20.0 # 发生即死的几率
Skeleton:
CanShoot: false
LootDropWeight: 10.0
Item:
DisplayName: "&0Death Arrow"
Lore:
- "&8你确定拿着这个是个好主意吗?"
- "&8一支阴险的箭。可能瞬间杀死目标"
地球:
RecipeYield: 8
AllowInfinity: false
Skeleton:
CanShoot: true
LootDropWeight: 10.0
Item:
DisplayName: "&7Earth Arrow"
Lore:
- "&7在我看来,它比月亮更好"
- "&7将受损的生物埋入地下"
末影:
RecipeYield: 8
AllowInfinity: false
Effect:
TeleportOnHitBlock: true # 是否在箭击中方块时传送玩家
Skeleton:
CanShoot: true
LootDropWeight: 10.0
Item:
DisplayName: "&5Ender Arrow"
Lore:
- "&d这几乎就像一把传送枪,但更酷"
- "&d与受损生物交换位置"
爆炸:
RecipeYield: 8
AllowInfinity: false
Effect:
FuseTicks: 40 # 引信在爆炸前燃烧的时长(以刻为单位)
ExplosionStrength: 4 # 爆炸强度(4 = TNT)
Skeleton:
CanShoot: false
LootdropWeight: 10.0
Item:
DisplayName: "&cExplosive Arrow"
Lore:
- "Boom!"
- "点燃引信,击中地面后爆炸"
火焰:
RecipeYield: 8
AllowInfinity: false
Skeleton:
CanShoot: true
LootDropWeight: 10.0
Item:
DisplayName: "&cFire Arrow"
Lore:
- "&c围坐在篝火旁..."
- "&c使受损生物燃烧 2-3 秒"
霜冻:
RecipeYield: 8
AllowInfinity: false
Skeleton:
CanShoot: true
LootDropWeight: 10.0
Item:
DisplayName: "&bFrost Arrow"
Lore:
- "&b冷静点。雪没什么可生气的"
- "&b受损生物暂时无法移动"
抓钩:
RecipeYield: 8
AllowInfinity: false
Effect:
GrappleForce: 2.5 # 玩家被拉动的力度
Skeleton:
CanShoot: true
LootDropWeight: 10.0
Item:
DisplayName: "&eGrapple Arrow"
Lore:
- "&e呐 呐 呐 呐,呐 呐 呐 呐,呐 呐 呐 呐..."
- "&e&l蝙蝠侠!"
生命:
RecipeYield: 8
AllowInfinity: false
Effect:
FloralRadius: 2 # 生成植被的半径范围
Skeleton:
CanShoot: true
LootDropWeight: 10.0
Item:
DisplayName: "&aLife Arrow"
Lore:
- "&a蕴含于箭矢中的生命馈赠"
- "&a无害的箭矢。不造成伤害且施加再生效果"
光明:
RecipeYield: 8
AllowInfinity: false
Effect:
StrikeLightning: true # 是否在击中实体时召唤闪电
Skeleton:
CanShoot: true
LootDropWeight: 10.0
Item:
DisplayName: "&eLight Arrow"
Lore:
- "&e愿宙斯的力量降临于你!"
- "&e用闪电打击受损生物"
魔法:
RecipeYield: 8
AllowInfinity: false
Skeleton:
CanShoot: true
LootDropWeight: 10.0
Item:
DisplayName: "&dMagic Arrow"
Lore:
- "&d这几乎... &k| &d魔 法 &k|"
- "&d以巨大的力量将生物向后击飞"
磁性:
RecipeYield: 8
AllowInfinity: false
Effect:
MagnetismRadius: 5.0 # 物品被吸引到箭矢周围的半径
Skeleton:
CanShoot: true
LootDropWeight: 10.0
Item:
DisplayName: "&7Magnetic Arrow"
Lore:
- "&7异性相吸,同性相斥"
- "&7将受损生物拉近你身边"
死灵:
RecipeYield: 8
AllowInfinity: false
Skeleton:
CanShoot: true
LootDropWeight: 10.0
Item:
DisplayName: "&2Necrotic Arrow"
Lore:
- "&2德古拉伯爵会为此感到骄傲"
- "&2附近敌对生物会攻击受损生物"
水:
RecipeYield: 8
AllowInfinity: false
Skeleton:
CanShoot: true
LootDropWeight: 10.0
Item:
DisplayName: "&9Water Arrow"
Lore:
- "&9在水下移动相当顺畅"
- "&9仿佛它不会损失任何速度"
在这里,你将找到 AlchemicalArrows 插件默认提供的每种箭矢的详细说明。在每个箭矢标题旁边,你会注意到一个物品的名称;这个物品就是用于在合成台或坩埚中制作 AlchemicalArrow 的材料。所有合成台配方的通用模式如下所示:
合成台中心高亮显示的问号代表了为了制作 AlchemicalArrow 必须放置该指定物品的位置。有关坩埚制作的更详细描述,请参阅相关章节“炼金坩埚”。
空气箭(材料 - 羽毛):
实体(及玩家)效果: 将受损实体随机抛向空中一定高度的方块处。抛射力度可配置。
被动效果: 当箭矢位于水下方块中时,附近实体的气泡会随时间缓慢补充。
混乱箭(材料 - 毒马铃薯):
玩家效果:
- 对玩家施加混乱 I 效果
- 朝相反方向旋转180度
非玩家实体效果: 敌对实体将失去对其当前目标的视野。
黑暗箭(材料 - 煤炭或木炭):
玩家效果: 在受损玩家周围生成一团烟雾云,并施加失明 I 效果。
死亡箭(材料 - 凋灵骷髅头颅):
实体(及玩家)效果:
- 对受损实体施加凋零 II 效果
- 存在较小(可配置)几率直接导致死亡
大地箭(材料 - 泥土):
实体(及玩家)效果:
- 对受损实体施加迟缓 II 效果
- 将受损实体埋入最近的地面方块中
末影箭(材料 - 末影之眼):
实体(及玩家)效果: 受损实体与箭矢射手将在世界中交换位置。目标与射手的速度也会互换。
方块效果: 实体将被传送至箭矢落点所在的方块顶部。
爆炸箭(材料 - TNT):
方块效果:
- 击中地面后,引信(可配置)被点燃
- 假设箭矢未被拾取,引信燃烧完毕后,箭矢将发生爆炸
火焰箭(材料 - 火焰弹):
实体(及玩家)效果: 受损实体将被点燃,持续时间随机,介于2到5秒之间。
霜冻箭(材料 - 雪球):
实体(及玩家)效果:
- 对玩家临时施加无限持续时间的迟缓效果, effectively 停止玩家移动
- 对玩家临时施加无限持续时间的反跳跃效果, effectively 停止玩家的跳跃能力
方块效果: 在(可配置)半径内的附近水面将冻结成冰霜冰块。经过短暂时间后,冰块会消散。
抓钩箭(材料 - 绊线钩):
方块效果: 箭矢射手将以(可配置)的力度被发射向箭矢的位置。
生命箭(材料 - 闪烁的金西瓜片):
实体(及玩家)效果:
- 对目标实体施加再生 II 效果
- 此箭矢不会对实体造成任何伤害
方块效果: 在箭矢落点周围(可配置)半径内生长植被(假设落在草地上)。这类似于右键点击草地使用骨粉的效果。
光明箭(材料 - 萤石粉):
实体(及玩家)效果:
- 受到伤害的实体被闪电击中(可配置)
- 受到伤害的实体被迫抬头看向太阳
Magic Arrow (Ingredient - Blaze Powder):
Entity (and player) effects: 受到伤害的实体被向后推,方向与箭矢相反。
Magnetic Arrow (Ingredient - Iron Ingot):
Entity (and player) effects: 受到伤害的实体被向前推,方向为箭矢命中方向。
Passive effects: 在(可配置)半径内的物品会被吸引向箭矢。
Necrotic Arrow (Ingredient - Rotten Flesh):
Player effects: 50格半径内的所有敌对生物都会集中攻击受伤的玩家。
Entity (and player) effects: 在受伤实体和射击者之间应用生命窃取效果。从受伤实体吸取生命值并治疗射击者。
Water Arrow (Ingredient - Water Bucket):
Passive effects: 箭矢在水下移动速度更快,且水下压力/摩擦的影响可忽略不计。
AlchemicalArrows 已开源很长时间,欢迎贡献!如果您是 AlchemicalArrows API 用户,或者只是对该插件背后的代码感兴趣,您可以在 GitHub 上浏览和修改其源代码。您可以通过访问
AlchemicalArrows 的公开仓库 找到源代码。如果您熟悉 Git,您可以自由地克隆、分叉或向 AlchemicalArrows 提交拉取请求(Pull Request)。如果我批准了您提交的任何更改,我可能会考虑将这些更改合并到主分支中,并上传包含您代码的版本。您将在下一个更新日志中获得署名,以及您的 PR 链接。
请注意,虽然 AlchemicalArrows 仍处于测试阶段,但开发工作是在 "alchemical-arrows-3" 分支上进行的,而不是 master 分支!如果要提交拉取请求,请在此分支上进行!
AlchemicalArrows 的 API 在其开发过程中不断变化,但现在已达到相对稳定的状态。API 的各个方面都可以由外部插件进行操控,如果您对此感兴趣,欢迎查看
GitHub wiki 上的众多页面,学习如何使用 API 最重要的方面。
对于那些喜欢自行探索项目并尝试各种可能性的用户,AlchemicalArrows 拥有完整的文档,详细记录了每一个类、方法和常量。我的网站上托管了 Javadocs 供您浏览,您可以在此处找到:
本资源免费提供,无需支付任何费用!我喜欢提供免费的资源,让人们能在自己的服务器上享受它。不幸的是,生活中并非一切皆免费,我 eventually 需要某种形式的经济支持。如果您喜欢这个项目及其为您的服务器提供的功能,请考虑捐赠,作为对我辛勤工作的一点感谢。我花费了无数个小时致力于这个项目,并且这一切都是无偿提供的,不要求任何回报。
捐赠不是强制性的,我也不期望任何人捐赠。如果您出于善意自愿捐赠,我非常感激您的支持,并希望您和我一样享受开发和使用这个资源!谢谢!
AlchemicalArrows aims to improve the bow vs. bow combat experience while staying true to Minecraft's vanilla mechanics as much as possible. This plugin adds 15 unique types of arrows in addition to the ones provided by vanilla Minecraft (potion-tipped arrows), including, but not limited to, air arrows, water arrows, earth arrows, fire arrows, grapple arrows, explosive arrows, life arrows and more... All arrows are craftable such that players have sufficient permissions and can be launched from a bow so long as the alchemical arrows are the closest arrow to slot 1 in the player's inventory (the left-most hotbar slot).
All arrows provided by AlchemicalArrows affect entities in a unique way and some even have in-world effects upon hitting the ground. Others have passive effects such as the magnetic arrow which attracts nearby items! Using AlchemicalArrows' API and extensive documentation, new arrows can be added with ease by any developer whether experienced or new.
There are multiple commands for AlchemicalArrows where the primary use will be for administrators wanting to further control the plugin while the server is running. All commands have associated permission nodes. Please refer to the Permission Nodes section for more information.
/alchemicalarrows [alias: "/aa"]:
Description: The central command for AlchemicalArrows that controls various aspects of the resource including configuration reloading, version information and administrative functionality for in-world arrows.
Sub-commands:
<reload> - Reload the plugin's configuration file and load everything back into memory.
<version> - Retrieve version information of the AlchemicalArrows plugin currently installed on your server.
<killallarrows> - Remove all alchemical arrows from the world (if any are present).
Example:
- /alchemicalarrows reload
- /alchemicalarrows version
- /alchemicalarrows killallarrows
/givearrow [alias: "/givearrows"]:
Description: Give a variable amount of any alchemical arrow to yourself or to another player.
Arguments:
<arrow> - The namespaced ID of the arrow to give. Each arrow is assigned a unique ID.
[count] - The amount of arrows to give (optional. Defaults to 1).
[player] - The player to whom the arrows should be given (optional. Defaults to the command sender; this parameter is required if the command is executed from the console).
Example:
- /givearrow alchemicalarrows:air
- /givearrow earth 32
- /givearrow addon_plugin:lifesteal 16 2008Choco
arrows.shoot.*:
Description: Allow the ability to shoot every type of alchemical arrow provided by this plugin.
Default: All players have this permission by default.
Children:
arrows.shoot.air: Allow the ability to shoot an air arrow.
arrows.shoot.confusion: Allow the ability to shoot a confusion arrow.
arrows.shoot.darkness: Allow the ability to shoot a darkness arrow.
arrows.shoot.death: Allow the ability to shoot a death arrow.
arrows.shoot.earth: Allow the ability to shoot an earth arrow.
arrows.shoot.ender: Allow the ability to shoot an ender arrow.
arrows.shoot.explosive: Allow the ability to shoot an explosive arrow.
arrows.shoot.fire: Allow the ability to shoot a fire arrow.
arrows.shoot.frost: Allow the ability to shoot a frost arrow.
arrows.shoot.grapple: Allow the ability to shoot a grapple arrow.
arrows.shoot.life: Allow the ability to shoot a life arrow.
arrows.shoot.light: Allow the ability to shoot a light arrow.
arrows.shoot.magic: Allow the ability to shoot a magic arrow.
arrows.shoot.magnetic: Allow the ability to shoot a magnetic arrow.
arrows.shoot.necrotic: Allow the ability to shoot a necrotic arrow.
arrows.shoot.water: Allow the ability to shoot a water arrow.
arrows.craft.*:
Description: Allow the ability to craft every type of alchemical arrow provided by this plugin.
Default: All players have this permission by default.
Children:
arrows.craft.air: Allow the ability to craft an air arrow.
arrows.craft.confusion: Allow the ability to craft a confusion arrow.
arrows.craft.darkness: Allow the ability to craft a darkness arrow.
arrows.craft.death: Allow the ability to craft a death arrow.
arrows.craft.earth: Allow the ability to craft an earth arrow.
arrows.craft.ender: Allow the ability to craft an ender arrow.
arrows.craft.explosive: Allow the ability to craft an explosive arrow.
arrows.craft.fire: Allow the ability to craft a fire arrow.
arrows.craft.frost: Allow the ability to craft a frost arrow.
arrows.craft.grapple: Allow the ability to craft a grapple arrow.
arrows.craft.life: Allow the ability to craft a life arrow.
arrows.craft.light: Allow the ability to craft a light arrow.
arrows.craft.magic: Allow the ability to craft a magic arrow.
arrows.craft.magnetic: Allow the ability to craft a magnetic .arrow.
arrows.craft.necrotic: Allow the ability to craft a necrotic arrow.
arrows.craft.water: Allow the ability to craft a water arrow.
arrows.command.*:
Description: Allow the ability to use all administrative commands.
Default: Operators have this permission by default.
Children:
arrows.command.killallarrows: Grant access to the "/alchemicalarrows killallarrows" command.
arrows.command.reload: Grant access to the "/alchemicalarrows reload" command.
arrows.command.givearrow: Grant access to the "/givearrow" command.
arrows.worldguardoverride:
Description: Override WorldGuard protection for arrows shot from users with this permission node.
Default: No players have this permission by default. This permission node must be explicitly granted.
CheckForUpdates: true # Whether or not to check for updates. Will not automatically download... just checks
MetricsEnabled: true # Enable plugin metrics. Does not track any sensitive information
DeathMessages:
Enabled: true # Enable custom death messages
DeathByPlayer: "%player% was killed by %killer% using %type%" # Death message when killed by alchemical arrows shot by a player
DeathBySkeleton: "%player% was killed by a skeleton using %type%" # Death message when killed by alchemical arrows shot by a skeleton
DeathByBlockSource: "%player% was shot using a %type%" # Death message when killed by alchemical arrows shot by a dispenser
Skeletons:
ShootPercentage: 10.0 # The percent chance (0 - 100) for a skeleton to shoot an alchemical arrow. 0 for none
LootDropChance: 25.0 # The percent chance (0 - 100) for a skeleton to drop a random alchemical arrow. 0 for none
Crafting:
CauldronCrafting: false # Whether or not to enable cauldron crafting. EXPERIMENTAL FEATURE!!! USE WITH CAUTION!
Arrow:
Air:
RecipeYield: 8 # The amount of arrows to yield from a crafting recipe
AllowInfinity: false # Whether this arrow respects the Infinity enchantment or not
Effect:
BreatheRadius: 2 # The underwater radius where players' air regenerates
Skeleton:
CanShoot: true # Whether or not skeletons may shoot this arrow. (ShootPercentage must be > 0)
LootDropWeight: 10.0 # The chance for skeletons to drop this arrow on death (LootDropChance must be > 0)
Item:
DisplayName: "&oAir Arrow" # The arrow's display name
Lore: # The arrow's lore
- "&f&oFeel the air beneath your feet"
- "&f&oDamaged entities are launched into the air"
Confusion:
RecipeYield: 8
AllowInfinity: false
Skeleton:
CanShoot: true
LootDropWeight: 10.0
Item:
DisplayName: "&dConfusion Arrow"
Lore:
- "&dThis arrow is so... confusing"
- "&dWhat does this do again?"
Darkness:
RecipeYield: 8
AllowInfinity: false
Skeleton:
CanShoot: true
LootDropWeight: 10.0
Item:
DisplayName: "&8Darkness Arrow"
Lore:
- "&8Who turned off the lights!?"
- "&8Applies a temporary blindness effect to players"
Death:
RecipeYield: 8
AllowInfinity: false
Effect:
InstantDeathPossible: true # Whether this arrow has a chance to cause instant death or not
InstantDeathChance: 20.0 # The chance for which instant death may occur
Skeleton:
CanShoot: false
LootDropWeight: 10.0
Item:
DisplayName: "&0Death Arrow"
Lore:
- "&8Are you sure holding this is a good idea?"
- "&8A sinister arrow. May instantly kill targets"
Earth:
RecipeYield: 8
AllowInfinity: false
Skeleton:
CanShoot: true
LootDropWeight: 10.0
Item:
DisplayName: "&7Earth Arrow"
Lore:
- "&7Better than the Moon in my opinion"
- "&7Burries damaged entities into the ground"
Ender:
RecipeYield: 8
AllowInfinity: false
Effect:
TeleportOnHitBlock: true # Whether or not to teleport players when the arrow hits a block
Skeleton:
CanShoot: true
LootDropWeight: 10.0
Item:
DisplayName: "&5Ender Arrow"
Lore:
- "&dIt's almost like a portal gun, but cooler"
- "&dSwaps positions with damaged entities"
Explosive:
RecipeYield: 8
AllowInfinity: false
Effect:
FuseTicks: 40 # The length (in ticks) the fuse will burn for before exploding
ExplosionStrength: 4 # The strength of the explosion (4 = TNT)
Skeleton:
CanShoot: false
LootdropWeight: 10.0
Item:
DisplayName: "&cExplosive Arrow"
Lore:
- "Boom!"
- "Ignites a fuse and explodes after hitting ground"
Fire:
RecipeYield: 8
AllowInfinity: false
Skeleton:
CanShoot: true
LootDropWeight: 10.0
Item:
DisplayName: "&cFire Arrow"
Lore:
- "&cGather around the campfire..."
- "&cIgnites damaged entities for 2 - 3 seconds"
Frost:
RecipeYield: 8
AllowInfinity: false
Skeleton:
CanShoot: true
LootDropWeight: 10.0
Item:
DisplayName: "&bFrost Arrow"
Lore:
- "&bChill out. Snow reason to be angry"
- "&bDamaged entities cannot move temporarily"
Grapple:
RecipeYield: 8
AllowInfinity: false
Effect:
GrappleForce: 2.5 # The force at which the player is grappled
Skeleton:
CanShoot: true
LootDropWeight: 10.0
Item:
DisplayName: "&eGrapple Arrow"
Lore:
- "&eNa na na na, na na na na, na na na na..."
- "&e&lBATMAN!"
Life:
RecipeYield: 8
AllowInfinity: false
Effect:
FloralRadius: 2 # The radius around which foliage will generate
Skeleton:
CanShoot: true
LootDropWeight: 10.0
Item:
DisplayName: "&aLife Arrow"
Lore:
- "&aThe gift of life embewed within an arrow"
- "&aA harmless arrow. Inflicts no damage & applies regen"
Light:
RecipeYield: 8
AllowInfinity: false
Effect:
StrikeLightning: true # Whether or not to strike lightning when hitting an entity
Skeleton:
CanShoot: true
LootDropWeight: 10.0
Item:
DisplayName: "&eLight Arrow"
Lore:
- "&eMay the power of Zeus be upon you!"
- "&eStrikes damaged entities with lightning"
Magic:
RecipeYield: 8
AllowInfinity: false
Skeleton:
CanShoot: true
LootDropWeight: 10.0
Item:
DisplayName: "&dMagic Arrow"
Lore:
- "&dIt's almost... &k| &dMAGICAL &k|"
- "&dLaunches entities backwards with great force"
Magnetic:
RecipeYield: 8
AllowInfinity: false
Effect:
MagnetismRadius: 5.0 # The radius at which items will be attracted to the arrow
Skeleton:
CanShoot: true
LootDropWeight: 10.0
Item:
DisplayName: "&7Magnetic Arrow"
Lore:
- "&7Opposites attract, likes repel"
- "&7Pulls damaged entities closer to you"
Necrotic:
RecipeYield: 8
AllowInfinity: false
Skeleton:
CanShoot: true
LootDropWeight: 10.0
Item:
DisplayName: "&2Necrotic Arrow"
Lore:
- "&2Count Dracula would be proud"
- "&2Nearby hostile entities target damaged entities"
Water:
RecipeYield: 8
AllowInfinity: false
Skeleton:
CanShoot: true
LootDropWeight: 10.0
Item:
DisplayName: "&9Water Arrow"
Lore:
- "&9Navigates quite well underwater"
- "&9It's as though it doesn't lose any velocity"
Here you will find a detailed description of every arrow provided by the AlchemicalArrows plugin by default. Next to the title of each arrow, you will notice the name of an item; it is this item that should be used to craft the AlchemicalArrow either in a crafting table or in a cauldron. The generic pattern for all crafting table recipes is as shown:
The highlighted question mark in the center of the crafting table represents the position in which the identified item must be placed in order to craft the AlchemicalArrow. For a more detailed description on cauldron crafting, please see the related section, "Alchemical Cauldrons".
Air Arrow (Ingredient - Feather):
Entity (and player) effects: Launches the damaged entity in the air a random amount of blocks. The force at which the entity is launched is configurable.
Passive effects: When the arrow is in a block underwater, nearby entities' air bubbles are replenished slowly over time.
Confusion Arrow (Ingredient - Poisonous Potato):
Player effects:
- A Confusion I effect is applied to the player
- Teleported 180 degrees in the opposing direction
Non-player entity effects: Hostile entities lose sight of their current target.
Darkness Arrow (Ingredient - Coal or Charcoal):
Player effects: A smoke cloud is generated around the damaged player and a Blindness I effect is applied.
Death Arrow (Ingredient - Wither Skeleton Skull):
Entity (and player) effects:
- A Wither II effect is applied to the damaged entity
- There is a small (configurable) chance at instant death
Earth Arrow (Ingredient - Dirt):
Entity (and player) effects:
- A Slowness II effect is applied to the damaged entity
- The damaged entity is buried into the closest block on the ground
Ender Arrow (Ingredient - Ender Eye):
Entity (and player) effects: The damaged entity and the shooter of the arrow will swap positions in the world. The velocity of the target and the shooter are also switched.
Block effects: Entities will be teleported on top of the block on which the arrow lands.
Explosive Arrow (Ingredient - TNT):
Block effects:
- Upon hitting the ground, a (configurable) fuse is ignited
- Assuming the arrow was not picked up, after the fuse has completed, the arrow will explode
Fire Arrow (Ingredient - Fire Charge):
Entity (and player) effects: The damaged entity will be lit on fire for a random amount of time, anywhere from 2 to 5 seconds.
Frost Arrow (Ingredient - Snowball):
Entity (and player) effects:
- A Slowness effect, infinite in magnitude, is temporarily applied to the player effectively stopping the player's movement
- An Anti-Jump effect, infinite in magnitude, is temporarily applied to the player effectively stopping the player's jumping abilities
Block effects: Nearby water in a (configurable) radius will be frozen to frosted ice. After a short amount of time, the ice will disintegrate.
Grapple Arrow (Ingredient - Tripwire Hook):
Block effects: The shooter of the arrow is launched towards the arrow's position with a (configurable) force.
Life Arrow (Ingredient - Glistering Melon Slice):
Entity (and player) effects:
- A Regeneration II effect is applied to the target entity
- This arrow does not inflict any damage upon the entity
Block effects: Foliage is grown in a (configurable) radius around where the arrow lands (assuming it has landed around grass). This is similar to the effect caused by bonemeal right clicking grass.
Light Arrow (Ingredient - Glowstone Dust):
Entity (and player) effects:
- The damaged entity is struck with a lightning bolt (configurable)
- The damaged entity is forced to look upwards towards the sun
Magic Arrow (Ingredient - Blaze Powder):
Entity (and player) effects: The damaged entity is propelled backwards in the opposing direction of the arrow.
Magnetic Arrow (Ingredient - Iron Ingot):
Entity (and player) effects: The damaged entity is propelled forwards in the direction the arrow hit.
Passive effects: Items in a (configurable) radius are attracted towards the arrow.
Necrotic Arrow (Ingredient - Rotten Flesh):
Player effects: Hostile creatures in a 50 block radius all focus upon the damaged player.
Entity (and player) effects: A lifesteal effect is applied between the damaged entity and the shooter. Health is taken from the damaged entity and the shooter is healed.
Water Arrow (Ingredient - Water Bucket):
Passive effects: The arrow propels much quicker underwater and the effect of underwater pressure / friction is negligible.
AlchemicalArrows has been happily open sourced for a long time and is ready to be contributed to! If you are an AlchemicalArrows API user or if you are simply interested in the code that goes behind the inner-workings of this plugin, its source code is available on GitHub for you to browse and hack away at. You can find the source code by going to
AlchemicalArrows' public repository. If you are familiar with Git, you are free to clone, fork or make a pull request to AlchemicalArrows. If I approve of any changes you decide to pull request, I may consider merging the changes into the main branch and uploading a version with your code. You will be credited in the very next changelog, as well as a link to your PR.
Do note that while AlchemicalArrows is still in beta, work is being done on the "alchemical-arrows-3" branch, not the master branch! If you are to make a pull request, do so on that branch instead!
The API for AlchemicalArrows has been constantly changing during its development, but it's now reached a state where it should remain relatively stable. There are various aspects of the API that can be manipulated by an external plugin, and if you're interested in doing so, you are welcome to check out the numerous pages on the
GitHub wiki where you can learn how to use the most important aspects of the API.
For those of you that like to explore projects on your own and see what you can do, AlchemicalArrows is completely documented and filled with detailed information over every single class, method and constant. There are Javadocs hosted on my website for you to browse, and you can find them here:
This resource is brought to you free of charge without any obligation to pay anything! I love to provide free resources such that people are enjoying it on their servers. Unfortunately, not everything in life is free and I will eventually need some monetary support of some kind. If you enjoy this project and what it provides to your server, please do consider donating as a little thank you for my hard work. I spent countless hours working on this project and all of it is provided without asking for anything.
Donating is not a requirement, and I do not expect anyone to donate. If you so chose to donate out of your own good will, I greatly appreciate the support, and I hope that you enjoy this resource as much as I do developing it! Thank you!
评论 0
登录后参与评分
还没有评论,来抢沙发吧