Skip to main content

Module portal_shape

Module portal_shape 

Source
Expand description

Portal shape detection for validating obsidian frames.

Structs§

PortalFrameConfig
Definition of a portal shape in rectangular form, like the nether portal frame.
PortalShape
A detected portal shape with axis, position, and dimensions.

Functions§

block_pos_axis 🔒
is_empty 🔒
Matches vanilla’s PortalShape.isEmpty: any air variant, any block in the fire tag, or the portal block itself.
nether_portal_config
Returns the standard nether portal frame configuration.
vec_axis 🔒