SlideShare ist ein Scribd-Unternehmen logo
1 von 7
How Portals Work Eric Haines http://vokselia.com 5/30/2011
Overworldvs.Nether Coordinates Use F3 to find your coordinates. X is north/south (south is positive), Z is east/west (west is positive). Overworld to Nether:    Nether X = OverworldX / 8    Nether Y = OverworldY     (no change)    Nether Z = OverworldZ / 8 So (386,116,-837) in the Overworld converts to (48.25,116,-104.625) Nether Nether to Overworld: Overworld X = Nether X * 8 Overworld Y = Nether Y     (no change) Overworld Z = Nether Z * 8 So (46,95,-117) in the Nether converts to (368,95,-936) in the Overworld
Overworld Portal to Nether Convert the player’s location from Overworld to Nether coordinates. From the Nether X and Z (north/south, east/west) location, look in the Nether for 128 blocks north, south, east, and west. Find the closest Nether portal to the player’s location. Distance is measured in 3 dimensions. Steve pops into the Nether. The program searches for the closest portal in a box that’s 257x257 wide and 128 high (the world’s height) in the Nether. 128 high -128 +128
If no portal is inside this volume… Then a new portal is spawned close by, in an area large enough to hold it. Instead of spawning a portal at Steve’s location in solid rock, it is placed in a cave.
Overworld to Nether Range Searching from the Overworld into the Nether searches 128 meters in each direction in the Nether. This distance is the same as 1024 meters in the Overworld. A single portal in the Nether will be connected, one way, from any Overworld portal within the 1024 meters box around it. So, a box of size 2048x2048 (approx.) in the Overworld can connect to one Nether portal. 1024m 1024m 128m 128m
Nether Portal to Overworld Uses the same sort of process: find the player’s Nether location in the Overworld and then find the closest portal within a box 128 meters (blocks) north, south, east, and west of that location, in the Overworld. Note the key difference: 128 meters in the Overworld is just 16 meters in the Nether. So a Nether portal searches a much smaller box, 256x256 Overworld-equivalent vs. 2048x2048 Overworld-equivalent. Nether portals search a much smaller overall equivalent space! 128m 128m The left Overworld portal is in range, the right is not. 16m 16m
Conclusions To make an unbreakable two-way link between Overworld and Nether portals, build them at the exactly the same locations in each world. Going from an Overworld portal to a Nether portal can go a long distance and is very common, since the search range is huge in Overworld term. But, it’s often a one-way trip, since the Nether portal searches a relatively small range when looking in the Overworld for a nearby portal. This small search range also means that, if you build a portal in the Nether, it is pretty easy to (accidentally or on purpose) spawn a new portal in the Overworld. If your Nether portal’s Overworld location is more than 128 meters away, in a cardinal direction (north/south or east/west), from any Overworld portal, a new Overworld portal will be created.

Weitere ähnliche Inhalte

Andere mochten auch

Andere mochten auch (13)

Web portals & vortals
Web portals & vortalsWeb portals & vortals
Web portals & vortals
 
Knowledge portal
Knowledge portalKnowledge portal
Knowledge portal
 
Portal
PortalPortal
Portal
 
Portals
PortalsPortals
Portals
 
Atelier r-gerad
Atelier r-geradAtelier r-gerad
Atelier r-gerad
 
Types of web portals
Types of web portalsTypes of web portals
Types of web portals
 
Moved to https://slidr.io/azzazzel/what-is-a-portal
Moved to https://slidr.io/azzazzel/what-is-a-portalMoved to https://slidr.io/azzazzel/what-is-a-portal
Moved to https://slidr.io/azzazzel/what-is-a-portal
 
Cours econometrie-uqam-st-2-v2
Cours econometrie-uqam-st-2-v2Cours econometrie-uqam-st-2-v2
Cours econometrie-uqam-st-2-v2
 
Le Numérique Pilier d'innovation sociétale et économique ? - Antoine CHOTARD ...
Le Numérique Pilier d'innovation sociétale et économique ? - Antoine CHOTARD ...Le Numérique Pilier d'innovation sociétale et économique ? - Antoine CHOTARD ...
Le Numérique Pilier d'innovation sociétale et économique ? - Antoine CHOTARD ...
 
Xml
XmlXml
Xml
 
Job portal system doc
Job portal system   docJob portal system   doc
Job portal system doc
 
Produtos AG
Produtos AGProdutos AG
Produtos AG
 
Webinar Lean Startup
Webinar Lean StartupWebinar Lean Startup
Webinar Lean Startup
 

Kürzlich hochgeladen

DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 

Kürzlich hochgeladen (20)

DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 

How Portals Work in Minecraft

  • 1. How Portals Work Eric Haines http://vokselia.com 5/30/2011
  • 2. Overworldvs.Nether Coordinates Use F3 to find your coordinates. X is north/south (south is positive), Z is east/west (west is positive). Overworld to Nether: Nether X = OverworldX / 8 Nether Y = OverworldY (no change) Nether Z = OverworldZ / 8 So (386,116,-837) in the Overworld converts to (48.25,116,-104.625) Nether Nether to Overworld: Overworld X = Nether X * 8 Overworld Y = Nether Y (no change) Overworld Z = Nether Z * 8 So (46,95,-117) in the Nether converts to (368,95,-936) in the Overworld
  • 3. Overworld Portal to Nether Convert the player’s location from Overworld to Nether coordinates. From the Nether X and Z (north/south, east/west) location, look in the Nether for 128 blocks north, south, east, and west. Find the closest Nether portal to the player’s location. Distance is measured in 3 dimensions. Steve pops into the Nether. The program searches for the closest portal in a box that’s 257x257 wide and 128 high (the world’s height) in the Nether. 128 high -128 +128
  • 4. If no portal is inside this volume… Then a new portal is spawned close by, in an area large enough to hold it. Instead of spawning a portal at Steve’s location in solid rock, it is placed in a cave.
  • 5. Overworld to Nether Range Searching from the Overworld into the Nether searches 128 meters in each direction in the Nether. This distance is the same as 1024 meters in the Overworld. A single portal in the Nether will be connected, one way, from any Overworld portal within the 1024 meters box around it. So, a box of size 2048x2048 (approx.) in the Overworld can connect to one Nether portal. 1024m 1024m 128m 128m
  • 6. Nether Portal to Overworld Uses the same sort of process: find the player’s Nether location in the Overworld and then find the closest portal within a box 128 meters (blocks) north, south, east, and west of that location, in the Overworld. Note the key difference: 128 meters in the Overworld is just 16 meters in the Nether. So a Nether portal searches a much smaller box, 256x256 Overworld-equivalent vs. 2048x2048 Overworld-equivalent. Nether portals search a much smaller overall equivalent space! 128m 128m The left Overworld portal is in range, the right is not. 16m 16m
  • 7. Conclusions To make an unbreakable two-way link between Overworld and Nether portals, build them at the exactly the same locations in each world. Going from an Overworld portal to a Nether portal can go a long distance and is very common, since the search range is huge in Overworld term. But, it’s often a one-way trip, since the Nether portal searches a relatively small range when looking in the Overworld for a nearby portal. This small search range also means that, if you build a portal in the Nether, it is pretty easy to (accidentally or on purpose) spawn a new portal in the Overworld. If your Nether portal’s Overworld location is more than 128 meters away, in a cardinal direction (north/south or east/west), from any Overworld portal, a new Overworld portal will be created.