SlideShare a Scribd company logo
1 of 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.

More Related Content

Viewers also liked

Viewers also liked (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
 

Recently uploaded

Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...caitlingebhard1
 
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data PlatformLess Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data PlatformWSO2
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard37
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Simplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxSimplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxMarkSteadman7
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Decarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational PerformanceDecarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational PerformanceIES VE
 
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaModernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaWSO2
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 

Recently uploaded (20)

Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
 
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data PlatformLess Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Simplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxSimplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptx
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Decarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational PerformanceDecarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational Performance
 
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaModernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using Ballerina
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 

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.