October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PCOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
VGSources
Blog

What Is the Command for Finding an End City in Minecraft?

The current command for locating an End City is /locate structure minecraft:end_city. It works in Java and Bedrock when commands are permitted.
WorldMinecraft? Length2 min Posted Quest giverVGSources Team
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use /locate structure minecraft:end_city in current Java Edition or Bedrock Edition. It searches for the nearest matching structure in the dimension you are currently in and returns its coordinates if one is found.

How to find an End City

  1. Open the in-game chat.
  2. Enter /locate structure minecraft:end_city and submit it. Commands entered in chat start with a slash, as described in Minecraft’s command guide.
  3. Read the coordinates in the result and use them to travel toward the End City. The locator gives you coordinates; it does not teleport you.

The same command form applies to both editions:

  • Java Edition: /locate structure minecraft:end_city. Java’s structure lookup syntax changed to use namespaced IDs in the 1.18.2 release; see the Java Edition 1.18.2 release notes.
  • Bedrock Edition: /locate structure minecraft:end_city. Microsoft’s Bedrock /locate reference lists minecraft:end_city as a valid structure.

What the command finds—and what it does not do

/locate looks for the nearest matching structure in your current dimension, if one exists there. If no matching structure is found, Bedrock reports an error. Because the search is for the current dimension, make sure you are in the End when looking for an End City.

The result is a location, not a teleport. Minecraft documents teleporting as a separate command, so use the coordinates to navigate unless you separately choose to teleport and have permission to do so.

Permissions you need

The command must be allowed in the world or server. In single-player Bedrock, turn on Allow Cheats under the world’s Game settings. Minecraft notes that enabling cheats permanently disables achievements for that world, even if you later turn cheats off. In Java single-player, enable Allow Commands when creating the world or later in World Options. On a multiplayer server, you need sufficient permissions; if access is denied, ask the operator.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Sale
XBOX Wireless Gaming Controller | Carbon Black
  • MODERNIZED DESIGN — Experience the modernized design of the XBOX Wireless Controller with sculpted surfaces and updated geometry that enhances comfort and control during long gaming sessions.
  • PRECISION PERFORMANCE — Stay on target with a hybrid D-pad and textured grips on triggers, bumpers, and back case for improved accuracy and handling.
  • SHARE BUTTON: Seamlessly capture and share content such as screenshots, recordings, and more with the new Share button.
  • VERSATILE CONNECTIVITY — Connect via USB-C for plug-and-play on console and PC, or quickly pair and switch between supported devices with XBOX Wireless and Bluetooth support.
  • BUILT-IN AUDIO SUPPORT — Plug in compatible headsets using the 3.5mm audio jack for direct voice chat and immersive in-game sound.

Minecraft’s command guide describes the Bedrock single-player setting: “In Bedrock Edition singleplayer, you can change these permissions by going to the Game tab of the settings menu and toggling on ‘Allow Cheats.’”

Quick Recap

SaleBestseller No. 2
8Bitdo Ultimate 2C Wireless Controller for Windows PC and Android, with 1000 Hz Polling Rate, Hall Effect Joysticks and Triggers, and Remappable L4/R4 Bumpers (Green)
8Bitdo Ultimate 2C Wireless Controller for Windows PC and Android, with 1000 Hz Polling Rate, Hall Effect Joysticks and Triggers, and Remappable L4/R4 Bumpers (Green)
Compatible with Windows and Android.; 1000Hz Polling Rate (for 2.4G and wired connection); Hall Effect joysticks and Hall triggers. Wear-resistant metal joystick rings.
$20.99
Bestseller No. 3
Logitech G F310 Wired Gamepad Controller Console - Blue/Black
Logitech G F310 Wired Gamepad Controller Console - Blue/Black
The six-foot cord lets you lean back and play a comfortable distance from your PC monitor.
$19.99
Bestseller No. 4
PlayStation DualSense™ Wireless Controller – Galactic Purple - For PS5, PC, MAC & Mobile
PlayStation DualSense™ Wireless Controller – Galactic Purple - For PS5, PC, MAC & Mobile
Feel physically responsive feedback to your in-game actions through haptic feedback; Experience varying levels of force and tension at your fingertips with adaptive triggers
$74.00
Best Value
GameSir G7 Pro Wired Controller for Xbox Series X|S, Xbox One, Wireless Gamepad for PC&Android with TMR Sticks, Hall Effect Analog Triggers, 1000Hz Polling Rate, 3.5mm Audio Jack - Black
  • Tri-mode Connectivity: Wired for Xbox, 2.4G & Wired for PC, and Bluetooth for Android. The G7 Pro supports seamless connectivity across Xbox, PC, and Android. Effortlessly switch between modes using the convenient physical mode switch.
  • TMR Sticks: The G7 Pro features GameSir's Mag-Res TMR sticks, combining Hall Effect durability with traditional potentiometer performance. This advanced technology delivers stable polling rates for smooth, drift-free gaming with low power consumption.
  • Hall Effect Analog Triggers: The GameSir precision-tuned Hall Effect analog triggers provide unmatched smoothness and linear input for precise control. Featuring clicky Micro Switch trigger stops, gamers can easily switch based on their preferences.
  • 1000Hz Polling Rate on PC: Experience ultra-responsive gaming with a 1000Hz polling rate on PC, available through both wired and 2.4G wireless connections. This ensures instantaneous input registration, reducing lag and optimizing your performance for the most competitive gameplay.
  • GameSir Nexus App: The G7 Pro is compatible with the upgraded GameSir Nexus app, which brings a significant upgrade over the original. It introduces powerful new features such as gyro settings, stick curve adjustments, and button-to-mouse mapping, giving you deeper customization and more control than ever before.
Rank #4
PlayStation DualSense™ Wireless Controller – Galactic Purple - For PS5, PC, MAC & Mobile
  • Feel physically responsive feedback to your in-game actions through haptic feedback
  • Experience varying levels of force and tension at your fingertips with adaptive triggers
  • Chat online through the built-in microphone and connect a headset directly through the 3.5mm jack
  • Switch voice capture on and off using the dedicated mute button
  • Play on more devices using the USB Type-C cable or Bluetooth to connect easily to Windows PC and Mac computers, Android and iOS mobile phones as well as your PlayStation 5
Rank #3
Logitech G F310 Wired Gamepad Controller Console - Blue/Black
  • With broad game support, the Logitech Gamepad F310 works with old standbys to today's biggest titles, so it's easy to set up and use with your favorite games.
  • Profiler software allows the gamepad to be programmed to perform keyboard and mouse commands for games without gamepad support.* * Requires software installation.
  • A familiar control layout that doesn't require a learning curve to be able to use, with all the same buttons as on an Xbox 360.
  • The unique floating D-pad rests on four switches-instead of a single pivot point-making it responsive to quick changes in direction.
  • The six-foot cord lets you lean back and play a comfortable distance from your PC monitor.
Rank #2
Sale
8Bitdo Ultimate 2C Wireless Controller for Windows PC and Android, with 1000 Hz Polling Rate, Hall Effect Joysticks and Triggers, and Remappable L4/R4 Bumpers (Green)
  • Compatible with Windows and Android.
  • 1000Hz Polling Rate (for 2.4G and wired connection)
  • Hall Effect joysticks and Hall triggers. Wear-resistant metal joystick rings.
  • Extra R4/L4 bumpers. Custom button mapping without using software. Turbo function.
  • Refined bumpers and D-pad. Light but tactile.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

If /locate does not work

  • The game rejects the command: Check that commands are enabled and, on a server, that your account has permission.
  • The structure name is not accepted: Enter the full namespaced ID minecraft:end_city. For a version-specific syntax issue, use the command suggestions available in your game build.
  • No End City is found: Confirm you are searching from the End. The command only searches the current dimension, and results depend on whether a matching structure exists there.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More quests from Patch Notes

  1. How To Create Custom Stickers & Shoutouts In Monster Hunter WildsMonster Hunter WildsBlog20min
  2. How to Get XL Gogoat in Pokemon Legends Z-A (An Extra-Large Gogoat)Pokemon Legends Z-ABlog20min
  3. How to Get Rotting Lightbringer in Diablo 4Diablo 4Blog17min
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.