
优秀的传送门使者只需三样物品。
利用量子纠缠和末影魔法的力量创造穿越空间的通道。运用你的红石知识发送和接收远程信号。篡改相对论以弯曲重力为你所用。这一切都可以通过 Portalist's Toolkit 实现。
模组要求
工具包
纠缠的末影之眼
通过将两颗末影之眼与紫水晶碎片结合制作而成,这是本模组中最核心的物品。每一对纠缠的末影之眼都是独一无二的。你还可以添加回声碎片来建立跨维度的连接。

雕纹黑曜石
通过将黑曜石放入切石机中,或在合成表中将两块黑曜石组合而成的方块。用作传送门的框架材料(需配合黑曜石核心)。也可作为装饰性方块使用。

黑曜石核心
黑曜石核心正面有一个插槽,可以容纳一颗末影之眼,通过右键点击该方块的正面即可插入。手持空手时潜行右键点击该方块的正面即可从插槽中取出末影之眼。漏斗和其他红石组件也可用于操作和检测插槽中的末影之眼。
黑曜石核心会放大放置在插槽中的任何末影之眼的信号。对于纠缠的末影之眼,这允许你利用其连接优势。对于普通的末影之眼,这可以实现区块加载。
黑曜石核心顶部还有一个铁制平台,用于设定传送门的旋转方向。当核心的插槽为空时,可以通过右键点击核心来旋转该平台。
黑曜石核心可以通过红石信号禁用。

传送门
要创建传送门,需要使用凿制黑曜石制作两个传送门框架(必须包含角块)。这两个框架的形状和大小必须相同,但彼此之间的距离可以是任意的。在每个框架的相对位置放入一个黑曜石核心。确保黑曜石核心的平台朝向传送门内部,且核心的插槽朝向传送门的前方。制作一对纠缠末影之眼,并将其中一个放入每个核心中。
除非你的纠缠末影之眼具有跨维度连接,否则传送门只能在同一维度内工作。

方向至关重要。请确保你的核心排列方式符合你期望的传送门行为。如果你进入传送门时是面向其中一个核心中的末影之眼,那么你应该从另一个框架出来,且其末影之眼位于你的身后。

如果你的传送门无法正常工作,你可以制作如下模型来帮助确定黑曜石核心的放置位置:

重力操控
你可以右键点击一个空的黑曜石核心使其围绕前方旋转。通过制作两个核心方向不同的传送门框架,当你走过时重力将会改变。只需确保它们处于相同的相对位置即可。例如,如果一个框架是 3x3 大小,核心位于底部中间的方块上,那么有效的配对框架可以是另一个 3x3 大小的框架,核心位于左侧中间的方块上,并旋转使得平台朝向传送门的中心。

如果你想禁用世界/服务器上的重力操控功能,可以卸载 Gravity Changer 模组,因为它并非必需(仅推荐)。
区块加载
内部装有末影之眼的黑曜石核心会加载区块。如果仅出于此目的使用,实际上并不需要纠缠效果;普通的末影之眼即可。
由黑曜石核心加载的区块会获得值为 31 的加载票(ticket),这意味着核心所在的区块将被完全加载,而周围的 8 个区块将作为懒加载区块(关于票的更多信息请参阅此处)。
如果黑曜石核心被红石信号激活,区块加载功能将被禁用。

信号检测
纠缠末影之眼可用于检测其配对核心的信号强度。首先,放置一个黑曜石核心并在其中放入一个纠缠末影之眼。然后,右键点击另一个纠缠末影之眼。它将显示距离该核心的方块数。这可以像更精确的磁石指南针一样使用。
给核心施加红石信号将禁用其被追踪的能力。

红石
黑曜石核心可以通过红石信号禁用。这将禁用存在的传送门、禁用区块加载以及禁用信号检测。

根据黑曜石核心的状态,比较器输出为 0、5、10 或 15。
| 状态 |
信号强度 |
| 空 |
0 |
| 有末影之眼,但无法检测到其配对 |
5 |
| 有末影之眼且检测到其配对 |
10 |
| 传送门激活 |
15 |

结合“激活核心会禁用它”这一特性,可以实现无线红石传输。当核心被禁用或摧毁时,另一个核心的比较器输出会从 10 或 15 降至 5,从而可以被检测到。

这也支持双向通信,因为被禁用的黑曜石核心仍会根据其配对的状态提供准确比较器信号。
以下是一个简单双向通信的电路示例。

游戏规则 (Gamerules)
| 游戏规则 |
默认值 |
允许范围 |
描述 |
maxPortalLength |
32 |
[0,64] |
设置传送门允许的最大宽度/高度。可以设置为 0 以完全禁用传送门。 |
minPortalLength |
1 |
[1,64] |
设置传送门所需的最小宽度和高度。例如,如果设置为 2,所有传送门必须至少为 2x2 大小。 |
命令
| 命令 |
描述 |
pt_clear_cache |
清除“纠缠末影之眼”的 NBT 数据存储。如果存在大量未被使用的不同纠缠末影之眼,此举可能有助于释放内存。 |
pt_regenerate_portals |
销毁并重新生成所有活动传送门。有时可用于解决临时故障。 |
pt_forceload_temporary <position> <ticks> |
内部使用。 |
pt_create_portal <eye_id> <x_0> <y_0> <z_0> <dimension_0> <facing_0> <roll_0> <x_1> <y_1> <z_1> <dimension_1> <facing_1> <roll_1> <width> <height> |
内部使用。 |
在整合包中的使用
欢迎将此模组包含在你的整合包中!

A good Portalist needs only three items.
Harness the power of quantum entanglement and Ender magic to create gateways through space. Use your Redstone knowledge to send and receive remote signals. Tamper with relativity to bend gravity to your advantage. Do it all with Portalist's Toolkit.
Mod Requirements
The Toolkit
Entangled Eye of Ender
Created by combining two Eyes of Ender with an Amethyst Shard, this is the most essential item in the mod. Every pair of Entangled Eyes of Ender is unique. You can also add an Echo Shard to create an interdimensional bond.

Chiseled Obsidian
A block made by putting Obsidian in a Stonecutter, or by combining 2 Obsidian in a Crafting Table. Is used as the frame material for portals (in combination with the Obsidian Core). Also can be used as a decorative block.

Obsidian Core
The Obsidian Core has a slot on the front that can hold an Eye of Ender, which can be inserted by right-clicking the front of the block. Sneak-right-click the front of the block with both hands empty to remove the Eye from the slot. Hoppers and other Redstone components can also be used to manipulate and detect the Eye in the slot.
Obsidian Cores will amplify the signal of any Eye of Ender placed in their slot. For Entangled Eyes of Ender, this allows you to use their bond to your advantage. For regular Eyes of Ender, this allows for chunk loading.
The Obsidian Core also has an iron pad on top that sets the rotation of portals. This pad can be rotated by right-clicking the Core while its slot is empty.
Obsidian Cores can be disabled with a redstone signal.

Portals
To create a portal, create two portal frames out of Chiseled Obsidian (corners required). The frames must be the same shape and size, but can be any distance apart. Add an Obsidian Core to each frame in the same relative position. Make sure the Obsidian Core's pad is facing the interior of the portal, and the slot of the Core is facing towards the front of the portal. Create a pair of Entangled Eyes of Ender, and put one in each Core.
Portals only work in the same dimension, unless your Entangled Eyes of Ender have an interdimensional bond.

ORIENTATION MATTERS. Make sure that your Core lines up with how your portal should behave. If you enter the portal facing the Eye in one Core, you should come out of the other frame with its Eye behind you.

If you can't get your portal to work, you can make a model like this to help you figure out where to place your Obsidian Core:

Gravity Manipulation
You can right-click an empty Obsidian Core to rotate it around the front. By making two portal frames with differently-oriented Cores, your gravity will be changed when you walk through. Just make sure they are in the same relative position. For example, if one frame is 3x3 with a Core in the bottom-middle block, an example of a valid partner would be another 3x3 frame with a Core in the left-middle block, rotated so that the pad faces the center of the portal.

If you want to disable Gravity Manipulation on your world/server, you can uninstall the Gravity Changer mod, as it is not required (only recommended).
Chunk Loading
Obsidian Cores with an Eye of Ender in them will load chunks. If being used solely for this purpose, you don't actually need an entanglement; a regular Eye of Ender will do.
Chunks loaded with Obsidian Cores are given a load ticket of 31, which means that the chunk the Core is in will be fully loaded, and the 8 surrounding chunks will be lazy chunks (more info on tickets here).
Chunk loading will be disabled if the Obsidian Core is powered with redstone.

Signal Detection
Entangled Eyes of Ender can be used to detect the signal of their partner. First, place one Obsidian Core and place an Entangled Eye of Ender in it. Then, use the other Entangled Eye by right-clicking it. It will tell you the distance in blocks to the Core. This can be used like a more accurate Lodestone Compass.
Giving the Core a redstone signal will disable its ability to be tracked.

Redstone
Obsidian Cores can be disabled with a redstone signal. This will disable the portal if there is one, disable chunk loading, and disable signal detection.

Obsidian Cores give a Comparator output of 0, 5, 10, or 15 depending on their state.
| State |
Signal Strength |
| Empty |
0 |
| Has Eye, but cannot detect its partner |
5 |
| Has Eye and detects its partner |
10 |
| Portal active |
15 |

This can be combined with the fact that powering a Core will disable it. This enables wireless redstone. When a Core is disabled or destroyed, the Comparator output of the other Core will drop from 10 or 15 to 5, which can be detected.

This also works 2 ways because disabled Obsidian Cores will still give an accurate Comparator signal based on the state of their partner.
Here is an example circuit for simple 2-way communication.

Gamerules
| Gamerule |
Default Value |
Allowed Range |
Description |
maxPortalLength |
32 |
[0,64] |
Sets the maximum allowed width/height for portals. Can be set to 0 to disable portals altogether. |
minPortalLength |
1 |
[1,64] |
Sets the minimum width and height required for portals. For example, if set to 2, all portals must be 2x2 or larger. |
Commands
| Command |
Description |
pt_clear_cache |
Clears the Eye NBT storage, potentially clearing up memory if there are many different Entangled Eyes of Ender that aren't being used. |
pt_regenerate_portals |
Destroys and regenerates all active portals. Can sometimes resolve temporary glitches. |
pt_forceload_temporary <position> <ticks> |
Used internally. |
pt_create_portal <eye_id> <x_0> <y_0> <z_0> <dimension_0> <facing_0> <roll_0> <x_1> <y_1> <z_1> <dimension_1> <facing_1> <roll_1> <width> <height> |
Used internally. |
Usage in Modpacks
Feel free to include this mod in your modpacks!
评论 0
登录后参与评分
还没有评论,来抢沙发吧