CommandBlock Téléportation verticale !

frodomax33

Addict à la redstone , drogué au commande bloc.
11 Février 2016
101
40
90
23
Bordeaux
Bonjour à tous pour un nouveau NoMod qui ajoute des téléporteurs qui marchent comme des ascenseurs, je m'explique :
En allant sur la base de téléportation vous pourrez vous téléportez sur les mêmes coordonnées en Y.
En sautant sur la base , vous montez d'un niveau et en s'accroupissant dessus vous descendez d'un niveau ,le tout dans une explosion de particules, simple ^^ .
2016-07-13_18.25.37.png

2016-07-13_18.12.45.png
Le NoMod est compatible multijoueur et il a été créé en 1.10 donc il se peut qu'il ne marche pas en version antérieur. De plus il est nécessaire d'avoir mon NoMod de craft pour pour pouvoir crafter l'item de téléportation.
Installation :
1. Prenez un commande bloc : /give @p minecraft:command_block
2. Copiez la commande dedans
3. Activez le (bouton "Need redstone")
4. Profitez !
summon FallingSand ~ ~1 ~ {Block:stone,Time:1,Passengers:[{id:FallingSand,Block:redstone_block,Time:1,Passengers:[{id:FallingSand,Block:activator_rail,Time:1,Passengers:[{id:MinecartCommandBlock,Command:gamerule commandBlockOutput false},{id:MinecartCommandBlock,Command:"fill ~2 ~-3 ~-2 ~13 ~-1 ~2 stained_hardened_clay 9 hollow"},{id:MinecartCommandBlock,Command:"fill ~2 ~-2 ~-2 ~13 ~-2 ~2 stained_glass 7 replace stained_hardened_clay"},{id:MinecartCommandBlock,Command:"/tellraw @a [\"\",{\"text\":\"Vertical Teleportation par \",\"color\":\"dark_aqua\"},{\"text\":\"Frodomax33\",\"color\":\"green\"},{\"text\":\" [Ma chaîne]\",\"color\":\"dark_red\",\"clickEvent\":{\"action\":\"open_url\",\"value\":\"https://www.youtube.com/channel/UC4V7qyiLxYB5Kor3rZqvXUA\"}}]"},{id:MinecartCommandBlock,Command:"/scoreboard objectives add TpDown stat.sneakTime "},{id:MinecartCommandBlock,Command:"/scoreboard objectives add TpUp stat.jump"},{id:MinecartCommandBlock,Command:"/scoreboard objectives add TpFloor dummy"},{id:MinecartCommandBlock,Command:setblock ~1 ~-2 ~ wall_sign 4 replace {Text2:"{\\\"text\\\":\\\"Détruire la\\\",\\\"color\\\":\\\"dark_red\\\",\\\"bold\\\":true}",Text3:"{\\\"text\\\":\\\"machine\\\",\\\"color\\\":\\\"dark_red\\\"}",Text4:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"fill ~ ~-1 ~-2 ~12 ~1 ~2 air\\\"}}"}},{id:MinecartCommandBlock,Command:setblock ~8 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/execute @e[tag=TpBase] ~ ~ ~ /particle reddust ~ ~.2 ~ -1 -1 1 1"}},{id:MinecartCommandBlock,Command:setblock ~7 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/scoreboard players tag @e remove TpDown"}},{id:MinecartCommandBlock,Command:setblock ~6 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/scoreboard players set @a TpDown 0"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/execute @e[tag=TpDown] ~ ~ ~ /particle portal ~ ~ ~ .5 .5 .5 1.5 500 force"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/execute @e[name=Teleport] ~ ~ ~ /tp @a[score_TpDown_min=1,r=1] @e[name=Teleport,y=0,dx=0,dy=1000,dz=0,tag=TpDown]"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/execute @e[score_TpFloor_min=1] ~ ~-100 ~ /scoreboard players tag @e[name=Teleport,c=-1,rm=1,dx=0,dy=100,dz=0,score_TpFloor=0] add TpDown"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~ chain_command_block 3 replace {auto:1,Command:"/execute @e[name=Teleport] ~ ~ ~ /testfor @a[score_TpDown_min=1,r=1]"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/scoreboard players set @e[tag=TpBase] TpFloor 0"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/scoreboard players tag @e remove TpUp"}},{id:MinecartCommandBlock,Command:setblock ~6 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/scoreboard players set @a TpUp 0"}},{id:MinecartCommandBlock,Command:setblock ~7 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/execute @e[tag=TpUp] ~ ~ ~ /particle portal ~ ~ ~ .5 .5 .5 1.5 500 force"}},{id:MinecartCommandBlock,Command:setblock ~8 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/execute @e[name=Teleport] ~ ~ ~ /tp @a[score_TpUp_min=1,r=1] @e[name=Teleport,c=1,rm=1,dx=0,dy=100,dz=0,tag=TpUp]"}},{id:MinecartCommandBlock,Command:setblock ~9 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/execute @e[score_TpFloor_min=1] ~ ~ ~ /scoreboard players tag @e[name=Teleport,c=1,rm=1,dx=0,dy=100,dz=0] add TpUp"}},{id:MinecartCommandBlock,Command:setblock ~10 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/execute @e[name=Teleport] ~ ~ ~ /testfor @a[score_TpUp_min=1,r=1]"}},{id:MinecartCommandBlock,Command:setblock ~11 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/scoreboard players set @e[tag=TpBase] TpFloor 0"}},{id:MinecartCommandBlock,Command:setblock ~12 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/scoreboard players tag @e[type=Item] add IronTrapDoor {Item:{id:\\\"minecraft:iron_trapdoor\\\"}}"}},{id:MinecartCommandBlock,Command:setblock ~12 ~-2 ~-1 chain_command_block 3 replace {auto:1,Command:"/kill @e[name=craftingtp,type=ArmorStand]"}},{id:MinecartCommandBlock,Command:setblock ~11 ~-2 ~-1 chain_command_block 13 replace {auto:1,Command:"/execute @e[name=craftingtp,type=ArmorStand] ~ ~ ~ /blockdata ~ ~ ~ {Items:[{id:minecraft:armor_stand,Count:2b,Slot:4b,tag:{display:{Name:\\\"Téléporter\\\",Lore:[\\\"Permet de se téléporter verticalement\\\"]},ench:[{id:30,lvl:1}],EntityTag:{CustomName:\\\"Teleport1\\\",CustomNameVisible:0,Invisible:1,NoGravity:1}}}]}"}},{id:MinecartCommandBlock,Command:setblock ~10 ~-2 ~-1 chain_command_block 5 replace {auto:1,Command:"/execute @e[name=craftingtp,type=ArmorStand] ~ ~ ~ /testforblock ~ ~ ~ minecraft:dispenser 1 {Items:[{id:minecraft:redstone,Count:1b,Slot:0b},{id:minecraft:ender_pearl,Count:1b,Slot:1b},{id:minecraft:redstone,Count:1b,Slot:2b},{id:minecraft:iron_trapdoor,Count:1b,Slot:3b},{id:minecraft:iron_trapdoor,Count:1b,Slot:4b},{id:minecraft:iron_trapdoor,Count:1b,Slot:5b},{id:minecraft:redstone,Count:1b,Slot:6b},{id:minecraft:redstone,Count:1b,Slot:8b},{id:minecraft:ender_pearl,Count:1b,Slot:7b}]}"}},{id:MinecartCommandBlock,Command:setblock ~9 ~-2 ~-1 chain_command_block 5 replace {auto:1,Command:"/execute @r[name=craft,type=ArmorStand] ~ ~ ~ /summon ArmorStand ~ ~1 ~ {CustomName:\\\"craftingtp\\\",NoGravity:1,Invulnerable:1,Invisible:1}"}},{id:MinecartCommandBlock,Command:setblock ~8 ~-2 ~-1 chain_command_block 13 replace {auto:1,Command:"/execute @e[name=Teleport,type=ArmorStand] ~ ~ ~ detect ~ ~ ~ minecraft:air 0 /kill @e[r=0,name=Teleport]"}},{id:MinecartCommandBlock,Command:setblock ~7 ~-2 ~-1 chain_command_block 13 replace {auto:1,Command:"/execute @e[name=Teleport,type=ArmorStand] ~ ~ ~ detect ~ ~ ~ minecraft:air 0 /particle smoke ~ ~ ~ 0 0 0 .1 10"}},{id:MinecartCommandBlock,Command:setblock ~6 ~-2 ~-1 chain_command_block 13 replace {auto:1,Command:"/execute @e[name=Teleport,type=ArmorStand] ~ ~ ~ detect ~ ~ ~ minecraft:air 0 /summon Item ~ ~ ~ {Item:{id:\\\"minecraft:armor_stand\\\",Count:1b,tag:{display:{Name:\\\"Téléporter\\\",Lore:[\\\"Permet de se téléporter verticalement\\\"]},ench:[{id:30,lvl:1}],EntityTag:{CustomName:\\\"Teleport1\\\",CustomNameVisible:0,Invisible:1,NoGravity:1}}}}"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~-1 chain_command_block 5 replace {auto:1,Command:"/execute @e[name=Teleport,type=ArmorStand] ~ ~ ~ detect ~ ~ ~ minecraft:air 0 /kill @e[r=1,tag=IronTrapDoor]"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~-1 chain_command_block 13 replace {auto:1,Command:"/entitydata @e[name=Teleport1,type=ArmorStand] {CustomName:\\\"Teleport\\\",CommandStats:{SuccessCountName:\\\"@e[r=0,c=1]\\\",SuccessCountObjective:\\\"TpFloor\\\"},Tags:[\\\"TpBase\\\"]}"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~-1 repeating_command_block 5 replace {auto:1,Command:"/execute @e[name=Teleport1,type=ArmorStand] ~ ~ ~ /setblock ~ ~ ~ iron_trapdoor"}},{id:MinecartCommandBlock,Command:setblock ~ ~ ~1 command_block 0 replace {Command:fill ~ ~-3 ~-1 ~ ~ ~ air}},{id:MinecartCommandBlock,Command:setblock ~ ~-1 ~1 redstone_block},{id:MinecartCommandBlock,Command:kill @e[type=MinecartCommandBlock,r=1]}]}]}]}

Pour crafter l'item rien de plus simple : (le craft donne 2 "teleporter")
2016-07-13_18.10.55.png

Vous pouvez ensuite vous amusez avec votre base souterraine super secrète ou votre base aérienne qui ne nécessite pas d'échelles , retenez tout de même que la portée maximale d'un téléporteur est de 100 blocs au dessus et en dessous mais rien ne vous empêche de mettre des étapes intermédiaires.

La vidéo :
Pour toutes questions , je suis à votre écoute par MP ou commentaires.
Si vous souhaiter utilisez ce NoMod dans une vidéo ou sur un autres topic , mettez au minimum un lien vers se sujet.
Bonne fin de journée à tous. ^^
 

Fichiers joints

  • 2016-06-09_18.47.01.png
    2016-06-09_18.47.01.png
    138 KB · Affichages: 425
Dernière édition: