? Waypoint Warp
Waypoint Warp 是一款下一代服务端传送引擎,用极其高效的全球信标框架取代了缓慢且重复的原版命令方块系统。
本模组专为 Fabric 1.20.1 设计,大幅降低了 MSPT(每刻毫秒数)开销,并提供了一种干净、可扩展的传送解决方案,无需安装任何客户端模组。
?️ 为什么要替换命令方块?
传统的原版传送系统依赖于:
- 重复命令方块
- 复杂的
/execute 距离检测
- 记分板条件
- 数据包 tick 函数
- 冗长的命令链
- 命令调度器刷屏
- 充满 ticking 命令方块 的房间
典型的原版传送门如下所示:
/execute as @a at @s if entity @s[x=..,y=..,z=..,distance=..] run tp @s <destination>
此命令会在 每次 tick × 每个玩家 × 每个信标 时运行,随着服务器规模扩大,性能开销会迅速增加。
❌ 原版传送系统的问题
- 持续的 tick 负载
- 成本随 玩家数量 × 信标数量 扩展
- 沉重的命令调度器开销
- 数据包 tick 性能下降
- 长命令链导致的卡顿峰值
- 在大型冒险或 RPG 地图中难以管理
✅ Waypoint Warp 的优势
Waypoint Warp 将所有上述问题替换为单个优化引擎:
- 全局
PersistentState 存储
- 零实体方块
- 仅在玩家附近时进行传送检测
- 无命令方块刷屏
- 无数据包 tick 刷屏
- 内置召唤系统
- 内置粒子效果
- 冷却系统
- 纯服务端(无需安装客户端模组)
? 性能对比 (MSPT)
图片并非 100% 真实数据,由 AI 生成。
在服务器计划 tick 中:0.0012 > 0.0016
![performance]
总结
- 原版命令方块呈线性扩展,通常达到 每 tick 3–6ms
- Waypoint Warp 保持在 0.01–0.03ms 左右,即使有 50+ 个信标
? 功能特性
- 全局信标系统
- 触发半径检测
- 到达召唤(任意实体)
- 粒子效果
- 冷却系统
- 激活半径优化
- 调试命令
- 仅服务端模组(无需客户端安装)
? 命令
创建信标
/waypoint set <name> <from_pos> <to_pos>
/waypoint set <name> <from_pos> <to_pos> summon <entity> <dy>
/waypoint set <name> <from_pos> <to_pos> particle <id>
/waypoint set <name> <from_pos> <from_dimension> <to_pos> <to_dimension> <summon|particle> <dy|id> sound <mcsound_id> <volume> <pitch>
使用示例
/waypoint set test1 1 10 0 minecraft:overworld 10 50 10 minecraft:the_end summon minecraft:lightning_bolt 0 sound minecraft:entity.experience_orb.pickup 1 1
编辑信标
/waypoint edit <name> from <pos>
/waypoint edit <name> to <pos>
/waypoint edit <name> radius <value>
/waypoint edit <name> particle <id>
/waypoint edit <name> summon <entity> <dy>
实用工具
/waypoint distance <name> <radius>
/waypoint list
/waypoint remove <name>
调试
/waypoint debug mspt
/waypoint debug active
? 适用场景
- 冒险地图
- RPG 服务器
- 地牢系统
- 枢纽传送点
- 过场动画
- 小游戏
- 事件自动化
- 任何旨在替代命令方块刷屏的项目
? 链接
- 网站:
- 文档:
- GitHub:
- 作者: @PPekKunGzDev
? Waypoint Warp
- Ultra Optimized Teleportation System
Waypoint Warp is a next-generation server-side teleportation engine that replaces slow, repetitive vanilla command-block systems with an ultra-efficient global waypoint framework.
Designed for Fabric 1.20.1, this mod drastically reduces MSPT cost and provides a clean, scalable teleport solution without requiring any client installation.
?️ Why Replace Command Blocks?
Traditional vanilla teleport systems rely on:
- repeating command blocks
- complex
/execute distance checks
- scoreboard conditions
- datapack tick functions
- long command chains
- command dispatcher spam
- rooms full of ticking command blocks
A typical vanilla teleporter looks like this:
/execute as @a at @s if entity @s[x=..,y=..,z=..,distance=..] run tp @s <destination>
This runs every tick × every player × every waypoint, quickly becoming expensive as servers grow.
❌ Problems with Vanilla Teleport Systems
- Constant tick load
- Cost scales with players × waypoints
- Heavy command dispatcher overhead
- Datapack tick performance drop
- Lag spikes from long command chains
- Hard to manage in large adventure or RPG maps
✅ What Waypoint Warp Does Better
Waypoint Warp replaces all of that with a single optimized engine:
- Global
PersistentState storage
- Zero tile entities
- Teleport checks only when players are nearby
- No command block spam
- No datapack tick spam
- Built-in summon system
- Built-in particle effects
- Cooldown system
- Pure server-side (no client mod required)
? Performance Comparison (MSPT)
Image is not real 100%, generate by AI.
on server schedule tick 0.0012 > 0.0016
![performance]
Summary
- Vanilla command blocks scale linearly and often reach 3–6ms per tick
- Waypoint Warp stays around 0.01–0.03ms, even with 50+ waypoints
? Features
- Global waypoint system
- Trigger radius detection
- Arrival summon (any entity)
- Particle effects
- Cooldown system
- Activation-radius optimization
- Debug commands
- Server-only mod (no client installation)
? Commands
Create Waypoint
/waypoint set <name> <from_pos> <to_pos>
/waypoint set <name> <from_pos> <to_pos> summon <entity> <dy>
/waypoint set <name> <from_pos> <to_pos> particle <id>
/waypoint set <name> <from_pos> <from_dimension> <to_pos> <to_dimension> <summon|particle> <dy|id> sound <mcsound_id> <volume> <pitch>
Example Using
/waypoint set test1 1 10 0 minecraft:overworld 10 50 10 minecraft:the_end summon minecraft:lightning_bolt 0 sound minecraft:entity.experience_orb.pickup 1 1
Edit Waypoint
/waypoint edit <name> from <pos>
/waypoint edit <name> to <pos>
/waypoint edit <name> radius <value>
/waypoint edit <name> particle <id>
/waypoint edit <name> summon <entity> <dy>
Utility
/waypoint distance <name> <radius>
/waypoint list
/waypoint remove <name>
Debug
/waypoint debug mspt
/waypoint debug active
? Perfect For
- Adventure maps
- RPG servers
- Dungeon systems
- Hub teleporters
- Cutscenes
- Minigames
- Event automation
- Any project replacing command-block spam
? Links
- Website:
- Documentation:
- GitHub:
- Author: @PPekKunGzDev
评论 0
登录后参与评分
还没有评论,来抢沙发吧