If the map is Singleplayer, then when they step on a pressure plate, just have an armorstand named CurrentCheckpoint or something teleport to them at that location. Every time they hit a pressure plate, teleport that same armorstand to their location. When they do whatever causes them to return to a checkpoint, teleport the player to the CurrentCheckpoint armorstand.
(before everything)
/summon armor_stand ~ ~ ~ {Invisible:1b,Invulnerable:1b,NoGravity:1b,CustomName:"CurrentCheckpoint"} -optional to add CustomNameVisible:1b
(on pressure plate)
/tp @e[type=armor_stand,name=CurrentCheckpoint] @p
(on death/back to checkpoint event)
/tp @p @e[type=armor_stand,name=CurrentCheckpoint]
On the other hand, if this is multiplayer, you can have a series of armorstands on each checkpoint with names like Checkpoint1 and Checkpoint2 etc... Then, test every armorstand for a player in a radius. If there is a player, set that player's score to the corresponding number. When the death/checkpoint event is triggered, then teleport the player to the corresponding armorstand
(before everything)
/scoreboard objectives add Checkpoint dummy
(on each checkpoint)
/summon armor_stand ~ ~ ~ {Invisible:1b,Invulnerable:1b,NoGravity:1b,CustomName:"Checkpoint1"} - Optional CustomNameVisible:1b again
/summon armor_stand ~ ~ ~ {Invisible:1b,Invulnerable:1b,NoGravity:1b,CustomName:"Checkpoint2"} <--- only change that number inside the quotes
repeat the ^^above^^ for every checkpoint
(repeating command block while current minigame is active)
/execute @e[type=armor_stand] ~ ~ ~ /scoreboard players set @a[r=2] Checkpoint [respective checkpoint number here]
(non conditional chain command blocks after reapeating command block)
On death event:
/tp @a[score_Checkpoint_min=1,score_Checkpoint=1] @e[type=amor_stand,name=Checkpoint1]
/tp @a[score_Checkpoint_min=2,score_Checkpoint=2] @e[type=amor_stand,name=Checkpoint2] <---- changing all of the numbers to respective checkpoint
If you have any issues with this, or have other specifications, lemme know, but otherwise, hope this helps
1
[REUPLOAD NOTE]
When I originally uploaded this, I had issues getting images to come up. At the time of writing this I now learned what I did wrong. Most people were probably turned away by the boring line of text (which I would've too) which is what the screenshots were for in the first place. Thus I just wanted to reupload it so it could get the proper love it might've gotten beforehand.
In Minecraft, there are plenty of different jokes and easter eggs hidden in the game, like "The Lie" achievement referencing the cake from Portal, or Vindicators being named Johnny go on a rampage, the killer rabbit, rainbow jeb sheep, upside down dinnerbone mobs, etc. Besides that, there are a few neat tricks hidden (or just not very directly mentioned) features in Minecraft for creative mode that might help you next time you wanna make a castle out of cobble stone with a magma river surrounding it.
Mouse 3:
If you press your middle mouse button (Mouse 3) while looking at a block, you'll pick that block into your inventory.
This isn't specifically hidden or secret, just not directly mentioned. It's a control key in the Controls Menu. But though this isn't a secret, there is a lot of neat things to do with it.
You can't pick up blocks that change based on other blocks such as a snowy grass block.
But unusual blocks that you would normally not collect in your normal game or from the creative menu such as the Dragon's Egg, or Barrier blocks, can be picked as so:
While there are blocks that you can't get without commands that you can get with Mouse 3, there are blocks in game that are SPECIFICALLY NOT to be possessed by a player such as the End Portal and the End Gateway. These cannot be picked with Mouse 3.
Besides picking blocks, you can also pick at Mobs and collect spawn eggs if they have one. However you can't pick blocks they possess and you can't get baby mob eggs.
You also can't pick spawn eggs off of mobs that don't have one. I think that's obvious, but in case you thought you could:
Same as endermen, you also cannot pick blocks off of shulkers.
But if you'd like, you can steal the banners off the Endcity :3
If you put an item in an item frame and attempt to pick at the frame, you'll get the item inside which is kind of neat.
Commands and F3 Tricks and Tips:
A feature within commands is that if you press Tab, you'll fill in blanks for commands. Besides the fact that you can fill in phrases and such for certain commands, you can also actually use tab while looking at a block to shortcut it's coordinates. This doesn't work with tp commands though because the first use is to tp a player by name and not coordinates.
The image display for this image didn't work right so here's a link instead
So an easy trick to get around this is to do a command such as setblock and then replace the command with /tp [player] so you can tp to those coordinates.
Also something that's not directly mentioned, but not exactly hidden like Mouse 3 block picking is that in the F3 Menu, there is a list of binds accompanied with the F3 Key that give easy shortcuts or "life hacks" such as showing chunks, clearing chat, etc.
One of those features is that if you press F3 + N, you'll switch inbetween Spectator Mode and Creative Mode:
So if you find Gamemode 3 handy and would like a shortcut, there ya go!
Anyways that about all the Tips and Tricks I have up my sleeve. If there are some interesting shortcuts or tricks I missed, please tell me! Also out of all of the shortcuts I mentioned, which one do you think is the most handy?
1
In Minecraft, there are plenty of different jokes and easter eggs hidden in the game, like "The Lie" achievement referencing the cake from Portal, or Vindicators being named Johnny go on a rampage, the killer rabbit, rainbow jeb sheep, upside down dinnerbone mobs, etc. Besides that, there are a few neat tricks hidden (or just not very directly mentioned) features in Minecraft for creative mode that might help you next time you wanna make a castle out of cobble stone with a magma river surrounding it.
Mouse 3:
If you press your middle mouse button (Mouse 3) while looking at a block, you'll pick that block into your inventory.
This isn't specifically hidden or secret, just not directly mentioned. It's a control key in the Controls Menu. But though this isn't a secret, there is a lot of neat things to do with it.
You can't pick up blocks that change based on other blocks such as a snowy grass block.
But unusual blocks that you would normally not collect in your normal game or from the creative menu such as the Dragon's Egg, or Barrier blocks, can be picked as so:
While there are blocks that you can't get without commands that you can get with Mouse 3, there are blocks in game that are SPECIFICALLY NOT to be possessed by a player such as the End Portal and the End Gateway. These cannot be picked with Mouse 3.
Besides picking blocks, you can also pick at Mobs and collect spawn eggs if they have one.
You can't pick blocks they possess and you can't get baby mob eggs. Baby mobs are just smaller versions of that mob.
You also can't pick spawn eggs off of mobs that don't have one. I think that's obvious, but in case you thought you could:
Same as endermen, you also cannot pick blocks off of shulkers.
But if you'd like, you can steal the banners off the Endcity :3
If you put an item in an item frame and attempt to pick at the frame, you'll get the item inside which is kind of neat.
Commands and F3 Tricks and Tips:
A feature within commands is that if you press Tab, you'll fill in blanks for commands. Besides the fact that you can fill in phrases and such for certain commands, you can also actually use tab while looking at a block to shortcut it's coordinates. This doesn't work with tp commands though because the first use is to tp a player by name and not coordinates.
http://www.minecraftforum.net/forums/minecraft-discussion/creative-mode/undefined" width="" height="" alt="/tp [to player src=">
So an easy trick to get around this is to do a command such as setblock and then replace the command with /tp [player] so you can tp to those coordinates.
Also something that's not directly mentioned, but not exactly hidden like Mouse 3 block picking is that in the F3 Menu, there is a list of binds accompanied with the F3 Key that give easy shortcuts or "life hacks" such as showing chunks, clearing chat, etc.
One of those features is that if you press F3 + N, you'll switch inbetween Spectator Mode and Creative Mode:
So if you find Gamemode 3 handy and would like a shortcut, there ya go!
Anyways that about all the Tips and Tricks I have up my sleeve. If there are some interesting shortcuts or tricks I missed, please tell me! Also out of all of the shortcuts I mentioned, which one do you think is the most handy?