⚡ EasyPortal
EasyPortal 通过直观的内置 GUI,实现了自定义形状、PIN 码保护的传送门以及无缝的 1:1 链接,彻底革新了 Minecraft 中的旅行方式。
专为 Minecraft 1.21.1 上的 Fabric 打造 —— 由 SoloDev 开发
✨ 功能特性
? 传送门形状设计器
- 16×16 网格编辑器 — 逐个方块绘制你想要的任何传送门框架形状。
- 左键点击绘制,右键点击擦除 — 支持点击并拖拽绘画。
- 库存感知 — 方块调色板直接取自你的物品栏。你可以选择拥有的任意方块作为框架材料。
- 随时可以点击重置画布按钮重新开始。
? 传送门链接
- 单向(OneWay) — 传送到已保存的坐标目的地(仅单方向出口)。
- 双向链接(Bidirectional Link) — 在两个传送门之间创建双向连接。
- 1:1 独占链接 — 每个传送门同一时间只能链接到一个其他传送门。不允许多重链接。
- 自动目的地解析 — 按名称链接传送门;模组会自动解析坐标。
? 安全系统
- 私有传送门(Private Portals) — 将任意传送门标记为私有以限制访问。
- PIN 码保护 — 设置一个数字 PIN 码,访客必须通过弹出式 GUI 输入。
- 基于会话的身份验证(Session-Based Auth) — 每次会话只需输入一次 PIN 码;断开连接前无需重新输入。
- 所有者免检(Owner Bypass) — 传送门所有者始终可以直接通过,不会被提示输入 PIN 码。
- 管理员免检(Admin Bypass) — 服务器操作员(OP Level 2+)或拥有
easyportal.admin 权限的玩家可以绕过所有 PIN 码关卡。
- 链接共享 PIN 码 — 当链接两个传送门时,一侧设置的 PIN 码会自动同步到链接的另一侧传送门。
- 身份验证冷却(Auth Cooldown) — 取消 PIN 码提示后,它不会立即再次出现。在提示再次显示之前会触发一段冷却时间。
? 传送门颜色
- 9 种内置颜色:青色、紫色、红色、绿色、蓝色、洋红色、黄色、橙色、粉色。
- 十六进制颜色选择器 — 使用 GUI 中的高级颜色选择器,为传送门粒子效果和传送门方块设置任何自定义 RGB 十六进制颜色。
- 动画传送门网关 — 每个传送门都有一个自定义渲染的半透明动画方块,采用你选择的颜色。
? 预览与放置
- 幽灵预览(Ghost Preview) — 设计好传送门后,一个半透明的全息轮廓会跟随你的准星,精确显示建造位置。
- 旋转(Rotation) — 按 [R] 键旋转传送门(北 → 东 → 南 → 西)。
- 方向切换(Orientation Toggle) — 按 [鼠标中键] 在 垂直(墙壁)和 水平(地板/天花板)对齐之间切换。
- 右键点击确认 — 右键点击放置传送门。
- 左键点击取消 — 随时中止放置。
- 方块需求 HUD — 放置时,屏幕左侧的实时清单显示所需方块与你已有的方块对比(例如
Dirt 4/5)。缺少的方块会被高亮显示。
- 按键提示 HUD — 屏幕右侧的提示会提醒你所有的放置控制按键。
⚙️ 行为设置
- 传送冷却(Teleport Cooldown) — 设置每次传送之间的 0-60 秒冷却时间(GUI 中有滑块)。
- 实体传送(Entity Teleportation) — 切换“允许生物/物品/实体”选项,让非玩家实体(生物、掉落的物品等)也能通过传送门。
- 抗性增益(Resistance Buff) — 玩家传送后会获得 3 秒的抗性 V 效果,防止跌落伤害。
- 传送特效 — 起点和终点都会播放粒子效果和末影传送声音。
- 维度覆盖(Dimension Overlay) — 跨维度传送时,会出现与传送门颜色匹配的彩色屏幕覆盖效果,渐入渐出。
? 传送门网络仪表盘
- 按 [右 Shift] 或输入
/easyportal gui 打开。
- 传送门列表 — 在一个简洁、可搜索的表格中查看所有传送门。
- 搜索 — 按名称、所有者或目的地过滤传送门。
- 删除 — 通过确认弹窗移除传送门。
- “+ NEW PORTAL” 按钮可直接跳转到传送门设计器。
- 管理员视图(Admin View) — 管理员可以看到并管理所有玩家的传送门。
? 跨维度支持
- 传送门适用于所有维度 — 主世界、下界、末地以及模组添加的维度。
- 目的地存储维度标识符,并在传送时进行解析。
?️ 生存模式友好
- 在生存模式下,传送门框架会从你的物品栏中消耗方块。
- 创造模式会跳过方块需求检查。
?️ 框架完整性
- 自动销毁(Automatic Destruction) — 如果玩家破坏了属于传送门框架的一部分方块,该传送门将被销毁,并通知玩家。
- 定期验证(Periodic Validation) — 当配置文件中启用
validateFrame 时,服务器会定期检查传送门完整性并移除损坏的传送门。
?️ 配置文件
模组会在配置目录中生成 easyportal.json,包含以下选项:
| 选项 | 默认值 | 描述 |
defaultPortalLimit | 5 | 每位玩家最多可创建的传送门数量。 |
enableClaimProtection | true | 防止在被认领的区域建造传送门。 |
validateFrame | false | 启用服务器端定期的框架完整性检查。 |
? 安装指南
- 安装带有 Fabric Loader(≥ 0.18.4)的 Minecraft 1.21.1。
- 安装 Fabric API。
- 下载
easyportal-1.21.1.jar 并将其放入你的 .minecraft/mods 文件夹中。
- 启动游戏!
? 使用方法
1. 打开传送门仪表盘
- 按下默认按键绑定:[右 Shift]
- 或者运行命令:
/easyportal gui
这将打开 Portal Network Dashboard,你可以在其中查看所有的传送门、搜索、删除或创建新的传送门。
2. 创建新传送门
在仪表盘中点击 "+ NEW PORTAL" 以打开 Portal Designer。设计器包含两个面板:
左侧面板 — 形状编辑器
- 在 16×16 网格上绘制传送门框架。
- 左键单击(或拖拽)来放置方块。右键单击(或拖拽)来擦除。
- 从 Frame Material 部分选择你的框架方块(源自你的物品栏)。
右侧面板 — 配置
配置侧边栏包含 5 个可折叠的部分:
1. Identity & Network
- Portal Name — 为你的传送门取一个唯一的名称。
- Network Mode — 选择
Oneway (Exit Only) 或 Bidirectional Link。
- Target Destination — 从可用的目的地/传送门中进行选择。
2. Gateway Aura
- Atmosphere Tint — 使用颜色选择器为传送门粒子和方块挑选一种颜色。
3. Frame Material
4. Security
- Private Portal 复选框 — 限制访问权限。
- Portal PIN — 启用私有模式时必需。访客必须输入此 PIN 码。
- 当链接到已有 PIN 码的传送门时,现有的 PIN 码会自动共享。
5. Behavior
- Teleport Cooldown — 0 到 60 秒之间的滑块。
- Allow Mobs / Items / Entities — 允许实体通过。
3. 预览与放置
- 点击 "PREVIEW & PLACE" 关闭设计器并进入放置模式。
- 传送门的幽灵轮廓会出现在你的准星处。
- 旋转:按 [R] 键。
- 切换方向:按 [鼠标中键] 在墙壁模式和地板/天花板模式之间切换。
- 确认:右键单击 建造传送门。
- 取消:左键单击 中止操作。
注意: 在生存模式中,你的物品栏中必须拥有所需的方块。屏幕上的方块需求 HUD 会显示你已拥有与还缺少的方块数量。
4. 使用传送门
只需走进传送门网关方块即可进行传送。模组会检测你的位置并自动触发传送。
- Public portals — 任何人都可以使用。
- Private portals — 会出现一个 PIN 码输入界面。输入正确的 PIN 码以解锁。
- 一旦通过身份验证,直到你注销之前都不会再次提示(基于会话)。
5. 管理目的地
使用命令为 OneWay 传送门创建独立的坐标目的地:
| Command | Description |
/easyportal setDest <name> | 将当前位置保存为目的地。 |
/easyportal delDest <name> | 删除已保存的目的地(支持 Tab 补全)。 |
这些目的地在使用 OneWay 模式时,会出现在 Portal Designer 的 Target Destination 下拉菜单中。
6. 管理传送门
- 查看:通过 [右 Shift] 打开仪表盘。
- 搜索:使用搜索栏按传送门名称、所有者或目的地进行过滤。
- 删除:点击任意传送门旁边的 DEL 按钮,然后确认。
- 自动销毁:在世界中破坏框架方块会自动销毁该传送门。
? 权限
| Permission | Level | Description |
easyportal.admin | OP 2+ | 绕过 PIN 保护,查看和管理所有玩家的传送门。 |
?️ 依赖项
| Dependency | Version |
| Minecraft | 1.21.1 |
| Fabric Loader | ≥ 0.18.4 |
| Fabric API | Any |
| Java | ≥ 21 |
⌨️ 默认按键绑定
| Key | Action |
| Right Shift | 切换传送门仪表盘 |
| R | 在放置期间旋转传送门 |
| Middle Mouse | 在放置期间切换垂直/水平方向 |
| Right-Click | 确认传送门放置 |
| Left-Click | 取消传送门放置 |
| ESC | 关闭任何 GUI |
由 SoloDev 制作 ⚡
⚡ EasyPortal
EasyPortal revolutionizes Minecraft travel by enabling custom-shaped, PIN-secured portals with seamless 1:1 linking through an intuitive in-game GUI.
Built for Minecraft 1.21.1 on Fabric — by SoloDev
✨ Features
? Portal Shape Designer
- 16×16 Grid Editor — Draw any portal frame shape you want, block by block.
- Left-Click to draw, Right-Click to erase — supports click-and-drag painting.
- Inventory-Aware — The block palette is sourced directly from your inventory. Choose any block you have as the frame material.
- Reset Canvas button to start fresh at any time.
? Portal Linking
- OneWay — Teleport to a saved coordinate destination (one-directional exit).
- Bidirectional Link — Create a two-way connection between two portals.
- 1:1 Exclusive Linking — Each portal can only be linked to one other portal at a time. No multi-linking allowed.
- Automatic Destination Resolution — Link portals by name; the mod resolves coordinates automatically.
? Security System
- Private Portals — Mark any portal as private to restrict access.
- PIN Code Protection — Set a numeric PIN that guests must enter via a pop-up GUI.
- Session-Based Auth — Enter the PIN once per session; no re-entry until you disconnect.
- Owner Bypass — Portal owners always pass through without being prompted.
- Admin Bypass — Server operators (OP Level 2+) or players with
easyportal.admin can bypass all PIN gates.
- Shared PIN for Links — When linking two portals, a PIN set on one side is automatically shared with the linked portal.
- Auth Cooldown — After cancelling the PIN prompt, it won't re-appear instantly. A cooldown triggers before the prompt shows again.
? Portal Colors
- 9 Built-In Colors: Cyan, Purple, Red, Green, Blue, Magenta, Yellow, Orange, Pink.
- Hex Color Picker — Use the advanced color picker in the GUI to set any custom RGB hex color for portal particles and gateway blocks.
- Animated Portal Gateway — Each portal has a custom-rendered, translucent animated block with your chosen color.
? Preview & Placement
- Ghost Preview — After designing your portal, a translucent holographic outline follows your crosshair showing exactly where it will be built.
- Rotation — Press [R] to rotate the portal (North → East → South → West).
- Orientation Toggle — Press [Middle Mouse] to switch between Vertical (wall) and Horizontal (floor/ceiling) alignment.
- Right-Click to Confirm — Place the portal with a right-click.
- Left-Click to Cancel — Abort placement at any time.
- Block Requirements HUD — While placing, a live checklist on the left of the screen shows required blocks vs. what you have (e.g.,
Dirt 4/5). Missing blocks are highlighted.
- Key Hints HUD — On-screen hints on the right side remind you of all placement controls.
⚙️ Behavior Settings
- Teleport Cooldown — Set a 0–60 second cooldown between consecutive teleports per portal (slider in the GUI).
- Entity Teleportation — Toggle "Allow Mobs / Items / Entities" to let non-player entities (mobs, dropped items, etc.) pass through portals.
- Resistance Buff — Players receive 3 seconds of Resistance V after teleporting, preventing fall damage.
- Teleport Effects — Particles and ender teleport sound play at both origin and destination.
- Dimension Overlay — When teleporting across dimensions, a colored screen overlay effect (matching portal color) fades in and out.
? Portal Network Dashboard
- Open with [Right Shift] or
/easyportal gui.
- Portal List — View all your portals in a sleek, searchable table.
- Search — Filter portals by name, owner, or destination.
- Delete — Remove portals with a confirmation popup.
- "+ NEW PORTAL" button to jump directly into the Portal Designer.
- Admin View — Admins can see and manage all players' portals.
? Cross-Dimension Support
- Portals work across all dimensions — Overworld, Nether, End, and modded dimensions.
- Destinations store dimension identifiers and resolve them at teleport time.
?️ Survival Friendly
- Portal frames consume blocks from your inventory in Survival mode.
- Creative mode bypasses block requirement checks.
?️ Frame Integrity
- Automatic Destruction — If a player breaks a block that is part of a portal's frame, the portal is destroyed and the player is notified.
- Periodic Validation — When
validateFrame is enabled in the config, the server periodically checks portal integrity and removes broken portals.
?️ Configuration
The mod generates easyportal.json in the config directory with the following options:
| Option | Default | Description |
defaultPortalLimit | 5 | Maximum number of portals per player. |
enableClaimProtection | true | Prevents building portals in claimed areas. |
validateFrame | false | Enables periodic server-side frame integrity checks. |
? Installation
- Install Minecraft 1.21.1 with Fabric Loader (≥ 0.18.4).
- Install Fabric API.
- Download
easyportal-1.21.1.jar and place it in your .minecraft/mods folder.
- Launch the game!
? How to Use
1. Open the Portal Dashboard
- Press the default keybind: [Right Shift]
- Or run the command:
/easyportal gui
This opens the Portal Network Dashboard where you can view all your portals, search, delete, or create new ones.
2. Create a New Portal
Click "+ NEW PORTAL" in the dashboard to open the Portal Designer. The designer has two panels:
Left Panel — Shape Editor
- Draw your portal frame on the 16×16 grid.
- Left-Click (or drag) to paint blocks. Right-Click (or drag) to erase.
- Select your frame block from the Frame Material section (sourced from your inventory).
Right Panel — Configuration
The configuration sidebar has 5 collapsible sections:
1. Identity & Network
- Portal Name — Give your portal a unique name.
- Network Mode — Choose
Oneway (Exit Only) or Bidirectional Link.
- Target Destination — Select from available destinations/portals.
2. Gateway Aura
- Atmosphere Tint — Pick a color for portal particles and blocks using the color picker.
3. Frame Material
- Browse and select any block from your inventory as the portal frame.
4. Security
- Private Portal checkbox — Restricts access.
- Portal PIN — Required when private is enabled. Guests must enter this PIN.
- When linking to a portal that already has a PIN, the existing PIN is automatically shared.
5. Behavior
- Teleport Cooldown — Slider from 0 to 60 seconds.
- Allow Mobs / Items / Entities — Enable entity pass-through.
3. Preview & Place
- Click "PREVIEW & PLACE" to close the designer and enter placement mode.
- A ghost outline of your portal appears at your crosshair.
- Rotate: Press [R].
- Toggle Orientation: Press [Middle Mouse Button] to switch between wall and floor/ceiling.
- Confirm: Right-Click to build the portal.
- Cancel: Left-Click to abort.
Note: In Survival, you must have the required blocks in your inventory. The block requirement HUD on screen shows what you have vs. what's needed.
4. Using Portals
Simply walk into the portal gateway blocks to teleport. The mod detects your position and triggers teleportation automatically.
- Public portals — Anyone can use them.
- Private portals — A PIN entry GUI appears. Enter the correct PIN to unlock.
- Once authenticated, you won't be prompted again until you log out (session-based).
5. Managing Destinations
Create standalone coordinate destinations for OneWay portals using commands:
| Command | Description |
/easyportal setDest <name> | Saves your current position as a destination. |
/easyportal delDest <name> | Deletes a saved destination (with tab-completion). |
These destinations appear in the Portal Designer's Target Destination dropdown when using OneWay mode.
6. Managing Portals
- View: Open the dashboard with [Right Shift].
- Search: Use the search bar to filter by portal name, owner, or destination.
- Delete: Click the DEL button next to any portal, then confirm.
- Auto-Destruction: Breaking a frame block in-world destroys the portal automatically.
? Permissions
| Permission | Level | Description |
easyportal.admin | OP 2+ | Bypass PIN protection, view & manage all players' portals. |
?️ Dependencies
| Dependency | Version |
| Minecraft | 1.21.1 |
| Fabric Loader | ≥ 0.18.4 |
| Fabric API | Any |
| Java | ≥ 21 |
⌨️ Default Keybinds
| Key | Action |
| Right Shift | Toggle Portal Dashboard |
| R | Rotate portal during placement |
| Middle Mouse | Toggle vertical/horizontal orientation during placement |
| Right-Click | Confirm portal placement |
| Left-Click | Cancel portal placement |
| ESC | Close any GUI |
Created by SoloDev ⚡
评论 0
登录后参与评分
还没有评论,来抢沙发吧