Skip to content

Glossary

  • Surface: the flat shape of a portal in the world, where you look and walk through. Each surface is one ipreforged:portal entity.
  • Front and back: a surface is seen and entered from its front, the side its normal points to. In the API the normal is axisU × axisV of the surface’s frame.
  • Outline or shape: the 2D form of a surface (Shape2D): a rectangle, a polygon or a union of rectangles, measured in blocks in the surface’s own plane.
  • Frame (Frame3D): in the API, the position and orientation of a surface, an origin and two axes. Not to be confused with a block frame, the ring of obsidian around a lit portal.
  • Warp: the transform that carries space from the entrance of a portal to its exit: rotation, optional reflection, uniform scale and translation.
  • Snapshot (PortalSnapshot): an immutable description of one surface at one moment. The API and every algorithm of the mod work with snapshots.
  • Group: the surfaces created together for one portal. They are created, and removed, as a whole. The group id is the id of its primary surface.
  • Primary: the surface that was described, by a command, a lit frame or the API.
  • Backface: the same surface entered from behind, in a two-sided portal.
  • Reverse: the surface at the destination that leads back, in a two-way portal.
  • Reverse backface: the reverse, entered from behind.
  • View: a render of the world through a portal, drawn from a virtual camera on the other side and shown inside the surface. A portal seen through another portal would give a nested view.
  • Main view: the ordinary render of the world from the player’s own camera.
  • Remote dimension: a dimension your client keeps in memory because you see it through a portal, besides the one you are in.
  • Seamless travel: crossing into another dimension without a loading screen. The client switches on the frame its camera passes the surface, and the server follows.
  • Gate: a portal made from a block frame, such as a lit obsidian frame. It is bound to its frame and breaks with it.
  • Gate light: the invisible block, ipreforged:portal_light, that fills the opening of a gate and gives off light level 15.
  • Engine: the core/ part of the mod, plain Java code for geometry, crossing, frame detection and planning, with no Minecraft classes.
  • Target: one combination of Minecraft version and loader the mod is built for, such as 1.21.1 on NeoForge.
  • API level: the number of the API’s backwards-compatible revision, ReforgedApi.API_VERSION.