No Teleport
GitHub:
No Teleport 是一个用于 Minecraft 26.1.2 的纯客户端 Fabric 模组,可防止玩家通过下界传送门进行传送。
它在客户端将下界传送门方块视为完整的实心方块,使走进传送门的感觉如同撞上一堵无形的墙,而传送门本身仍正常渲染。此外,它在使用物品前会对末影珍珠的轨迹执行保守检查。如果预测的危险区域可能接触到下界传送门,客户端会在服务端生成末影珍珠之前取消此次使用。
功能
- 仅适用于客户端;无需安装服务端模组。
- 下界传送门仍正常渲染和动画播放。
- 玩家无法通过常规方式走进下界传送门方块。
- 在下发使用数据包之前检查末影珍珠的使用。
- 保守地拦截靠近传送门的可疑末影珍珠投掷。
- 远离下界传送门的正常末影珍珠使用不受影响。
兼容性
| 要求 |
版本 |
| Minecraft |
26.1.2 |
| Fabric Loader |
>=0.19.2 |
| Java |
>=25 |
| Fabric API |
不需要 |
安装
- 为 Minecraft
26.1.2 安装 Fabric Loader。
- 下载或构建
no-teleport-0.1.0.jar。
- 将 jar 文件放入客户端的
mods 文件夹。
- 启动游戏。
构建好的模组 jar 位于:
build/libs/no-teleport-0.1.0.jar
从源码构建
Windows:
.\gradlew.bat clean build
Linux/macOS:
./gradlew clean build
生成的模组 jar 位于:
build/libs/no-teleport-0.1.0.jar
行为机制
传送门阻挡通过客户端碰撞实现。该模组将 Blocks.NETHER_PORTAL 的碰撞形状更改为完整方块,但不改变传送门的渲染形状。
末影珍珠阻挡发生在客户端发送物品使用数据包之前。模组会模拟一条保守的珍珠轨迹,并将其扩展为一个较宽的危险区域。如果该区域可能与任何已加载的下界传送门方块接触,则取消物品使用。
限制
- 这是一个纯客户端模组,无法更改服务端权威逻辑。
- 它不会解救已经进入传送门方块内的玩家。
- 如果服务端已经决定传送玩家,它不会强制回退玩家位置。
- 末影珍珠检查是保守的,因此一些看似安全的靠近传送门的投掷仍可能被拦截。
- 具有自定义传送逻辑、自定义末影珍珠物理或不同步传送门方块的服务端,可能会绕过此客户端防护所依赖的假设。
开发
运行测试套件:
.\gradlew.bat test
构建发布版 jar:
.\gradlew.bat clean build
许可证
MIT
No Teleport
Github:
No Teleport is a client-side Fabric mod for Minecraft 26.1.2 that prevents players from teleporting through Nether portals.
It makes Nether portal blocks behave like full solid blocks on the client, so walking into a portal feels like hitting an invisible wall while the portal still renders normally. It also performs a conservative Ender Pearl trajectory check before item use is sent to the server. If the predicted danger area may touch a Nether portal, the client cancels that Ender Pearl use before the server can spawn the pearl.
Features
- Client-side only; no server mod is required.
- Nether portals still render and animate normally.
- Players cannot normally walk into Nether portal blocks.
- Ender Pearl use is checked before the use packet is sent.
- Suspicious near-portal Ender Pearl throws are conservatively blocked.
- Normal Ender Pearl use away from Nether portals remains available.
Compatibility
| Requirement |
Version |
| Minecraft |
26.1.2 |
| Fabric Loader |
>=0.19.2 |
| Java |
>=25 |
| Fabric API |
Not required |
Installation
- Install Fabric Loader for Minecraft
26.1.2.
- Download or build
no-teleport-0.1.0.jar.
- Put the jar into the client's
mods folder.
- Launch the game.
The built mod jar is located at:
build/libs/no-teleport-0.1.0.jar
Building From Source
Windows:
.\gradlew.bat clean build
Linux/macOS:
./gradlew clean build
The mod jar will be generated at:
build/libs/no-teleport-0.1.0.jar
Behavior
Portal blocking is implemented through client-side collision. The mod changes the collision shape for Blocks.NETHER_PORTAL to a full block, without changing the portal's rendered shape.
Ender Pearl blocking happens before the client sends the item-use packet. The mod simulates a conservative pearl path and expands it into a wide danger area. If that area may touch any loaded Nether portal block, the item use is cancelled.
Limitations
- This is a client-side mod and cannot change server-authoritative logic.
- It does not rescue players who are already inside portal blocks.
- It does not roll back a player after the server has already decided to teleport them.
- Ender Pearl checking is conservative, so some near-portal throws that look safe may still be blocked.
- Servers with custom teleport logic, custom Ender Pearl physics, or unsynchronized portal blocks may bypass the assumptions this client-side guard relies on.
Development
Run the test suite:
.\gradlew.bat test
Build the release jar:
.\gradlew.bat clean build
License
MIT
No Teleport
No Teleport 是一个纯客户端 Fabric Mod,用于在 Minecraft 26.1.2 中阻止玩家通过地狱门传送。
它会在客户端把地狱门方块当作完整实体方块处理,让玩家像撞到空气墙一样无法正常走进地狱门。同时,它会在投掷末影珍珠前进行保守轨迹预测:如果预测出的危险轨迹范围可能接触到地狱门,客户端会取消这次末影珍珠使用,避免服务端生成末影珍珠实体。
功能
- 纯客户端 Mod,不需要服务端安装。
- 地狱门仍正常渲染和动画显示。
- 玩家无法通过普通移动走进地狱门。
- 末影珍珠投掷前会进行地狱门风险检测。
- 靠近地狱门的可疑末影珍珠投掷会被保守拦截。
- 远离地狱门的正常末影珍珠使用不受影响。
兼容性
| 要求 |
版本 |
| Minecraft |
26.1.2 |
| Fabric Loader |
>=0.19.2 |
| Java |
>=25 |
| Fabric API |
不需要 |
安装
- 安装支持 Minecraft
26.1.2 的 Fabric Loader。
- 下载或构建
no-teleport-0.1.0.jar。
- 将 jar 放入客户端的
mods 文件夹。
- 启动游戏。
构建产物位于:
build/libs/no-teleport-0.1.0.jar
从源码构建
Windows:
.\gradlew.bat clean build
Linux/macOS:
./gradlew clean build
构建完成后,Mod jar 会生成到:
build/libs/no-teleport-0.1.0.jar
行为说明
地狱门阻挡通过客户端碰撞实现。客户端会把 Blocks.NETHER_PORTAL 的碰撞形状改为整格方块,但不会改变地狱门的渲染形状。
末影珍珠阻挡发生在客户端发送使用物品包之前。Mod 会模拟一段保守的末影珍珠轨迹,并把轨迹扩展成较粗的危险范围。只要这个范围可能接触到已加载的地狱门方块,本次使用就会被取消。
限制
- 这是纯客户端 Mod,不能改变服务端权威逻辑。
- 不会救援已经进入地狱门方块内的玩家。
- 不会在服务端已经决定传送后强制回退玩家。
- 末影珍珠风险检测是保守的,靠近地狱门时可能误拦一些看似安全的投掷。
- 如果服务器使用自定义传送逻辑、自定义末影珍珠物理,或客户端未加载相关地狱门方块,Mod 不能保证完全覆盖这些情况。
开发
运行测试:
.\gradlew.bat test
构建发布 jar:
.\gradlew.bat clean build
许可证
MIT
评论 0
登录后参与评分
还没有评论,来抢沙发吧