Skip to main content

Module portal

Module portal 

Source
Expand description

World portal system for nether/end portals and future portal types.

Vanilla commonly calls loaded worlds “dimensions”. Steel uses “world” for loaded runtime worlds and reserves “dimension type” for the vanilla registry entry that defines world rules.

Modules§

end_gateway 🔒
End gateway destination calculation.
end_portal 🔒
End portal destination calculation.
nether_portal 🔒
Nether portal destination calculation.
portal_shape
Portal shape detection for validating obsidian frames.

Structs§

PortalProcessor
Per-entity portal timer state.
TeleportPostTransition
Vanilla post-teleport side effects, composed in transition order.
TeleportTransition
Describes a teleport transition to another loaded world.

Enums§

PortalKind
Vanilla portal behavior kind tracked by an entity while it is inside a portal.
PortalProcessResult
Result of advancing an entity’s active portal process for one server tick.
PortalTicketTarget
Position used for vanilla portal ticket placement.
TeleportPostAction
A single post-teleport side effect.
WorldChangeRequest
A queued request to move an entity between loaded worlds.

Functions§

clamp_pitch 🔒
clamped_portal_transition_time 🔒
nether_portal_transition_rule 🔒
nether_portal_transition_time 🔒
portal_transition_game_rule 🔒
resolve_position 🔒
resolve_rotation 🔒
resolve_velocity 🔒
rotate_x 🔒
rotate_y 🔒