PvP-Fix

数据包

· 作者 IceMyHeart_365

PvP-Fix 是一个轻量级的数据包,专注于 PvP 导向的游戏性调整。

0 本站下载 0 关注 更新于 2 个月前

最新 0.1.0002 · 1.21.11 · 数据包

一键开服(送7天)

PvP-Fix

PvP-Fix is a Minecraft Java Edition datapack project focused on improving and standardizing PvP-related mechanics, with a particular focus on Bed Wars-style gameplay behavior.

PvP-Fix 是一个面向 Minecraft Java Edition 的数据包项目,主要用于改进和统一 PvP 相关机制,重点针对类似 Bed Wars 的游戏行为进行优化。

Development Notice / 开发说明

PvP-Fix is currently in active Alpha development.
PvP-Fix 目前处于积极开发中的 Alpha 阶段。

Features described on this page may be incomplete, experimental, insufficiently tested, or affected by known or undiscovered issues.
本页面所描述的功能可能尚未完成、仍处于实验阶段、尚未经过充分测试,或存在已知及尚未发现的问题。

Compatibility, behavior, and performance may change between development versions.
不同开发版本之间的兼容性、实际行为以及性能表现可能发生变化。

Downloading or using a development version means that the user should expect potential bugs, incomplete functionality, and ongoing changes.
下载或使用开发版本即意味着用户应当预期可能存在 Bug、功能不完整以及持续变化的情况。

If you encounter any issues, unexpected behavior, or other problems while using PvP-Fix, please click here to visit the official GitHub repository and submit an Issue. When submitting an Issue, please accurately specify the version of PvP-Fix you are using.
如果在使用 PvP-Fix 时遇到任何问题、异常行为或其他异常情况,请点击此处前往官方 GitHub 仓库提交 Issue。提交 Issue 时,请准确注明你所使用的 PvP-Fix 版本。

For the most accurate information about a specific version, refer to its version description and changelog.
有关特定版本的具体情况,请以该版本的版本说明及 Changelog 为准。

Features / 功能

TNT

PvP-Fix is designed to provide Bed Wars-style instant ignition for placed TNT.

"Instant ignition" means that TNT is ignited immediately after placement, while the normal vanilla TNT fuse and vanilla explosion behavior are preserved.

This is intentionally different from an instant explosion.

The intended behavior is:

  1. TNT is successfully placed.
  2. The placed TNT block is immediately converted into primed TNT.
  3. The primed TNT entity uses the normal vanilla fuse.
  4. The normal Minecraft TNT explosion occurs.
  5. Vanilla TNT damage and knockback behavior are preserved.

PvP-Fix 的 TNT 机制目标是实现类似 Bed Wars 的“顺爆”。

这里的“顺爆”指的是 TNT 放下后立即点燃,而不是立即爆炸。

具体行为为:

  1. TNT 成功放置。
  2. 放置后的 TNT 方块立即转换为已点燃的 TNT 实体。
  3. TNT 实体继续使用原版正常引信时间。
  4. 最终使用 Minecraft 原版 TNT 爆炸机制。
  5. 保留原版 TNT 的伤害和击退行为。

This design also preserves TNT jumping behavior.

该设计同时保留 TNT Jump(TNT 跳)等原有玩法。

Fireball

PvP-Fix is designed to provide a Bed Wars-style Fire Charge to Fireball system.

The intended system creates an actual Minecraft small fireball projectile when a player uses a Fire Charge.

Minecraft handles the projectile's normal movement and physics as much as possible, while PvP-Fix handles the PvP-specific behavior when the projectile reaches its collision stage.

PvP-Fix 的火球机制目标是实现类似 Bed Wars 的“火焰弹 → 火球”系统。

玩家使用 Fire Charge 后,系统应生成真正的 Minecraft small_fireball 投射物。

在可能的情况下,投射物的移动和物理过程由 Minecraft 原版系统处理,而 PvP-Fix 负责火球到达碰撞阶段后的 PvP 特殊行为。

Only fireballs created and marked by PvP-Fix should be processed.

PvP-Fix 只处理由自身创建并标记的火球。

This prevents unrelated fireballs, such as Blaze or Ghast projectiles, from being incorrectly modified.

这样可以避免错误处理 Blaze、Ghast 等其他来源的火球。

Container Cleanup

PvP-Fix is planned to provide configurable cleanup behavior for containers produced by item use.

The planned system includes:

  • Potion
  • Water Bottle
  • Water Bucket
  • Lava Bucket
  • Milk Bucket

PvP-Fix 计划提供可配置的容器使用后清理机制。

计划涉及:

  • 药水瓶
  • 水瓶
  • 水桶
  • 岩浆桶
  • 牛奶桶

The long-term goal is to modify the final item-use result where possible, while the compatibility implementation may perform cleanup after the normal vanilla action.

长期目标是在条件允许时直接修改物品使用完成后的最终物品结果;兼容模式则可以在原版行为完成后进行清理。

Design Goals / 设计目标

Correctness First / 正确性优先

PvP-Fix prioritizes correct game behavior over implementation shortcuts.

The project should reproduce the intended PvP behavior while preserving relevant vanilla mechanics whenever possible.

PvP-Fix 优先保证游戏机制正确,而不是为了代码简单而牺牲行为准确性。

在实现 PvP 行为的同时,应尽可能保留相关的原版机制。

Performance / 性能

PvP-Fix avoids unnecessary global per-tick entity and block scans whenever an event-driven solution is practical.

事件驱动机制可行时,PvP-Fix 会尽量避免不必要的全局逐 Tick 实体扫描和方块扫描。

Performance is treated as an important design constraint, especially for multiplayer servers.

性能是项目的重要设计约束,尤其针对多人服务器环境。

Compatibility Strategy / 兼容性策略

PvP-Fix is intended to support a pure datapack compatibility path while allowing optional enhanced integrations where supported.

PvP-Fix 计划同时提供纯数据包兼容路径,并在条件允许时提供增强型集成。

The project should not require a specific mod loader merely to use its basic datapack functionality.

项目的基础数据包功能不应强制要求特定 Mod Loader。

Modular Architecture / 模块化架构

PvP-Fix is designed as a modular system.

Planned modules include:

  • TNT
  • Fireball
  • Container Cleanup
  • Configuration
  • Status and Diagnostics

PvP-Fix 采用模块化设计。

计划中的模块包括:

  • TNT
  • Fireball
  • Container Cleanup
  • Configuration
  • Status and Diagnostics

Modules should be independently controllable where practical.

在实际条件允许的情况下,各模块应能够独立控制。

Runtime Modes / 运行模式

PvP-Fix targets Minecraft Java Edition 1.21.11.

The project is designed around two runtime paths:

  • Enhanced
  • Compatibility

PvP-Fix 面向 Minecraft Java Edition 1.21.11。

项目计划采用两种运行路径:

  • Enhanced(增强模式)
  • Compatibility(兼容模式)

Enhanced / 增强模式

Enhanced mode may use a server-side bridge to receive precise game events and positions from the Minecraft server.

增强模式可以通过服务端 Bridge 获取更加准确的游戏事件和位置数据。

该桥梁向 PvP-Fix 提供事件信息,而游戏规则仍由数据包负责。

兼容模式

兼容模式使用 Minecraft 原版数据包机制。

当无法直接获取精确事件位置时,可能需要使用回退检测方式。

开发状态

PvP-Fix 正在积极开发中。

项目当前主要致力于提升可靠性、完善已有的游戏修复功能,并开发下一代架构。

已发布的版本将保留为历史里程碑,用于测试、调试和对比。

开发版本可能包含未完成的功能、实验性实现或仍需进一步完善的更改。

版本生命周期

PvP-Fix 在开发阶段采用 A.B.C 版本结构。
PvP-Fix 在开发阶段采用 A.B.C 版本结构。

A — 主要开发阶段 / Major Development Stage

A 代表 PvP-Fix 的主要开发阶段。
A 表示 PvP-Fix 所处的主要开发阶段。

例如,0.1 和 0.2 代表不同的开发阶段。
例如,0.1 和 0.2 代表不同的开发阶段。

B — 开发线 / Development Line

B 标识当前主要开发阶段中的具体开发线。
B 表示当前主要开发阶段中的具体开发线。

0.1 开发线专用于完整实现 0.1.0001 历史基线及其对应开发日志中定义的功能与设计目标。
0.1 开发线专用于完整实现 0.1.0001 历史基线及其对应开发日志中定义的功能与设计目标。

当 0.1 开发线完成后,开发将进入 0.2 开发线。
当 0.1 开发线完成后,项目将进入 0.2 开发线。

C — 开发序号 / Development Sequence

C 表示当前项目版本序列中所有正式发布版本与内部开发版本的累计数量。
C 表示当前项目版本序列中所有正式发布版本与内部开发版本的累计数量。

每产生一个新版本,C 都会持续累加,不会减少,也不会重置。
每产生一个新版本,C 都会持续累加,不会减少,也不会重置。

无论是对外发布的版本,还是仅用于内部开发、测试或架构迭代的版本,都会占用一个序号。
无论是对外发布的版本,还是仅用于内部开发、测试或架构迭代的版本,都会占用一个序号。

例如:

0.1.0001 → 0.1.0002 → 0.1.0003 → 0.1.0004 → ...

该序号会跨开发阶段持续累加;从 0.1 进入 0.2 时,C 不会重新从 0001 开始。
该序号会跨开发阶段持续累加;从 0.1 进入 0.2 时,C 不会重新从 0001 开始。

发布流程

开发 / Development

开发变更通过 Commit 提交,并推送至 GitHub。
开发变更通过 Commit 提交,并推送至 GitHub。

版本标签 / Version Tag

创建带注释的版本 Tag 后,将触发 GitHub Actions 自动发布流程。
创建带注释的版本 Tag 后,将触发 GitHub Actions 自动发布流程。

该流程会自动构建数据包,并以 Pre-release(预发布) 状态创建 GitHub Release,用于测试与验证。
该流程会自动构建数据包,并以 Pre-release(预发布) 状态创建 GitHub Release,用于测试与验证。

Modrinth 发布 / Modrinth Distribution

对应的数据包构建完成并通过验证后,可以按照项目的发布流程将该版本上传至 Modrinth。
对应的数据包构建完成并通过验证后,可以按照项目的发布流程将该版本上传至 Modrinth。

在项目持续开发期间,Modrinth 上的版本可以继续标记为 Alpha。
在项目持续开发期间,Modrinth 上的版本可以继续标记为 Alpha。

独立的发布状态 / Independent Release Status

GitHub Release 的状态与 Modrinth 的版本类型相互独立,两者不一定代表相同的发布阶段。
GitHub Release 的状态与 Modrinth 的版本类型相互独立,两者不一定代表相同的发布阶段。

已经发布或上传的版本将作为项目历史开发里程碑保留。
已经发布或上传的版本将作为项目历史开发里程碑保留。

性能理念

PvP-Fix 并不以“命令数量最少”为首要目标。

项目优先级为:

  1. 正确的游戏行为
  2. 服务端性能
  3. 兼容性
  4. 可维护性

PvP-Fix 并不以“命令数量最少”为首要目标。

项目优先级为:

  1. 正确的游戏行为
  2. 服务端性能
  3. 兼容性
  4. 可维护性

许可证

PvP-Fix 使用:

Creative Commons Attribution-ShareAlike 4.0 International(CC BY-SA 4.0)

PvP-Fix 使用:

Creative Commons Attribution-ShareAlike 4.0 International(CC BY-SA 4.0)

查看完整许可证

该许可证要求进行适当署名,并要求衍生作品在相同许可证下进行发布。

该许可证要求进行适当署名,并要求衍生作品在相同许可证下进行发布。

AI 使用说明

在 PvP-Fix 的开发和文档编写过程中使用了生成式 AI。

在 PvP-Fix 的开发和文档编写过程中使用了生成式 AI。

AI 可能参与:

  • 开发辅助
  • 代码生成
  • 文档编写
  • 翻译
  • 技术分析

AI 可能参与:

  • 开发辅助
  • 代码生成
  • 文档编写
  • 翻译
  • 技术分析

PvP-Fix 本身不包含 AI 驱动的游戏功能。

PvP-Fix 本身不包含 AI 驱动的游戏功能。

免责声明

PvP-Fix 是一个独立的社区项目,与 Mojang Studios、Microsoft 或 Hypixel 没有官方关联,也未获得其认可或赞助。

PvP-Fix 是一个独立的社区项目,与 Mojang Studios、Microsoft 或 Hypixel 没有官方关联,也未获得其认可或赞助。

Minecraft 是 Mojang Studios 的商标。

Minecraft 是 Mojang Studios 的商标。

本项目旨在实现特定的游戏行为,并不声称复制任何其他服务器或游戏模式的完整内部实现。

本项目旨在实现特定的游戏行为,并不声称复制任何其他服务器或游戏模式的完整内部实现。

推荐模组

PVPUtils

PVPUtils 是一款面向高版本 Minecraft PvP 的实用工具模组,提供了许多适用于 PvP 的实用功能。

PvP-Fix 与 PVPUtils 主要针对 PvP 的不同方面进行优化,因此可以搭配使用。

PVPUtils 目前支持 Minecraft 1.21.11 Fabric。

在 Modrinth 查看 PVPUtils

访问 PVPUtils 的官网

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源