跳到正文

Planeshift

作者:CodxIO

Planeshift is a portal library that adds portals as planes with viewing and interaction between portals and their dimensions.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Planeshift

Planeshift is a library. On its own it adds nothing you can see, no blocks, no items, no portals of its own. What it gives other mods is a way to join two dimensions with a portal plane: a surface you can look through and walk through as if the two worlds were one space.

What a portal plane does

  • You see through it. The far side is drawn live through the opening, with its own terrain, sky, lighting and entities. Not a skybox, not a still image.
  • You walk through it. No loading screen, no camera snap, no lost momentum. Walk, fall or sprint across and just keep going.
  • Things cross with you. Mobs, items and anything else that wanders in. Water and lava flow through rather than stopping at it.
  • You can reach through it. Break, place and use blocks on the far side as if they were in front of you.

A plane can be a finite rectangle, a doorway in a wall or infinite, joining two dimensions along an entire horizontal layer.

Mods built on it

  • Actual Portals — nether portals you can see through and step through, with no black screen.
  • OneDimension — dimensions stacked vertically into one continuous world, joined at their floors and ceilings.
  • The Portal Gun – adds a portal gun to Minecraft, allowing you to shoot portals like in Portal 2.

For mod developers

Register a plane; Planeshift handles the rest — drawing the far side, streaming it to the client, and carrying things across.

Planes.registerInChunks((level, chunk, out) ->
    out.accept(PlaneBoundary.between(
        Level.OVERWORLD, doorHere,  Direction.NORTH,
        Level.NETHER,    doorThere, Direction.SOUTH,
        Rotation.NONE).a()));

Planes can be supplied per chunk (for ones built out of blocks, which come and go), per dimension, or globally for surfaces that need no index at all.

Configuration

config/planeshift.json sets how many planes may be seen through at once, how far away they stay visible, and whether entities and fluids cross them.

Status

Under active development. Seeing through, crossing and interacting all work; expect rough edges, particularly around lighting and the seam where a fluid crosses.

常见问题

Planeshift 支持哪些 Minecraft 版本?

Planeshift 支持 Minecraft Java 版 26.3,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Planeshift 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

CodxIO 的其他作品

查看全部 →