filmov
tv
How to make custom portals in minecraft! (using commands 1.19+)

Показать описание
works for Java edition 1.19+
commands (AA = always active)
give commands
1 (Impulse) /give @p cat_spawn_egg{display:{Name:'{"text":"place 1","color":"dark_aqua","bold":true,"italic":false}'},EntityTag:{id:"minecraft:armor_stand",NoGravity:1b,Silent:1b,Invulnerable:1b,Invisible:1,PersistenceRequired:1b,Tags:["tp1"]}} 1
2 (impulse) /give @p cat_spawn_egg{display:{Name:'{"text":"place 2","color":"dark_red","bold":true,"italic":false}'},EntityTag:{id:"minecraft:armor_stand",NoGravity:1b,Silent:1b,Invulnerable:1b,Invisible:1,PersistenceRequired:1b,Tags:["tp2"]}} 1
1 (repeating AA) /execute as @a[tag=!tp3] at @s if entity @e[tag=tp2,distance=...3] run tag @s add tp4
2 (chain AA) /execute as @a[tag=tp4] at @s if entity @e[tag=tp2,distance=...5] run tp @s @e[tag=tp1,limit=1]
3 (chain AA) /execute as @a[tag=tp3] at @s if entity @e[tag=tp2,distance=.6..] run tag @s remove tp3
4 (chain AA) execute as @e[tag=tp2] at @s if entity @e[tag=tp2,distance=1..] run kill @e[tag=tp2,limit=1,distance=1..,sort=furthest]
second line
1 (repeating AA) /execute as @a[tag=!tp4] at @s if entity @e[tag=tp1,distance=...3] run tag @s add tp3
2 (chain AA) /execute as @a[tag=tp3] at @s if entity @e[tag=tp1,distance=...5] run tp @s @e[tag=tp2,limit=1]
3 (chain AA) /execute as @a[tag=tp4] at @s if entity @e[tag=tp1,distance=.6..] run tag @s remove tp4
4 (chain AA) execute as @e[tag=tp1] at @s if entity @e[tag=tp1,distance=1..] run kill @e[tag=tp1,limit=1,distance=1..]
third line
1 (repeating AA) /execute as @e[tag=tp1] at @s run particle dust 1 2 0 1 ~ ~1 ~ 0.3 0.5 0.3 0.3 25 force @a
2 (repeating AA)/execute as @e[tag=tp2] at @s run particle dust 3 0 2 1 ~ ~1 ~ 0.3 0.5 0.3 0.3 25 force @a
commands (AA = always active)
give commands
1 (Impulse) /give @p cat_spawn_egg{display:{Name:'{"text":"place 1","color":"dark_aqua","bold":true,"italic":false}'},EntityTag:{id:"minecraft:armor_stand",NoGravity:1b,Silent:1b,Invulnerable:1b,Invisible:1,PersistenceRequired:1b,Tags:["tp1"]}} 1
2 (impulse) /give @p cat_spawn_egg{display:{Name:'{"text":"place 2","color":"dark_red","bold":true,"italic":false}'},EntityTag:{id:"minecraft:armor_stand",NoGravity:1b,Silent:1b,Invulnerable:1b,Invisible:1,PersistenceRequired:1b,Tags:["tp2"]}} 1
1 (repeating AA) /execute as @a[tag=!tp3] at @s if entity @e[tag=tp2,distance=...3] run tag @s add tp4
2 (chain AA) /execute as @a[tag=tp4] at @s if entity @e[tag=tp2,distance=...5] run tp @s @e[tag=tp1,limit=1]
3 (chain AA) /execute as @a[tag=tp3] at @s if entity @e[tag=tp2,distance=.6..] run tag @s remove tp3
4 (chain AA) execute as @e[tag=tp2] at @s if entity @e[tag=tp2,distance=1..] run kill @e[tag=tp2,limit=1,distance=1..,sort=furthest]
second line
1 (repeating AA) /execute as @a[tag=!tp4] at @s if entity @e[tag=tp1,distance=...3] run tag @s add tp3
2 (chain AA) /execute as @a[tag=tp3] at @s if entity @e[tag=tp1,distance=...5] run tp @s @e[tag=tp2,limit=1]
3 (chain AA) /execute as @a[tag=tp4] at @s if entity @e[tag=tp1,distance=.6..] run tag @s remove tp4
4 (chain AA) execute as @e[tag=tp1] at @s if entity @e[tag=tp1,distance=1..] run kill @e[tag=tp1,limit=1,distance=1..]
third line
1 (repeating AA) /execute as @e[tag=tp1] at @s run particle dust 1 2 0 1 ~ ~1 ~ 0.3 0.5 0.3 0.3 25 force @a
2 (repeating AA)/execute as @e[tag=tp2] at @s run particle dust 3 0 2 1 ~ ~1 ~ 0.3 0.5 0.3 0.3 25 force @a
Комментарии