How to set spawn point in Minecraft with command block Bedrock

I want to set a spawn point with a command block but when I test it I spawn elsewhere and it says I have no spawn point. What am I doing wrong? from MinecraftCommands

This article is designed for more experienced Minecraft player/Minecraft: Education Edition user and goes in depth with commands. To get started with the essential commands you need and the basics on coordinates and targeting, please visit this page instead.

This article will cover:

  • How to use
  • More about using Coordinates
  • Customizing worlds with commands (Time, Weather)
  • World-building helpers (Fill, Clone, and more)
  • Items (Giving and Enchanting)
  • Interacting With Players (Communication, Movement, and other)
  • New Code Builder commands (November 2018)
  • Code Builder in Minecraft: Education Edition (version 1.7.1)

How to use

/? and /help: Type /help for page one. Type /help with a number after it to get to a specific page. There are ten pages of commands in total. T

More about using Coordinates

This section in the Official Minecraft Wiki explains commands and coordinates

Customizing worlds with commands

Time

Syntax: /time set (number)

This changes the time of day. 0 is equal to 6:00 a.m. and 23000 is equal to 5:00 a.m. Example: /time set 16000 will change the time to 10:00 p.m.

Time also has two additional commands:

Syntax: /time add (number)

This command adds time to the world. Example: /time add 1000 to add an hour of time to the clock.

Syntax: /time query (daytime or gametime)

Use /time query daytime to find out the in-game time and gametime to see the total amount of time elapsed.

Weather

Syntax: /weather (string) (duration)

The duration is set in seconds for the specified weather to last. Leave this blank to set the weather for a random time between 6000 and 18000 seconds.

Syntax: /toggledownfall

This command will instantly change the weather. If it’s clear, it will start to rain or snow depending on the biome. If it’s raining or snowing, it will become clear.

World-building helpers

Two commands will help you build your world in no time:

/clone

Syntax: /clone <x1> <y1> <z1> <x2> <y2> <z2> <x> <y> <z> 

x1 y1 z1 are the coordinates for the start of a region to clone

x2 y2 z2 are the coordinates for the end of the region to clone

x y z signify the region where the clone will appear

/fill

Syntax: /fill <x1> <y1> <z1> <x2> <y2> <z2> <blockName>

These commands will help you fine-tune your world:

/setblock

Syntax: /setblock <x> <y> <z> <blockName>

If you need to replace brick with glazed terracotta at a certain coordinate, this is the command you need.

/setworldspawn

Syntax: /setworldspawn <x> <y> <z>

Use /setworldspawn by itself to set the spawn point for all players to the point you’re currently at. Use /setworldspawn <x> <y> <z> with x y z are coordinates to set a new spawn point for all players.

/spawnpoint

Syntax: /spawnpoint <playername> <x> <y> <z>

x y z are the coordinates you want a certain player to spawn at

/setmaxplayers

Syntax: /setmaxplayers (number)

Minecraft: Education Edition supports a maximum of 30 users per multiplayer game, including you. If you want to restrict this further just put a number in. If you put a number greater than 30 you will be given a message and the max number will be set at 30.

/testforblock

Syntax: /testforblock <x> <y> <z> <blockName>

Example: /testforblock 7 8 9 brick_block will test if a brick block is at coordinates 7 8 9

Items

Provide your world’s visitors with items, and also make them more powerful:

/give

Syntax: /give <playername> <itemName> <amount>

Example: /give EmmaM camera 1 will give player “EmmaM” one camera.

/enchant

Syntax: /enchant <playername> <enchantmentID> <level>

If a player is holding an item, this command will enchant the item. You can find a list of enchantment ID numbers here.

Commands to directly impact players

As an educator, you may find these commands useful in Classroom Mode.

/list

Syntax: /list

This command will display the players currently connected to the server.

/kill

Syntax: /kill <playername>

This will kill the player.

/xp

Syntax: /xp <number> <playername>

This will give that amount of XP to a certain player. Use /xp <number>L <playername> to give that many levels to the named player.

/say

Syntax: /say <message>

This will send a message to everyone

/tell and /msg

Syntax: /tell <playername> <message> or /msg <playername> <message>

This will send a message to a certain player

/summon

Syntax: /summon <entity name>

Use this to spawn an entity on the current position.

Add <x> <y> <z> to provide different coordinates you want to spawn an entity.

/tp

Syntax: /tp <playername> <location>

You can use coordinates or another player’s name in the field for location.

New Code Builder Commands (November 2018)

You can use `/summon agent` to create or teleport your agent to you

New command selectors for the agent, `@c` to target your agent, `@v` to target all agents. Only worldbuilders can target all agents. By default all users will have wordbuilder permissions set to false

You can also now remove agents from the world using selectors, so `/remove @c` to remove your agent or `/remove @v` for all agents. `/remove @e` will also remove all entities and all agents, except other people's agents if the person running the commands isn't a worldbuilder

The usual type filters can also be used to target particular agents, so `/tp @e[type=Agent,name=Steve.Agent] @s` for instance would look through all entities for those of type agent whose name is Steve.Agent and teleport them to you. For more of a shorthand you could do `/tp @v[name=Steve.Agent] @s` to target a particular person's agent that's not your own

For more information checkout: Code Builder in Minecraft: Education Edition (version 1.7.1)

07/20/2017 12:24 pm

Level 18 : Journeyman Explorer

Redlark

you can run /spawnpoint @a <X,Y,Z> in an always active repeating command block you know

This Minecraft tutorial explains how to use the /spawnpoint command with screenshots and step-by-step instructions.

You can change the location where a player respawns after dying to any coordinates in the game with the /spawnpoint command in Minecraft. This is a great way to set your spawnpoint to your home. Let's explore how to use this cheat (game command).

Supported Platforms

The /spawnpoint command is available in the following versions of Minecraft:

PlatformSupported (Version*)
 Java Edition (PC/Mac)
Yes (1.4.2)
 Pocket Edition (PE)
Yes (0.16.0)
 Xbox 360
No
 Xbox One
Yes (1.2)
 PS3
No
 PS4
Yes (1.14.0)
 Wii U
No
 Nintendo Switch
Yes (1.5.0)
 Windows 10 Edition
Yes (0.16.0)
 Education Edition
Yes

* The version that it was added or removed, if applicable.
NOTE: Pocket Edition (PE), Xbox One, PS4, Nintendo Switch, and Windows 10 Edition are now called Bedrock Edition. We will continue to show them individually for version history.

Requirements

To run game commands in Minecraft, you have to turn cheats on in your world.

Spawnpoint Command

Examples

How to Enter the Command

1. Open the Chat Window

The easiest way to run a command in Minecraft is within the chat window. The game control to open the chat window depends on the version of Minecraft:

  • For Java Edition (PC/Mac), press the T key to open the chat window.
  • For Pocket Edition (PE), tap on the chat button
    at the top of the screen.
  • For Xbox One, press the D-Pad (right)
    on the controller.
  • For PS4, press the D-Pad (right)
    on the controller.
  • For Nintendo Switch, press the right arrow button
    on the controller.
  • For Windows 10 Edition, press the T key to open the chat window.
  • For Education Edition, press the T key to open the chat window.

2. Type the Command

We will cover examples of how to use the /spawnpoint command to reset your spawn point to your current location as well as show you how to change the spawn point to a set of coordinates in the Minecraft world.

Reset Spawnpoint to Current Position

The easiest way to use the /spawnpoint command is to reset the spawnpoint to the position where you are currently standing.

In this example, we will reset the spawn point to our current location with the following command:

/spawnpoint

Type the command in the chat window. As you are typing, you will see the command appear in the lower left corner of the game window. Press the Enter key to run the command.

Once the command has been entered, the spawn point will be reset to your current coordinates.

You will see a message appear in the lower left corner of the game window to indicate the new spawn point coordinates for the player. In this example, the player named DigMinecraft has a new spawn point of (96, 70, -230) which is the (x, y, z) coordinates of the current position in the game.

Reset Spawnpoint to Any Coordinates

Next, let's explore how to reset the spawn point to a set of coordinates in the game.

To reset a spawn point to a specific set of coordinates for a player, type the player name as well as the XYZ coordinates for the new spawn point.

In this example, we will reset the spawn point for DigMinecraft to (50, 75, -100) with the following command:

/spawnpoint DigMinecraft 50 75 -100

Type the command in the chat window and press the Enter key to run the command.

Once the command has been entered, the spawn point will be reset for the player to the coordinates entered.

You will see a message appear in the lower left corner of the game window to indicate the new spawn point coordinates for the player. In this example, we have specified a player name of DigMinecraft and set the (x, y, z) coordinates to (50, 75, -100). This will be the location in the game where DigMinecraft will respawn after dying.

TIP: Wouldn't it be fun to change your spawnpoint to the coordinates inside an enemy stronghold? Then kill yourself and respawn inside the enemy base!!

Congratulations, you have learned how to use the /spawnpoint command in Minecraft.

Other Game Commands

You can use other commands and cheats in Minecraft such as:

Última postagem

Tag