[{"data":1,"prerenderedAt":305},["ShallowReactive",2],{"docs-nav":3,"auth-session":16,"docs-page:\u002Fdocs\u002Fdivinemc\u002Ffeatures\u002Fportal-search-prefetch":197,"docs-surr:\u002Fdocs\u002Fdivinemc\u002Ffeatures\u002Fportal-search-prefetch":302},[4],{"title":5,"path":6,"stem":7,"children":8,"page":32},"Docs","\u002Fdocs","docs",[9,104,147],{"title":10,"path":11,"stem":12,"children":13,"icon":15,"badge":16},"About DivineMC","\u002Fdocs\u002Fdivinemc","docs\u002Fdivinemc\u002Findex",[14,17,33,64,74,89],{"title":10,"path":11,"stem":12,"icon":15,"badge":16},"MessageCircleQuestion",null,{"title":18,"path":19,"stem":20,"children":21,"page":32},"Getting Started","\u002Fdocs\u002Fdivinemc\u002Fgetting-started","docs\u002Fdivinemc\u002F01.getting-started",[22,27],{"title":23,"path":24,"stem":25,"icon":26,"badge":16},"Installation","\u002Fdocs\u002Fdivinemc\u002Fgetting-started\u002Finstallation","docs\u002Fdivinemc\u002F01.getting-started\u002Finstallation","Download",{"title":28,"path":29,"stem":30,"icon":31,"badge":16},"Adding Plugins","\u002Fdocs\u002Fdivinemc\u002Fgetting-started\u002Fplugins","docs\u002Fdivinemc\u002F01.getting-started\u002Fplugins","Blocks",false,{"title":34,"path":35,"stem":36,"children":37,"page":32},"Features","\u002Fdocs\u002Fdivinemc\u002Ffeatures","docs\u002Fdivinemc\u002F02.features",[38,43,49,54,59],{"title":39,"path":40,"stem":41,"icon":42,"badge":16},"Lag Compensation","\u002Fdocs\u002Fdivinemc\u002Ffeatures\u002Flag-compensation","docs\u002Fdivinemc\u002F02.features\u002Flag-compensation","Timer",{"title":44,"path":45,"stem":46,"icon":47,"badge":48},"Parallel Sensor Phase","\u002Fdocs\u002Fdivinemc\u002Ffeatures\u002Fparallel-sensor-phase","docs\u002Fdivinemc\u002F02.features\u002Fparallel-sensor-phase","Radar","Experimental",{"title":50,"path":51,"stem":52,"icon":53,"badge":16},"Parallel World Ticking","\u002Fdocs\u002Fdivinemc\u002Ffeatures\u002Fparallel-world-ticking","docs\u002Fdivinemc\u002F02.features\u002Fparallel-world-ticking","Repeat",{"title":55,"path":56,"stem":57,"icon":58,"badge":16},"Portal Search Prefetch","\u002Fdocs\u002Fdivinemc\u002Ffeatures\u002Fportal-search-prefetch","docs\u002Fdivinemc\u002F02.features\u002Fportal-search-prefetch","Torus",{"title":60,"path":61,"stem":62,"icon":63,"badge":16},"Regionized Chunk Ticking","\u002Fdocs\u002Fdivinemc\u002Ffeatures\u002Fregionized-chunk-ticking","docs\u002Fdivinemc\u002F02.features\u002Fregionized-chunk-ticking","Table",{"title":65,"path":66,"stem":67,"children":68,"page":32},"Guides","\u002Fdocs\u002Fdivinemc\u002Fguides","docs\u002Fdivinemc\u002F03.guides",[69],{"title":70,"path":71,"stem":72,"icon":73,"badge":16},"Setting up Sentry","\u002Fdocs\u002Fdivinemc\u002Fguides\u002Fsetting-up-sentry","docs\u002Fdivinemc\u002F03.guides\u002Fsetting-up-sentry","MonitorCog",{"title":75,"path":76,"stem":77,"children":78,"page":32},"Reference","\u002Fdocs\u002Fdivinemc\u002Freference","docs\u002Fdivinemc\u002F04.reference",[79,84],{"title":80,"path":81,"stem":82,"icon":83,"badge":16},"Configuration","\u002Fdocs\u002Fdivinemc\u002Freference\u002Fconfiguration","docs\u002Fdivinemc\u002F04.reference\u002Fconfiguration","Keyboard",{"title":85,"path":86,"stem":87,"icon":88,"badge":16},"System Properties","\u002Fdocs\u002Fdivinemc\u002Freference\u002Fsystem-properties","docs\u002Fdivinemc\u002F04.reference\u002Fsystem-properties","FolderDot",{"title":90,"path":91,"stem":92,"children":93,"page":32},"Development","\u002Fdocs\u002Fdivinemc\u002Fdevelopment","docs\u002Fdivinemc\u002F05.development",[94,99],{"title":95,"path":96,"stem":97,"icon":98,"badge":16},"Contributing to DivineMC","\u002Fdocs\u002Fdivinemc\u002Fdevelopment\u002Fcontributing","docs\u002Fdivinemc\u002F05.development\u002Fcontributing","GitPullRequest",{"title":100,"path":101,"stem":102,"icon":103,"badge":16},"Using DivineMC API","\u002Fdocs\u002Fdivinemc\u002Fdevelopment\u002Fusing-api","docs\u002Fdivinemc\u002F05.development\u002Fusing-api","Wrench",{"title":105,"path":106,"stem":107,"children":108,"icon":15,"badge":16},"About NDailyRewards","\u002Fdocs\u002Fndailyrewards","docs\u002Fndailyrewards\u002Findex",[109,110,123,133],{"title":105,"path":106,"stem":107,"icon":15,"badge":16},{"title":80,"path":111,"stem":112,"children":113,"page":32},"\u002Fdocs\u002Fndailyrewards\u002Fconfiguration","docs\u002Fndailyrewards\u002F01.configuration",[114,118],{"title":80,"path":115,"stem":116,"icon":117,"badge":16},"\u002Fdocs\u002Fndailyrewards\u002Fconfiguration\u002Fconfig","docs\u002Fndailyrewards\u002F01.configuration\u002Fconfig","Files",{"title":119,"path":120,"stem":121,"icon":122,"badge":16},"Placeholders","\u002Fdocs\u002Fndailyrewards\u002Fconfiguration\u002Fplaceholders","docs\u002Fndailyrewards\u002F01.configuration\u002Fplaceholders","Replace",{"title":124,"path":125,"stem":126,"children":127,"page":32},"Usage","\u002Fdocs\u002Fndailyrewards\u002Fusage","docs\u002Fndailyrewards\u002F02.usage",[128],{"title":129,"path":130,"stem":131,"icon":132,"badge":16},"Commands","\u002Fdocs\u002Fndailyrewards\u002Fusage\u002Fcommands","docs\u002Fndailyrewards\u002F02.usage\u002Fcommands","SquareTerminal",{"title":90,"path":134,"stem":135,"children":136,"page":32},"\u002Fdocs\u002Fndailyrewards\u002Fdevelopment","docs\u002Fndailyrewards\u002F03.development",[137,142],{"title":138,"path":139,"stem":140,"icon":141,"badge":16},"Dependencies","\u002Fdocs\u002Fndailyrewards\u002Fdevelopment\u002Fdependencies","docs\u002Fndailyrewards\u002F03.development\u002Fdependencies","Hammer",{"title":143,"path":144,"stem":145,"icon":146,"badge":16},"Events","\u002Fdocs\u002Fndailyrewards\u002Fdevelopment\u002Fevents","docs\u002Fndailyrewards\u002F03.development\u002Fevents","CalendarClock",{"title":148,"path":149,"stem":150,"children":151,"icon":153,"badge":16},"What is Quark?","\u002Fdocs\u002Fquark","docs\u002Fquark\u002Findex",[152,154,172],{"title":148,"path":149,"stem":150,"icon":153,"badge":16},"Presentation",{"title":18,"path":155,"stem":156,"children":157,"page":32},"\u002Fdocs\u002Fquark\u002Fgetting-started","docs\u002Fquark\u002F01.getting-started",[158,163,167],{"title":159,"path":160,"stem":161,"icon":162,"badge":16},"Supported Platforms","\u002Fdocs\u002Fquark\u002Fgetting-started\u002Fsupported-platforms","docs\u002Fquark\u002F01.getting-started\u002F01.supported-platforms","Computer",{"title":164,"path":165,"stem":166,"icon":83,"badge":16},"Installing Quark","\u002Fdocs\u002Fquark\u002Fgetting-started\u002Finstallation","docs\u002Fquark\u002F01.getting-started\u002F02.installation",{"title":168,"path":169,"stem":170,"icon":171,"badge":16},"Examples","\u002Fdocs\u002Fquark\u002Fgetting-started\u002Fexamples","docs\u002Fquark\u002F01.getting-started\u002F03.examples","Clipboard",{"title":173,"path":174,"stem":175,"children":176,"page":32},"Advanced Usage","\u002Fdocs\u002Fquark\u002Fadvanced-usage","docs\u002Fquark\u002F02.advanced-usage",[177,182,187,192],{"title":178,"path":179,"stem":180,"icon":181,"badge":16},"Dependency Management","\u002Fdocs\u002Fquark\u002Fadvanced-usage\u002Fdependency-management","docs\u002Fquark\u002F02.advanced-usage\u002Fdependency-management","Package",{"title":183,"path":184,"stem":185,"icon":186,"badge":16},"Isolated Class Loaders","\u002Fdocs\u002Fquark\u002Fadvanced-usage\u002Fisolated-classloaders","docs\u002Fquark\u002F02.advanced-usage\u002Fisolated-classloaders","Shield",{"title":188,"path":189,"stem":190,"icon":191,"badge":16},"Package Relocation","\u002Fdocs\u002Fquark\u002Fadvanced-usage\u002Fpackage-relocation","docs\u002Fquark\u002F02.advanced-usage\u002Fpackage-relocation","GitBranch",{"title":193,"path":194,"stem":195,"icon":196,"badge":16},"Repository Configuration","\u002Fdocs\u002Fquark\u002Fadvanced-usage\u002Frepository-configuration","docs\u002Fquark\u002F02.advanced-usage\u002Frepository-configuration","Database",{"id":198,"title":55,"badge":16,"body":199,"description":296,"extension":297,"icon":58,"meta":298,"navigation":299,"path":56,"seo":300,"stem":57,"__hash__":301},"docs\u002Fdocs\u002Fdivinemc\u002F02.features\u002Fportal-search-prefetch.md",{"type":200,"value":201,"toc":292},"minimark",[202,207,211,219,227,230,273,288],[203,204,206],"h2",{"id":205},"about-portal-search-prefetch","About Portal Search Prefetch",[208,209,210],"p",{},"When an entity travels through a nether portal, the server has to find (or decide to create) the exit portal on the other side. That search is a POI scan with a radius of up to 128 blocks in the target dimension, and it synchronously loads chunk and POI data from disk — a visible tick spike at the moment of teleportation.",[208,212,213,214,218],{},"The destination, however, is already known the moment the entity ",[215,216,217],"em",{},"steps into"," the portal, and players wait out the portal transition time (80 ticks by default) before the teleport actually happens. DivineMC uses that window: as soon as an entity starts standing in a nether portal, the chunks of the exit search area in the target dimension are scheduled for asynchronous loading (read-only — no chunk generation is triggered). By the time the real portal search runs, the chunk and POI data is already in memory and the scan is fast.",[208,220,221,222,226],{},"This does not change gameplay in any way — the destination search itself still runs on the regular teleport path with all its events (",[223,224,225],"code",{},"EntityPortalReadyEvent",", Bukkit portal events), and produces exactly the same result. Instant teleports (e.g. creative players with no portal delay) skip the prefetch since there is no waiting window to use.",[203,228,80],{"id":229},"configuration",[231,232,237],"pre",{"className":233,"code":234,"language":235,"meta":236,"style":236},"language-yaml shiki shiki-themes github-dark","async:\n  portal-search-prefetch:\n    enable: true\n","yaml","",[223,238,239,252,260],{"__ignoreMap":236},[240,241,244,248],"span",{"class":242,"line":243},"line",1,[240,245,247],{"class":246},"s4JwU","async",[240,249,251],{"class":250},"s95oV",":\n",[240,253,255,258],{"class":242,"line":254},2,[240,256,257],{"class":246},"  portal-search-prefetch",[240,259,251],{"class":250},[240,261,263,266,269],{"class":242,"line":262},3,[240,264,265],{"class":246},"    enable",[240,267,268],{"class":250},": ",[240,270,272],{"class":271},"sDLfK","true\n",[274,275,277],"callout",{"type":276},"info",[208,278,279,280,283,284,287],{},"This feature pairs well with ",[223,281,282],{},"misc.lag-compensation.portal-acceleration"," (see ",[285,286,39],"a",{"href":40},"): acceleration shortens the wait inside the portal on a lagging server, while the prefetch makes sure the teleport itself does not spike the tick.",[289,290,291],"style",{},"html pre.shiki code .s4JwU, html code.shiki .s4JwU{--shiki-default:#85E89D}html pre.shiki code .s95oV, html code.shiki .s95oV{--shiki-default:#E1E4E8}html pre.shiki code .sDLfK, html code.shiki .sDLfK{--shiki-default:#79B8FF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":236,"searchDepth":254,"depth":254,"links":293},[294,295],{"id":205,"depth":254,"text":206},{"id":229,"depth":254,"text":80},"Eliminating the teleport lag spike by pre-loading the exit portal search area.","md",{},true,{"title":55,"description":296},"6hpatX5YNK8iIQv6POwCFPdAYwGP1jJcX3SbpYrZK_g",[303,304],{"title":50,"path":51,"stem":52,"children":-1},{"title":60,"path":61,"stem":62,"children":-1},1783566611864]