Accuracy 插件
关于
Accuracy 插件是一款轻量且高效的 Minecraft 服务器工具,用于增强投射物的行为表现。它确保箭矢、弩和发射器发射的投射物具有精确的飞行轨迹,为玩家提供流畅且一致的游戏体验。
由 Limitrious 更新以支持 Minecraft 1.21.x。
功能
-
多重射击弩支持:
- 通过调整箭矢的轨迹来处理多重射击弩的独特行为,确保准确的飞行路径。
- 新增: 允许启用或禁用多重射击弩的精度调整:
- 启用时,箭矢会以 3 条独立的直线射出,并具有精确的轨迹。
- 禁用时,箭矢遵循默认的原版散射效果。
-
投射物速度修正:
- 修正投射物速度,使玩家或方块来源发射的投射物运动更加精确和一致。
-
增强投射物精度:
- 以下投射物现在拥有更精确的轨迹:
- 弓发射的箭矢
- 弩发射的箭矢(包括多重射击)
- 发射器发射的箭矢
- 三叉戟
- 溅射/滞留药水
- 末影珍珠
- 弓和普通弩拥有完全精确的轨迹,确保没有后坐力或不稳定性。
-
高级多重射击箭矢行为:
- 新增: 多重射击弩现在以受控的散射方式发射箭矢:
- 箭矢均匀分为 3 条线:一条直行,一条向左,一条向右。
- 散射行为与原版机制一致,同时保持精度调整。
-
兼容性:
- 无缝兼容发射器等基于方块的投射物来源。
- 完全兼容 Minecraft 1.21.x 及旧版机制。
-
高级投射物处理:
- 根据射手的方向自动调整投射物,即使是从发射器发射时也会考虑方块面。
-
旧版支持:
- 在支持最新特性的同时,保持与旧版 Minecraft 机制的兼容性。
-
轻量高效:
- 对服务器性能影响极小,即使在重度使用下也能保持稳定。
新命令与 Tab 补全
- 新增: 添加了
/accuracy 命令来切换投射物的精度调整:
/accuracy <global|multishot> <true|false>:
global:切换所有投射物的精度调整。
multishot:专门切换多重射击弩的精度调整。
- 用法示例:
/accuracy global true - 启用所有投射物的精度。
/accuracy multishot false - 禁用多重射击弩的精度。
- 新增: 支持 Tab 补全:
安装
- 从 Modrinth 页面下载
Accuracy.jar 文件。
- 将
.jar 文件放入服务器的 plugins 文件夹中。
- 重启或重载服务器以激活插件。
配置
- 新增可配置选项:
disable-global-accuracy:切换所有投射物的精度调整。
disable-multishot-accuracy:专门切换多重射击弩的精度调整。
示例 config.yml:
# Accuracy 插件的配置
disable-multishot-accuracy: false
disable-global-accuracy: false
Accuracy Plugin
About
The Accuracy plugin is a lightweight and efficient tool for Minecraft servers that enhances projectile behavior. It ensures precise projectile trajectories for arrows, crossbows, and dispenser-fired projectiles, providing a smooth and consistent experience for players.
Updated for Minecraft 1.21.x by Limitrious.
Features
-
Multishot Crossbow Support:
- Handles the unique behavior of multishot crossbows by adjusting the trajectory of arrows to ensure accurate flight paths.
- NEW: Allows for enabling or disabling accuracy adjustments for multishot crossbows:
- When enabled, arrows are fired in 3 distinct lines with precise trajectories.
- When disabled, arrows follow the default vanilla spread.
-
Projectile Velocity Correction:
- Corrects projectile velocity for more precise and consistent movement when fired by players or block sources.
-
Enhanced Projectile Accuracy:
- The following projectiles now have more precise trajectories:
- Arrows from bows
- Arrows from crossbows (including multishot)
- Arrows from dispensers
- Tridents
- Splash/Lingering potions
- Enderpearls
- Fully accurate trajectories for bows and normal crossbows, ensuring no recoil or instability.
-
Advanced Multishot Arrow Behavior:
- NEW: Multishot crossbows now fire arrows with a controlled spread:
- Arrows are evenly split into 3 lines: one straight, one to the left, and one to the right.
- Spread behavior is consistent with vanilla mechanics while maintaining accuracy adjustments.
-
Compatibility:
- Seamlessly works with block-based projectile sources like dispensers.
- Fully compatible with Minecraft 1.21.x and older mechanics.
-
Advanced Projectile Handling:
- Automatically adjusts projectiles based on the shooter's direction, even considering block faces when fired from dispensers.
-
Legacy Support:
- Maintains compatibility with older Minecraft mechanics while supporting the latest features.
-
Lightweight and Efficient:
- Has minimal impact on server performance, even under heavy usage.
New Commands and Tab Completion
- NEW: Added
/accuracy command to toggle accuracy adjustments for projectiles:
/accuracy <global|multishot> <true|false>:
global: Toggles accuracy adjustments for all projectiles.
multishot: Toggles accuracy adjustments specifically for multishot crossbows.
- Example usage:
/accuracy global true - Enables accuracy for all projectiles.
/accuracy multishot false - Disables accuracy for multishot crossbows.
- NEW: Tab completion support:
- Suggests valid arguments for the
/accuracy command.
Installation
- Download the
Accuracy.jar file from the Modrinth page.
- Place the
.jar file in your server's plugins folder.
- Restart or reload your server to activate the plugin.
Configuration
- NEW Configurable Options:
disable-global-accuracy: Toggles accuracy adjustments for all projectiles.
disable-multishot-accuracy: Toggles accuracy adjustments specifically for multishot crossbows.
Example config.yml:
# Configuration for the Accuracy plugin
disable-multishot-accuracy: false
disable-global-accuracy: false
评论 0
登录后参与评分
还没有评论,来抢沙发吧