1

How to set a exact spawn point with commandblocks

xXka3lXx's Avatar xXka3lXx7/17/17 6:38 pm
1 emeralds 16.3k 15
7/20/2017 3:21 pm
BenceTheGreat's Avatar BenceTheGreat
hello, i've seen this question a lot before and i finally found an answer. when you do
/set worldspawnpoint it makes you spawn within 30 blocks from the desired point. if you want to spawn in a specific spot you need a repeating command block. you can get this by doing /give [username] minecraft:repeating_command_block. then place it and turn it to always active. then type /testfor @a. now press done then put a comparator facing away from it then put a regular commandblock in front of it. you can get this by doing
/give [username] minecraft:command_block. then type /tp @a [x] [y] [z]. to test if it works log off the world then go back on. you should be at the exact coordinates you put in the second command block. i hope this helped you.

EDIT: ive seen this in the comments 2 times already so if you want to make it so you spawn in creative/adventure/spectator then add another commandblock next to the commandblock with the tp command in it. then type in /gamemode [gamemode]

the easiest way i found in the comments was by Gealx3 he said turn /gamerule spawnRadius 0 which i find the easiest way to do this.
Posted by xXka3lXx's Avatar
xXka3lXx
Level 15 : Journeyman Miner
3

Create an account or sign in to comment.

15

info Note: You're viewing a single reply. View all replies
2
07/19/2017 12:03 am
Level 74 : Legendary Artist
Gealx3
Gealx3's Avatar
You could just do /gamerule spawnRadius 0. The only time that wouldn't work is if you wanted the spawn point underground or under a ceiling of some kind though.
1
07/20/2017 8:17 am
Level 70 : Legendary Engineer
Bertiecrafter
Bertiecrafter's Avatar
Wow, this is probably the best solution so far. I thought the spawnRadius only meant the amount of loaded chunks, but indeed it's the spread radius. Confirmed by the minecraft wiki.

Compared to other solutions, this doesn't have initial commands AND doesn't ignore player specific spawnpoints. So yeah, this is probably the best solution.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome