Started by
BlaBlaSillySheep
on
Topic category: Advanced modding
I had a look at NorthWestTrees Gaming's video called "random teleporting" or something. i realised it was outdated and now doesn't work. Is there a way i can make one with procedures?
Could you give more details on what you want to do?
One possibility is to use the /spreadplayers command.
Record the player's bed and destroy it then /GAMERULE KEEPINVENTORY TRUE then /KILL <PLAYER NAME> the /GAMERULE KEEPINVENTORY FALSE then player will spawn randomly as the bed was destroyed and then /SETBLOCK <BED POS> WHITE_BED
No, that's not gonna work. If its vanilla survival without any cheats its not gonna work. And also the player would be required to destroy the bed aswell. And also what is the spreadplayers command?
I don't know the /spreadplayer and
1.procedures can execute commands at any situation(even if the cheats were off!)
2.random generate number:
3.on player tick;move entity to (method 2:random) (random) (random)
^ ^ ^
x y z
(sorry,the x,y,z "^" mark's place is getting wrong...)