Expand description
End gateway destination calculation.
EnumsΒ§
- EndGateway
Chunk πPreparation - Initial chunk preparation needed before resolving an End gateway transition.
- Gateway
Exit πState - Gateway
Teleport πAnchor
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 π