VOID CONTROL
一个用于 Minecraft Java 版的空间操控数据包
Void Control 是一个专为 Minecraft Java 版打造的数据包,核心围绕空间、传送门、传送以及虚空(The Void)的操控展开。它将玩家转变为强大的空间操控者,能够与其他实体交换位置、通过传送门连接地点、将实体捕获于移动中的球体内、跨越巨大距离进行传送,并开启通往独立口袋维度的门户。
与依赖普通武器或简单状态效果不同,Void Control 引入了基于 Minecraft 命令系统、射线检测、实体移动、显示实体、粒子效果、计分板以及传送机制构建的自定义玩法。
最终呈现出一系列相互关联的超自然能力,旨在让玩家感受到仿佛连空间法则本身都尽在掌控之中。
- 位置互换 — 快捷键槽位 1
位置互换允许玩家与另一个实体交换位置。
当手持第一个快捷栏物品并蹲下时,玩家会激活射线检测,沿其注视方向进行搜索。当找到有效目标时,玩家的位置与目标的位置将被互换。
这创造了多种可能性:
- 通过与附近的生物互换位置来逃离危险局面。
- 在战斗中瞬间重新调整自身站位。
- 将自己放置到敌人原本站立的位置。
- 利用环境和周围实体占据优势。
该能力包含冷却时间和防摔保护,以防止互换后立刻造成不必要的摔落伤害。
核心机制:不是将自己移动到目标处,而是与其交换位置。
- 传送门 A — 快捷键槽位 2
传送门 A 是数据包传送门系统的第一部分。
当手持第二个快捷栏物品并蹲下时,玩家可以瞄准并将第一个传送门放置在由传送门射线检测到达的有效位置。
这确立了空间连接的其中一个端点。它可以作为传送门系统的实体牵引和发射机制的起点。
传送门 A 通过数据包的自定义传送门效果进行视觉呈现,使用标记实体、粒子效果和辅助功能来跟踪和管理其位置。
- 传送门 B — 快捷键槽位 3
传送门 B 确立传送门系统的第二个端点。
在建立传送门 A 后,玩家可以手持第三个快捷栏物品并蹲下来放置传送门 B。
这两个传送门共同在分离的地点之间建立连接。数据包利用此连接作为在两个端点之间移动实体的基础。
该系统还包括传送门清理、链接传送门管理以及视觉效果,使这种连接感觉像是一个超自然的门户,而非普通的传送命令。
真空吸力与内爆效应 — 快捷键槽位 4
第四个快捷栏槽位赋予了传送门系统另一种用途:通过连接操控实体。
当传送门系统处于激活状态时,在槽位 4 按下蹲键(且玩家未向上看)即可激活其网关真空/内爆效果。
该效果包括:
- 重复出现的紫色网关光束效果。
- 在传送门端点处旋转的漩涡效果。
- 检测并标记靠近传送门 A 的符合条件实体。
- 将标记的实体拉向传送门 A。
- 将到达传送门 B 的实体发射出去。
这使得两个传送门不仅仅是成对的链接地点:它们变成了一个系统将实体吸入一点并从另一点释放的系统。
第四个槽位还具备清除传送门的功能。通过向上看并在槽位 4 蹲下,玩家可以清除传送门对。
核心机制:传送门可用于操控实体的移动,而不仅仅是连接地点。
- 虚空球体 — 快捷键槽位 5
虚空球体创造了一个可控的超自然球体,它穿越世界并与实体互动。
当玩家手持第五个快捷栏物品并蹲下时,如果尚不存在球体,数据包将创建它。球体通过标记实体和辅助功能进行表示和控制。
当玩家停止蹲下时,自由的球体会沿着玩家注视的方向飞行。
捕获目标
当球体检测到有效实体时,它会从自由移动状态变为捕获或锁定状态。目标被标记,球体进入其保持行为。
随后,球体可以维持捕获状态并在稍后释放目标。其返回行为也允许它滑翔回玩家上方维持的一个标记处。
该能力包含独立的飞行、碰撞检测、捕获、保持、释放、返回和清理系统。
切换离开第五个快捷栏槽位会停止球体能力并清理其活跃状态。
核心机制:球体是一种可控的实体交互能力,而不仅仅是一个击中即造成伤害的投射物。
- 虚空传送与空间扭曲 — 快捷键槽位 6
虚空传送允许玩家通过瞄准目的地快速穿越空间。
当选中第六个快捷栏物品并蹲下时,玩家会激活射线检测,沿其注视方向以小步长前进。
射线检测可以穿过可替换方块,包括水和熔岩,直到遇到不可替换的方块或达到最大射程。
最大射线检测距离为 150 格。当找到有效的目的地时,传送系统会使用其目的地处理函数及相关视觉效果将玩家移动至该处。
视觉效果
在使用该能力期间及射线检测路径上,会在玩家周围出现反向传送门粒子效果,给人一种玩家正在扭曲当前位置与目的地之间空间的印象。
该能力还具有 1 秒的激活冷却时间。
用于机动性的空间扭曲
选中第六个快捷栏槽位会激活额外的移动效果:
- 跳跃强度:设置为 1。
- 重力:设置为 0.00307。
- 安全坠落距离:设置为 999999。
这些变化极大地改变了玩家的移动方式。跳跃变得非常强力,重力变得极其微弱,玩家获得了巨大的安全坠落距离。
当玩家切换离开第六个槽位时,数据包会将这些属性重置为默认的基础值。
这种组合使得第六个槽位不仅仅是一个传送能力。它变成了一种空间移动模式,允许玩家以一种不寻常、近乎无视重力的方式在世界中移动。
核心机制:传送与改变后的移动相结合,让玩家感觉不再受普通空间和重力的束缚。
- 口袋维度 — 第 7 槽位
Pocket Dimension 是数据包中最复杂的 spatial ability(空间能力)。它在末地内创建了一个独立房间的入口,允许玩家进入一个特殊构建的空间,并从进入时的维度和坐标返回。
创建传送门
在选中第七个快捷栏槽位的同时按住蹲下键,玩家向面朝方向发射一个细长的末地传送门方块显示实体。
该显示实体穿越世界,并在其后方留下反向传送门粒子。当它撞到墙壁时,它会停止并扩展成一个更大的直立传送门,周围环绕着传送门粒子。
使用显示实体是为了在不依赖普通末地传送门方块作为可见传送门的情况下,营造出传送门的视觉效果。
进入口袋维度
当玩家在口袋外部创建并进入入口传送门时,数据包会将他们传输到末地的一个专用房间。
该房间由保存的结构构建而成,占据末地偏远的大型区域,远离常规游戏区域。其墙壁、地板和天花板具有类似末地传送门的外观,并带有屏障衬里。
房间尺寸约为长 30 格、高 15 格、宽 30 格。
数据包还管理房间的设置和区块加载,以确保远程结构和活动传送门能够按预期继续运行。
返回原始位置
在口袋维度内部,玩家可以发射另一个传送门以创建返回传送门。
数据包会记录进入者的原始坐标和维度。返回系统区分主世界、下界和末地,允许玩家返回相应的维度,而不是仅仅在错误的维度中使用保存的坐标。
这意味着从下界进入的玩家应返回到下界,而从末地进入的玩家应返回到末地。
房间内的效果
当拥有者身处其中时,口袋维度还具有特殊效果:
- 拥有者获得速度(Speed)和力量(Strength)效果。
- 房间内其他符合条件的实体被 immobilized(固定/无法移动)并反复受到伤害。
- 被数据包实体类型过滤器排除的非生命实体类型会被单独处理。
- 房间内的实体由专用的 tick 函数处理,而房间和传送门系统则维护各自的状态。
因此,这个房间不仅仅是传送的目标地点。它是一个拥有自身机制的控制环境。
清理与性能管理
Pocket Dimension 包含用于清理活动传送门及其相关状态的专用函数。数据包还会追踪活动的传送门显示实体,并在显示实体穿越时管理区块加载。
当玩家切换离开第七个快捷栏槽位时,活动的 Pocket Dimension 传送门会根据该能力的清理逻辑进行清理。
核心机制:玩家可以创建一个通往独立空间的传送门,将该空间用作受控环境,并返回到正确的原始维度和位置。
数据包的整体工作原理
Void Control 结合了多个系统以实现这些能力的功能:
- 射线检测(Raycasting)检测玩家视线方向上的目标、表面和目的地。
- 记分板(Scoreboards)跟踪冷却时间、状态、坐标、计时器和能力模式。
- 实体标签(Entity tags)识别临时目标、传送门显示实体、球体状态以及其他参与各机制的实体。
- 显示实体(Display entities)创建自定义传送门视觉效果。
- 粒子与声音传达激活、移动、传送和空间效果。
- 传送与实体移动实现位置交换、传送门运输、球体运动和远程旅行。
- Tick 函数使能力保持响应性并维持其持续行为。
- 清理函数在需要时移除临时实体并重置能力状态。
这些能力设计为一个数据包的各个部分,但每个能力都有自己的函数和内部状态。这使得复杂的机制能够在不需要玩家在世界中建造命令方块装置的情况下运行。
Void Control 的身份
Void Control 是一个围绕“空间是可以被玩家改变、连接、扭曲和控制的事物”这一理念构建的空间操控数据包。
Position Swap 改变了谁占据某个位置。传送门系统连接遥远的点并操控实体移动。Void Sphere 捕获并运输目标。Void Teleport 允许远程旅行,同时改变重力和跳跃能力。Pocket Dimension 创建了对一个拥有独立规则和记住玩家原始维度返回系统的独立房间的访问权限。
这些能力共同创造了一种独特的超自然玩法风格,基于控制位置、操控移动、开启传送门以及弯曲 Minecraft 世界的规则。
Void Control 不仅仅是一组赋予强大效果的指令集合。它是一个围绕统一主题构建的自定义能力系统,各项机制相互协同,共同构成一个更宏大的体验。
注意:仅适用于单人游戏模式。在尚未创建第二个传送门之前,切勿进入任意单个传送门。
VOID CONTROL
A Minecraft Java Edition Spatial Manipulation Datapack
Void Control is a custom Minecraft Java Edition datapack built around the manipulation of space, portals, teleportation, and the void. It transforms the player into a powerful spatial manipulator, capable of exchanging positions with other entities, connecting locations through portals, capturing entities inside a moving sphere, teleporting across enormous distances, and opening a gateway into a separate pocket dimension.
Rather than relying on ordinary weapons or simple status effects, Void Control introduces custom mechanics built with Minecraft's command system, raycasting, entity movement, display entities, particles, scoreboards, and teleportation.
The result is a collection of interconnected supernatural abilities designed to make the player feel as though the laws of space itself are under their control.
- Position Swap — Slot 1
Position Swap allows the player to exchange places with another entity.
By crouching while holding the first hotbar slot, the player activates a raycast that searches in the direction they are looking. When a valid target is found, the player's position and the target's position are exchanged.
This creates several possibilities:
- Escape from a dangerous situation by swapping with a nearby mob.
- Instantly reposition yourself during combat.
- Place yourself where an enemy was standing.
- Use the environment and surrounding entities to your advantage.
The ability includes a cooldown and fall-damage protection to help prevent the swap from immediately causing unwanted fall damage.
The defining mechanic: Instead of moving yourself to a target, you exchange locations with it.
- Portal A — Slot 2
Portal A is the first half of the datapack's portal system.
By crouching while holding the second hotbar slot, the player aims and places the first portal at a valid location reached by the portal's raycast.
This establishes one endpoint for the spatial connection. It can serve as the starting point for the portal system's entity-pulling and launching mechanics.
Portal A is visually represented through the datapack's custom portal effects, using markers, particles, and supporting functions to track and manage its position.
- Portal B — Slot 3
Portal B establishes the second endpoint of the portal system.
After Portal A has been established, the player can crouch while holding the third hotbar slot to place Portal B.
Together, the two portals create a connection between separate locations. The datapack uses this connection as the basis for moving entities between the endpoints.
The system also includes portal cleanup, linked portal management, and visual effects that make the connection feel like a supernatural gateway rather than an ordinary teleport command.
Portal Vacuum and Implosion — Slot 4
The fourth hotbar slot gives the portal system another use: manipulating entities through the connection.
When the portal system is active, crouching in slot 4 activates its gateway vacuum/implosion effect, provided the player is not looking upward.
The effect includes:
- A repeating purple gateway-beam effect.
- Rotating vortex effects at the portal endpoints.
- Detection and marking of eligible entities near Portal A.
- Pulling marked entities toward Portal A.
- Launching entities that reach Portal B.
This turns the two portals into more than a pair of linked locations: they become a system for drawing entities into one point and releasing them from another.
The fourth slot also has a portal-clearing function. By looking upward and crouching in slot 4, the player can clear the portal pair.
The defining mechanic: The portals can be used to manipulate the movement of entities, not just connect locations.
- Void Sphere — Slot 5
Void Sphere creates a controllable supernatural sphere that travels through the world and interacts with entities.
When the player crouches while holding the fifth hotbar slot, the datapack creates the sphere if one does not already exist. The sphere is represented and controlled through marker entities and supporting functions.
When the player stops crouching, the free sphere travels in the direction the player is looking.
Capturing a target
When the sphere detects a valid entity, it changes from its free-moving state to a captured or locked state. The target is marked, and the sphere enters its holding behaviour.
The sphere can then maintain the captured state and later release the target. Its return behaviour also allows it to glide back toward a marker maintained above the player.
The ability includes separate systems for flight, collision detection, capture, holding, release, return, and cleanup.
Switching away from the fifth hotbar slot stops the sphere ability and cleans up its active state.
The defining mechanic: The sphere is a controllable entity-interaction ability, not simply a projectile that damages whatever it hits.
- Void Teleport and Spatial Distortion — Slot 6
Void Teleport lets the player travel rapidly through space by aiming at a destination.
While crouching with the sixth hotbar slot selected, the player activates a raycast that advances in small steps in the direction they are looking.
The raycast can pass through replaceable blocks, including water and lava, until it reaches a non-replaceable block or the maximum range.
The maximum raycast distance is 150 blocks. When a valid destination is found, the teleportation system moves the player there using its destination-handling function and associated visual effects.
Visual effects
Reverse-portal particles appear around the player while the ability is being used and along the raycast path, giving the impression that the player is distorting the space between their current position and their destination.
The ability also has a one-second activation cooldown.
Spatial distortion for mobility
Selecting the sixth hotbar slot activates an additional movement effect:
- Jump strength: Set to 1.
- Gravity: Set to 0.00307.
- Safe fall distance: Set to 999999.
These changes dramatically alter the player's movement. Jumping becomes much stronger, gravity becomes extremely weak, and the player gains an enormous safe-fall distance.
When the player switches away from the sixth slot, the datapack resets these attributes to their default base values.
The combination makes the sixth slot more than a teleportation ability. It becomes a spatial-mobility mode, allowing the player to move through the world in an unusual, almost gravity-defying way.
The defining mechanic: Teleportation and altered movement work together to make the player feel less constrained by ordinary space and gravity.
- Pocket Dimension — Slot 7
Pocket Dimension is the datapack's most elaborate spatial ability. It creates access to a separate room inside the End, allowing the player to enter a specially constructed space and return to the dimension and coordinates from which they entered.
Creating a gateway
While crouching with the seventh hotbar slot selected, the player shoots a thin End Gateway block display in the direction they are facing.
The display travels through the world and leaves reverse-portal particles behind it. When it hits a wall, it stops and expands into a larger, upright gateway with portal particles surrounding it.
The display entity is used to create the appearance of a gateway without requiring an ordinary End Gateway block to serve as the visible portal.
Entering the Pocket Dimension
When the player creates and enters an entrance portal outside the pocket, the datapack transports them to a dedicated room in the End.
The room is built from a saved structure and occupies a large, remote region of the End, away from ordinary gameplay areas. Its walls, floor, and ceiling use an End Gateway-like appearance with a barrier lining.
The room is approximately 30 blocks long, 15 blocks high, and 30 blocks wide.
The datapack also manages the room's setup and chunk loading so that the remote structure and active gateways can continue functioning as intended.
Returning to the original location
Inside the Pocket Dimension, the player can shoot another gateway to create a return portal.
The datapack records the entrant's original coordinates and dimension. The return system distinguishes between the Overworld, Nether, and End, allowing the player to return to the appropriate dimension instead of merely using the saved coordinates in the wrong one.
This means that a player who enters from the Nether should return to the Nether, and a player who enters from the End should return to the End.
Effects inside the room
The Pocket Dimension also has special effects while the owner is inside:
- The owner receives Speed and Strength effects.
- Other eligible entities inside the room are immobilized and damaged repeatedly.
- Non-living entity types excluded by the datapack's entity-type filters are treated separately.
- Entities inside the room are handled by dedicated tick functions, while the room and portal systems maintain their own state.
The room is therefore not simply a destination for teleportation. It is a controlled environment with its own mechanics.
Cleanup and performance management
Pocket Dimension includes dedicated cleanup functions for active portals and their associated state. The datapack also tracks active portal displays and manages chunk loading as the displays travel.
When the player leaves the seventh hotbar slot, the active Pocket Dimension portals are cleaned up according to the ability's cleanup logic.
The defining mechanic: The player can create a gateway into a separate space, use that space as a controlled environment, and return to the correct original dimension and location.
How the datapack works as a whole
Void Control combines several systems to make these abilities function:
- Raycasting detects targets, surfaces, and destinations in the direction the player is looking.
- Scoreboards track cooldowns, states, coordinates, timers, and ability modes.
- Entity tags identify temporary targets, portal displays, sphere states, and other entities involved in each mechanic.
- Display entities create custom gateway visuals.
- Particles and sounds communicate activation, movement, teleportation, and spatial effects.
- Teleportation and entity movement implement position swapping, portal transport, sphere movement, and long-range travel.
- Tick functions keep the abilities responsive and maintain their ongoing behaviour.
- Cleanup functions remove temporary entities and reset ability states when required.
The abilities are designed as parts of one datapack, but each has its own functions and internal state. This allows complex mechanics to run without requiring the player to build command-block contraptions in the world.
The identity of Void Control
Void Control is a spatial-manipulation datapack built around the idea that space is something the player can alter, connect, distort, and control.
Position Swap changes who occupies a location. The portal system connects distant points and manipulates entity movement. Void Sphere captures and transports targets. Void Teleport allows long-range travel while altering gravity and jumping. Pocket Dimension creates access to a separate room with its own rules and a return system that remembers the player's original dimension.
Together, these abilities create a distinct supernatural playstyle based on controlling positions, manipulating movement, opening gateways, and bending the rules of the Minecraft world.
Void Control is not merely a collection of commands that grant powerful effects. It is a custom ability system built around a consistent theme, with individual mechanics designed to work together into one larger experience.
NOTE- USE THIS ONLY IN SINGLE PLAYER, DO NOT ENTER ONLY A SINGLE PORTAL WHEN YOU'VE NOT CREATED THE SECOND
评论 0
登录后参与评分
还没有评论,来抢沙发吧