这是什么?
pkWaystones Companion 是一个 Paper 插件,通过 Geyser/Floodgate 为 Kawamood 的 Waystones 数据包提供基岩版客户端兼容性。此外,还需要 Kawamood's Waystones 和 PacketEvents。
注意: 如果您是从 v1.0 版本升级,建议在更新后运行 /pkcom sync 以刷新缓存文件。虽然这不是必须的,但它会移除缓存文件中不再需要的字段。
功能
安装
关于该插件
- 传送石检测 — 在首次启动时,插件会扫描传送石的存储并缓存所有传送石条目。当放置或移除传送石时,缓存也会自动更新。
- 视觉替换 — 当基岩版玩家接收到包含传送石的区块时,插件将使用缓存来识别传送石位置,并向基岩版客户端推送模型。这些模型会用对应于该传送石变体的装饰外观替换掉漂浮的酒桶。
- 传送石交互 — 当基岩版玩家与传送石交互时,其行为将与 Java 版玩家相同。Kawamood's Waystones 数据包处理所有的传送逻辑、经验值消耗、冷却时间和 GUI 填充。
- 库存图标修补 — 插件使用 PacketEvents 拦截传送石的库存目的地按钮,并将其替换为 Java 版玩家看到的正确方块图标。不再有烤鳕鱼了!
- 传送石配方和物品 — 配方和库存物品拥有用于替换原本可见的发光物品展示框的图标。为此需要一个小型的 mcpack。pkWaystones Companion 会自动创建此 mcpack 并将其放置在正确的 Geyser 文件夹中,以便推送到基岩版玩家。
预期行为
- 视觉效果 — 插件使用隐形盔甲架来构建传送石模型。由于基岩版的运作方式,如果您站在传送石旁边,您可能会看到酒桶穿透模型。在传送石库存中选择目的地时,可能会短暂看到烤鳕鱼。
- 音效 — 与传送石交互时会听到打开酒桶的声音。现在已抑制该声音,但由于基岩版的特性,偶尔仍可能听到。数据包中的传送门旅行音效在基岩版玩家侧传送时不会播放,因此现在会在玩家落地后在目的地播放。
命令
/pkcom (需要 op 权限) 提供用于重新同步缓存、重载配置、查看状态、列出缓存的传送石、切换所有日志标志以及切换视觉效果的命令。
- 更改传送石模型 — 输入 /pkcom set waystones,后跟 classic、legacy、modern 或 default。
- classic — 一种让人想起我为此插件使用的原始模型的样式。
- legacy — 模仿 Waystones 数据包中 Kawamood 的传统模型。
- modern — 模仿 Waystones 数据包中 Kawamood 的现代模型。
- default — 将传送石设置为 Waystones 数据包中设置的传送石模型。请注意,数据包的更改不是即时的,将在基岩版玩家下次加载区块时生效。
- 自定义传送石库存界面 — 输入 /pkcom set interface,后跟 classic 或 legacy。
- classic — 基岩版原生的库存界面。
- legacy — 通过交换玻璃板使其更接近 Java 版玩家所见的界面,从而模仿 Java 版库存界面。
未来版本的可能性
- 包括对 phiphi 的 Waystones RP 资源包的支持。
- 包含一个可视化 GUI,以便更轻松地管理 Kawamood's Waystones 数据包中的选项。
What is this?
pkWaystones Companion is a Paper plugin that provides Bedrock client compatibility for Kawamood's Waystones datapack via Geyser/Floodgate. Additionally, Kawamood's Waystones and PacketEvents are required.
NOTE: If you're updating from v1.0, I recommend running /pkcom sync after updating to refresh your cache file. While it isn't necessary, it does remove fields in the cache file that are no longer required.
Features
Provides decorative Waystone models for Bedrock players!

Bedrock players see the actual destination icons. No more cooked cod!

New features with v1.3: Waystones have a new rendering method for Bedrock Players! There are three to choose from; classic, legacy, and modern. You can also customize the inventory window. Refer to the commmands section below for more info.
Installation
About the plugin
- Waystone Detection — On first startup, the plugin scans Waystones storage and caches all Waystone entries. The cache also updates automatically when Waystones are placed or removed.
- Visual Replacement — When a Bedrock player receives a chunk containing a Waystone, the plugin will use the cache to identify Waystone locations and push models to the Bedrock client. These models replace the floating barrel with a decorative appearance that corresponds to that Waystone's variant.
- Waystone Interaction — When a Bedrock player interacts with a Waystone, it will behave the same way as it would for a Java player. Kawamood's Waystones datapack handles all teleportation logic, XP costs, cooldowns, and GUI population.
- Inventory Icon Patching — The plugin uses PacketEvents to intercept the Waystone's inventory destination buttons and replaces them with the correct block icon that Java players see. No more cooked cod!
- Waystone Recipes and Iventory Items — recipes and inventory items have icons to replace the glowing item frames that would be seen without this plugin. A small mcpack is required for this. pkWaystones Companion will automatically create this mcpack and place it into the proper Geyser folder so that it can be pushed to Bedrock players.
Expected behavior
- Visuals — The plugin uses invisible armor stands to build the Waystone models. Due to how Bedrock functions, you can expect to see a barrel phase through the model if you're standing right next to the Waystone. When selecting a destination in the Waystone's inventory, a cooked cod may be briefly seen.
- Sound — The opening barrel sound would be heard when interacting with a Waystone. This is now suppressed but may still be heard from time to time due to Bedrock being Bedrock. The portal travel sound from the datapack wouldn't play when teleporting on the Bedrock player's side so it is now played at the destination after the player lands.
Commands
- /pkcom (requires op) provides commands for resyncing the cache, reloading config, viewing status, listing cached Waystones, and toggling all log flags as well as toggling the visuals.
- Changing Waystone Models — type /pkcom set waystones followed by classic, legacy, modern, or default.
- classic — a model reminiscent of the original models I used for this plugin.
- legacy — mimics Kawamood's legacy models from the Waystones datapack.
- modern — mimics Kawamood's modern models from the Waystones datapack.
- default — sets the Waystones to represent the Waystone models that are set in the Waystones datapack. Note that changes to the datapack are not immediate and will take effect the next time a Bedrock player loads a chunk.
- Customize The Waystone Inventory Screen — type /pkcom set interface followed by classic or legacy.
- classic — the inventory screen native to Bedrock.
- legacy — mimics the java inventory screen by swapping the glass panes to look closer to what Java players see.
Possibility in a future release
- Include support for phiphi's Waystones RP resource pack.
- Include a visual gui to manage options in Kawamood's Waystones datapack more easily.
评论 0
登录后参与评分
还没有评论,来抢沙发吧