Vidéo
Tellraw + Potion personnalisée = Téléportation !!
1ère Vidéo sur les Commandes dans Minecraft
-------------------------------------------------------------------------------------
0: /scoreboard objectives add mort deathCount
0,5: /gamerule commandBlockOutput false
1:/fill COORDONNÉE minecraft:redstone_block
2:/fill COORDONNÉE minecraft:stone
3:/execute @a[name=PSEUDO,score_mort_min=1] ~ ~ ~ summon Item ~ ~ ~ {Item:{id:minecraft:skull,Damage:3,Count:1,tag:{SkullOwner:PSEUDO}}}
4:/scoreboard players set @a[score_mort_min=1] mort 0
Merci d'avoir Regardé la vidéo!!
Lôot de notre tête quand on meurt
Potion personnalisée :
/give @p minecraft:potion 1 16421 {CustomPotionEffects:[{Id:3,Amplifier:3,Duration:100},{Id:16,Amplifier:3,Duration:100},{Id:13,Amplifier:3,Duration:100}],display:{Name:"Téléportation"}}
1 : /effect @p minecraft:haste 0
2 : /tellraw @p {"text":"", "extra": [{"text":"Téléportation à la Plateforme","color":"dark_green", "hoverEvent":{action:show_text,value:'Plateforme '},"clickEvent":{"action":"run_command", "value":"/tp @p 0 9 12"}}]}