253: 2-way portal arrows. [Minecraft Map Making]

Subscribers:
3,590
Published on ● Video Link: https://www.youtube.com/watch?v=x6zLqSJvXDM



Minecraft
Game:
Minecraft (2011)
Duration: 18:51
334 views
29


Ep253: Using arrows fired at the ground to create portals that can be used in either direction.

Java Version: 1.19

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 CoppitCraft server that I play on and the Discord where I hang out.
Server IP: 51.81.246.145:25588
Discord: https://discord.gg/amU84KykEu

The following commands are prefixed with three letters which represent the settings of the command block. E.g IUN: = Impulse Unconditional Needs_Redstone. These prefixes need to be removed if copying the commands.

Since angled brackets are not allowed in YouTube descriptions you will have to replace "greater than" with the appropriate angled bracket. Ascii code: 62

Commands used:

Setup:
IUN: scoreboard objectives add portal.cooldown dummy
CUA: scoreboard objectives add portal.id dummy

Give Arrow:
IUN: give @p tipped_arrow{CustomPotionColor:16750848,display:{Name:'"Portal Maker"', Lore:['"Creates a portal when it hits the ground."']}} 64

Controller:
RUA: execute at @e[tag=portalMarker] run particle dust 1 0.8 0.3 1 ~ ~1 ~ .2 .3 .2 .0001 5
CUA: execute at @e[type=arrow, nbt={inGround:1b,Color:16750848}] run summon marker ~ ~ ~ {Tags:["portalMarker","init"]}
CUA: kill @e[type=arrow, nbt={inGround:1b}]
CCA: execute store success score Portal.Toggle portal.id if score Portal.Toggle portal.id matches 0
CUA: execute if block x y z chain_command_block{SuccessCount:1} if score Portal.Toggle portal.id matches 0 run kill @e[type=marker,scores={portal.id=0}]
CUA: execute if block x y z chain_command_block{SuccessCount:1} if score Portal.Toggle portal.id matches 1 run kill @e[type=marker,scores={portal.id=1}]
CUA: scoreboard players operation @e[type=marker,tag=init] portal.id = Portal.Toggle portal.id
CUA: tag @e[type=marker] remove init

CUA: execute at @p as @e[type=marker,tag=portalMarker,distance=30..] run kill @s

CUA: execute as @a[scores={portal.cooldown=1..}] run scoreboard players remove @s portal.cooldown 1
CUA: execute at @e[tag=portalMarker] as @a[distance=..0.5] unless score @s portal.cooldown matches 1.. run tag @s add processTeleport
CUA: execute as @a[tag=processTeleport] at @s run tp @s @e[tag=portalMarker, sort=furthest, limit=1]
CUA: execute as @a[tag=processTeleport] run scoreboard players set @s portal.cooldown 60
CUA: tag @a remove processTeleport







Tags:
minecraft
adventure map
map making
commands
command blocks
1.18
custom commands
redstone
map ideas
map suggesstions
custom maps
1.19



Other Statistics

Minecraft Statistics For Infernal Device

At present, Infernal Device has 181,722 views spread across 860 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.