4DMC
大家好!
我一直在开发一款可以在《Minecraft》中模拟四维空间的模组。当我提到“4D”时,指的是 4 个空间维度 + 1 个时间维度,这与我们的现实世界(3 个空间维度 + 1 个时间维度)不同(请忽略那些纠结弦理论的细节)。目前它已经有一些功能了,但我计划对其进行扩展,并让它变得更整洁一些(无论是从代码层面还是实际游玩体验来说)。
什么是 4D?- 简要介绍
从 2D 到 3D 的例子:
大家可能听说过游戏 miegakure()。这是一款很棒的游戏;然而,我正在制作的模组使用了不同的机制来模拟四维空间,类似于《The Long Earth》(维基百科),但没有那种“迈步”带来的副作用。
那么,让我们想象一个二维平面生物(Flatlander)。我们叫他亚当(Adam)。这里的亚当是一个二维生物,他生活在一个二维世界中(我们就假设这个二维世界在三维空间中具有 1 的厚度吧)。可怜的亚当只知道 4 个移动方向:左和右,以及上和下(为了简单起见,即 x 轴和 y 轴方向)。注意他的“键盘”上只有 A 和 D,以及空格键和 Shift 键。
这是亚当的世界:
亚当的世界是二维的。亚当是观察者。
3-cube 示例:
现在,《Minecraft》中的史蒂夫试图让亚当体验能够移动于 3 维空间的感觉。史蒂夫拿了一大叠世界,把亚当放在这叠世界上。此外,史蒂夫赋予亚当向左或向右移动一张纸的能力。现在亚当可以向左+向右、向前+向后以及向上+向下移动(即现在的 x、y 和 z 轴)。现在看看亚当有了像我们一样的 WASD 键以及 Shift + 空格键。亚当能够体验 3D 空间,但一次只能看到一层切片。如果史蒂夫想向亚当展示一个线框立方体,他会看到这样的景象(石头方块是他当前所在切片中的方块。玻璃对他来说是不可见的,因为他只能看到世界的一层切片。顶部有一个没有玻璃的副本,那是亚当会看到的景象):
切片 1 一个正方形:
切片 2(正方形的边缘):
切片 3(看起来与切片 1 相同):
亚当一次只能看到立方体的一个切片;然而,他可以在脑海中将这些切片组合起来,并理解“嘿,那是一个立方体!!!”
史蒂夫则可以直接在 3 维空间中查看整个立方体:

从 3D 到 4D 的情况(我们的现实):
4-cube 示例:
史蒂夫正在打树,这时沃尔特(Walter)出现了。史蒂夫看到沃尔特出现,然后突然消失。沃尔特怜悯史蒂夫,只是一个三维生物。沃尔特决定帮助史蒂夫,尝试向他展示四维世界会是什么样子。为此,沃尔特将大量的《Minecraft》世界堆叠在一起,并赋予史蒂夫在世界之间移动的能力。这样,史蒂夫现在可以向左+向右、向上+向下、向前+向后,以及向上一个世界+向下一个世界移动(现在史蒂夫可以朝 8 个不同的方向移动,并且需要 WASDQE + Shift + 空格键这些按键(我个人使用 Q 和 E,但你们可以根据自己的喜好自定义绑定))。在世界之间移动的术语是:‘kata’表示向上一个世界,‘ana’表示向下一个世界。你会有一个“原点世界”(由世界出生点决定),然后 kata 上去就是 Kata 1 世界,然后是 Kata 2 世界,以此类推。接着 ana 下去就是 Ana 1 世界,然后是 Ana 2 世界。你明白我的意思了。例如:
“史蒂夫 kata 进入了 Kata 1 世界”。- 意思是史蒂夫从原点向上移动了一个世界到达 Kata 1
“史蒂夫 ana 下去是一片广阔的海洋” - 意思是史蒂夫 ana 下去的那个世界是海洋生物群系。
现在,沃尔特试图向史蒂夫展示一个 4 维立方体(通常称为超正方体 tesseract,但与漫威电影无关)。不幸的是,史蒂夫无法一次性看到整个超正方体,所以沃尔特逐个向史蒂夫展示每个切片:
切片 1(注意它看起来就像一个立方体,就像亚当观看的第一个立方体切片是一个正方形一样):
切片 2(注意它看起来像立方体的角落,就像在亚当的第二个切片中看起来像正方形的角落一样):
切片 3(尝试找出这个超正方体切片与亚当的立方体切片之间的平行关系):

史蒂夫一次只能看到超正方体的一个切片;然而,他可以在脑海中将这些切片组合起来,并理解“嘿,那是一个超正方体!!!”
沃尔特则可以直接在 4 维空间中查看整个立方体 [出于明显原因未可视化]。
移动 - 按键绑定
要在这个新的 4D 世界中移动,你必须使用 kata 和 ana 键,你需要将它们绑定到你喜欢的任何按键上。
这是我目前的设置:
Kata - Q
Ana - E
背包 - Tab
丢弃物品 - R
玩家列表 - Grave
请提供反馈
我非常希望得到大家的反馈 ^w^ 我知道这个模组现在真的很乱,但它只是一个粗略的草稿,以便让我知道需要做些什么。
4DMC
Hi guys!
So I've been working on a Minecraft mod which can simulate 4-dimensional space in Minecraft. When I say 4D, I mean 4 spatial dimensions + 1 temporal (time), as opposed to our real world, which is 3 spatial + 1 time (ignore string theory pedants). There are a few features in it right now, but I plan on expanding on it, as well as making it a bit less messy (in terms of coding and actually playing it).
4D??? - a brief introduction
2D to 3D example:
You guys may have heard of the game miegakure (). It's a lovely game; however, the mod I'm making uses a different mechanic of simulating 4D space, similar to The Long Earth(Wikipedia),w/out the bad side-effects of stepping.
So let's imagine a flatlander. Let's call him Adam. so Adam here is a 2-dimensional being, he lives in a 2D world (let's just pretend that the 2D world has 1 thickness in 3D). Poor Adam here only know of 4 directions to move in, left + right and up + down (or the x and y directions, for simplicity). note how his "keyboard" would only have A and D as well as Space and Shift.
This is Adam's world:
Adam's world is 2D. Adam is the observer.
3-cube Example:
Now, Minecraft Steve tries to give Adam the feeling of being able to move through 3 dimensions. Steve get a big stack of worlds and puts Adam on this stack of worlds. Furthermore, Steve gives Adam the ability to move left a sheet of paper or righta sheet of paper. Adam can now move left + right, forward + backward and up + down (x, y, and z now) Now see that Adam has WASD and shift + space bar, like us. Adam is able to experience 3D space, but only one slice at a time. if Steve wanted to show Adam a wireframe cube, he would see it like this (Stone blocks are the ones in his current slice. The glass is invisible to him because he can only see one slice of the world. There's a copy at the top w/out the glass, which is what Adam would see):
Slice 1 a square:
Slice 2 (the edges of a square):
Slice 3 (looks the same as slice 1):
Adam can only see one slice of the cube at a time; however, he can compile these slices together in his mind and understand "hey, that's a cube!!!"
Steve can just view the cube on its own, in 3 dimensions:

3D to 4D case (our reality):
4-cube Example:
So Steve is just punching a tree, and along comes Walter. Steve sees Walter appear, then suddenly disappear. Walter pities Steve, a mere 3-Dimensional being. Walter decides to help Steve by trying to show him what a 4-Dimensional world would be like. to do this, Walter stacks a ton of Minecraft worlds right next to each other and gives Steve the ability to move between worlds. This way, Steve can now move left + right, up + down, forward + backward as well as up a world + down a world (Now Steve can move in 8 different directions, and needs the keys WASDQE + Shift + Space (I personally use Q and E but you can keybind to wherever you want honestly)). The terminology for moving between world is 'kata' for up a world and 'ana' for down a world. You would have the world 'Origin' (decided by the world spawn) and then kata to that would be world Kata 1 then Kata 2, etc. Then ana to the world is Ana 1, then Ana 2. You get the Idea. For example:
"Steve stepped kata into the world Kata 1". - meaning that Steve moved up a world from the Origin to Kata 1
"Ana to Steve was a vast ocean" - meaning that the world Ana to Steve is an ocean biome.
Now, Walter tries to show Steve a 4-Dimensional cube (commonly called a tesseract, but not related to the Marvel one). Steve, sadly, can't see the whole tesseract at once, So Walter shows Steve each slice one by one:
Slice 1 (notice how it looks exactly like a cube, just like how the first slice of the cube Adam was viewing was a square):
Slice 2 (notice how it looks like the corners of a cube, just like how in Adam's second slice it looked like the corners of a square):
Slice 3 (Try to find the parallel between this tesseract slice and Adam's cube slice):

Steve can only see one slice of the tesseract at a time; however, he can compile these slices together in his mind and understand "hey, that's a tesseract!!!"
Walter can just view the cube on its own, in 4 dimensions [not visualized for obvious reasons].
Movement - keybinds
To move in this new 4D world, you have to use the kata and ana keys, which you have to keybind yourself to whatever fits you
This is my current setup:
Kata - Q
Ana - E
Inventory - Tab
Drop Item - R
Player list - Grave
Feedback plz
I'd love to get everyone's feedback ^w^ I know the mod is really messy right now, but it's just a bit of a rough draft to see what I need to do.
评论 0
登录后参与评分
还没有评论,来抢沙发吧