Skip to main content

Module end_gateway

Module end_gateway 

Source
Expand description

End gateway destination calculation.

EnumsΒ§

EndGatewayChunkPreparation πŸ”’
Initial chunk preparation needed before resolving an End gateway transition.
GatewayExitState πŸ”’
GatewayTeleportAnchor πŸ”’

ConstantsΒ§

EXIT_PORTAL_SEARCH_DISTANCE πŸ”’
EXIT_PORTAL_SEARCH_LIMIT πŸ”’
EXIT_PORTAL_SEARCH_STEP πŸ”’
EXIT_POSITION_SEARCH_RADIUS πŸ”’
GATEWAY_HEIGHT_ABOVE_SURFACE πŸ”’
GENERATED_ISLAND_Y πŸ”’
VALID_TELEPORT_SEARCH_RADIUS πŸ”’

FunctionsΒ§

block_bottom_center πŸ”’
calculate_transition πŸ”’
Calculates vanilla’s End gateway transition after the required chunks are available.
chunk_for_xz_vec πŸ”’
chunks_for_block_square πŸ”’
exit_search_candidate_chunks πŸ”’
final_chunks_after_search πŸ”’
Returns final chunks needed after the tentative outer-island search chunks are ready.
find_exit_portal_xz_pos_tentative πŸ”’
find_exit_position πŸ”’
find_or_create_valid_teleport_pos πŸ”’
find_teleport_anchor πŸ”’
gateway_exit_state πŸ”’
gateway_transition πŸ”’
initial_chunks πŸ”’
Returns the first chunks that must be ready before an End gateway transition can be resolved.
is_chunk_empty πŸ”’
set_gateway_exit_position πŸ”’
xz_direction πŸ”’