Teraport
Teraport 是一个最初为 Minecraft 1.13-1.20.1 编写的数据包,通过命令和触发器(通过一本附魔书访问)实现了类似 /home、/sethome 和 /back 的功能。
为了充分利用 Minecraft 1.21+ 中的新命令和数据结构,Teraport 被从头重写。它旨在成为一个对原版友好的终局快速传送系统,允许玩家传送到他们上次设置的重生点、之前“传送”的地点以及最后死亡的地点,从而更有效地在世界中移动。
除了这三个默认位置(在“Teraport Atlas”首页上可以找到)之外,玩家还可以通过在副手持有“Teraport Atlas”并使用在铁砧上重命名的末影珍珠来创建自己的标记位置并进行传送。
支持多人游戏,但如果其他玩家使用了别人的传送书,自定义位置可能无法正常工作。目前正在研究解决方案。
该数据包旨在在任何维度(包括自定义维度)中运行。
功能特性
- 通过触发器和函数实现通用及特定位置的传送
- 提供易于访问触发传送功能的终局平衡附魔书合成配方
- 支持携带乘客/坐骑进行传送
- 截断跨多行的重命名末影珍珠显示,并在工具提示中显示完整名称
- 基于世界的数据库,保留任何玩家保存的位置,可通过 UUID 或名称搜索
- 如有需要,可从第一页手动重新生成书籍
- 有限的自定义进度奖励
- 适用时可翻译文本
未来计划功能
- 基于书籍所有者而非执行玩家的标记位置查找
- 基于聊天的简化帮助系统,可从“Teraport Atlas”的第一页访问 (进行中)
技术信息
此数据包利用进度奖励、存储、触发器和函数来记录并读取位置,以解析成一个宏函数,该函数使用 execute in <namespace:dimension> run tp @s <x> <y> <z>。
许多 .mcfunction 文件中都包含注释;这是为了方便理解当前函数正在实现的功能,从而为任何有兴趣自行深入研究文件的人提供一个学习平台。
Teraport
Teraport is a datapack originally written for Minecraft 1.13-1.20.1 that implements /home-, /sethome-, and /back-like behavior via commands and triggers accessed through a written book.
Re-implemented from scratch to take advantage of new commands and data structures in Minecraft 1.21+, Teraport aims to be a vanilla-friendly end-game quick-transport system to help players get around their worlds more effectively by allowing the player to teleport to their last set respawn point, the place they previously 'teraported' from, and where they last died.
In addition to these three default locations (found on the front page of the "Teraport Atlas"), players can create their own marked locations to warp to by holding the "Teraport Atlas" in their off-hand and using an ender pearl that has been renamed in an anvil.
Multiplayer gameplay is supported, though custom locations will not work correctly for other players if they happen to use someone else's teraport book. Solutions to this are being examined.
This pack aims to work in any dimension, even custom ones.
Features
- Generic and specific location teleportation via triggers & functions
- Endgame-balanced written book crafting recipe providing easy access to triggering warps
- Teleporting with passengers/mounts
- Truncation of renamed ender pearls that would span multiple lines, with full name in tooltip
- World-based db retaining any player-saved locations, searchable by UUID or name
- Manual book regeneration from the first page if needed
- Limited custom advancements
- Translatable text where applicable
Future Planned Features
- Marked location lookups based on book's owner, not on executing player
- Chat-based simplified help system, accessible from the first page in the "Teraport Atlas" (in progress)
Technical Info
This pack utilizes advancements, storage, triggers, and functions to record and read locations to parse into a macro function utilizing execute in <namespace:dimension> run tp @s <x> <y> <z>.
Many .mcfunction files will have included comments; this is to facilitate understanding in what is currently being achieved by the function in question, in order to provide a learning platform for anyone curious enough to dig through the files themselves.
评论 0
登录后参与评分
还没有评论,来抢沙发吧