72: Portal bow [Minecraft Map Making]
Ep72: A bow for creating portals you can teleport through.
Originally for Udemy, but uploaded here.
Commands, builds and ideas for people making their own Minecraft maps.
Check out my collabs on Coppit's channel: https://www.youtube.com/c/CoppitJ
Join the server I play on and the Discord where I hang out.
Server IP: 51.81.246.145:25588
Discord: https://discord.gg/KNSmPWdnfG
Udemy notes. YouTube formatting may make some of these wrong. :)
Commands used:
Give the player a renamed bow:
give @p bow{display:{Name:'"Portal Bow"', Lore:['"An ordinary bow with a name."']}}
Give the player Exit Portal arrows:
give @p tipped_arrow{CustomPotionColor:16750848,exitArrow:1b,display:{Name:'"Portal Exit"', Lore:['"Creates a portal exit when it hits the ground."']}} 64
Give the player Entrance Portal arrows:
give @p tipped_arrow{CustomPotionColor:2056959,entranceArrow:1b,display:{Name:'"Portal Entrance"', Lore:['"Creates a portal entrance when it hits the ground."']}} 64
Remove existing Entrances:
execute at @e[type=arrow, nbt={inGround:1b,Color:2056959}] run kill @e[tag=entranceMarker]
Summon Entrance area effect cloud:
execute at @e[type=arrow, nbt={inGround:1b, Color:2056959}] if blocks 0 200 0 0 201 0 ~ ~ ~ all run summon area_effect_cloud ~ ~ ~ {Tags:["entranceMarker"], Duration:2147483647}
Remove Entrance arrow:
execute at @e[type=arrow, nbt={inGround:1b}] run kill @e[nbt={Color:2056959}]
Entrance Portal particles:
execute at @e[tag=entranceMarker] run particle minecraft:dust 0 0 1 1 ~ ~1 ~ .2 .3 .2 .0001 5
Remove Entrance if too far away:
execute at @p at @e[distance=20.., tag=entranceMarker] run kill @e[tag=entranceMarker]
Remove existing Exits:
execute at @e[type=arrow, nbt={inGround:1b,Color:16750848}] run kill @e[tag=exitMarker]
Summon Exit area effect cloud:
execute at @e[type=arrow, nbt={inGround:1b,Color:16750848}] if blocks 0 200 0 0 201 0 ~ ~ ~ all run summon area_effect_cloud ~ ~ ~ {Tags:["exitMarker"], Duration:2147483647}
Remove Exit arrow:
execute at @e[type=arrow, nbt={inGround:1b}] run kill @e[nbt={Color:16750848}]
Exit Portal particles:
execute at @e[tag=exitMarker] run particle minecraft:dust 1 0.8 0.3 1 ~ ~1 ~ .2 .3 .2 .0001 5
Remove Exit if too far away:
execute at @p at @e[distance=20.., tag=exitMarker] run kill @e[tag=exitMarker]
Teleport the player:
execute at @e[tag=entranceMarker] at @p[distance=..0.5] run tp @p @e[tag=exitMarker,limit=1]
Colour Integers:
Red: 13700378
Blue: 1513425
Cyan: 5754367
Black: 0
White: 16711680
Purple: 11210416
Yellow: 16777067
Green: 1167652
Grey: 8878484
Orange: 16555053
Brown: 8014870
Pink: 16753085
Other Videos By Infernal Device
Other Statistics
Minecraft Statistics For Infernal Device
At present, Infernal Device has 184,447 views spread across 877 videos for Minecraft, accounting for over 10 days of watchable video on his channel. This is 94.82% of the total watchable video for Minecraft on Infernal Device's YouTube channel.