介绍
Primarily, this library provides useful universal API TeleportUtils.teleportEntity(...) for teleporting many kinds of entities including player, animal and so on in one method with many options and consistency between those types.
Moreover, this library provides more powerful API TeleportUtils.teleportEntityWithItsPassengersLeashedAnimalsAndVehiclesRecursively(...) that makes teleporting with many other connected entities possible, including vehicles riding and animals with leads.
Finally for the proof of concept, this library provides command /teleportWith and its aliased version /tpw that makes teleporting with other entities possible. This has the same signature with the original /teleport and /tp command (as described in here) so it wouldn’t be hard for the existing players to use.
Requires following fixes in order to work properly (they are from the same author):
Recently also added inter-dimensional equivalent APIs for the portal support.
You can travel through portals while riding, with leashed animals.
Credits to:
常见问题
Teleport Utils 支持哪些 Minecraft 版本?
Teleport Utils 支持 Minecraft Java 版 1.17.1,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Teleport Utils 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
评论
登录后评论和评分