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
- Open the in-game chat.
- Enter
/locate structure minecraft:end_cityand submit it. Commands entered in chat start with a slash, as described in Minecraft’s command guide. - 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 listsminecraft:end_cityas 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.
#1 Best Overall
- 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
Best Value
- 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
- 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
- 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
- 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.
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.




