312: Infinite or reusable ender pearl. [Minecraft Map Making]
Ep312: Giving the player another ender pearl when the one they last threw hits the ground.
Version: 1.19.4
Commands, builds and ideas for people making their own Minecraft maps.
Check out my collabs on Coppit's channel: / coppitj
Join the CoppitCraft server that I play on and the Discord where I hang out.
Server IP: 51.81.246.145:25588
Discord: / discord
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 used_pearl used:ender_pearl
CUA: scoreboard objectives add id dummy
Assign ID:
RUA: execute as @a unless score @s id = @s id store result score @s id run scoreboard players add #idHolder id 1
Give:
IUN: give @p ender_pearl{infinite:true}
Controller:
RUA: execute as @a[scores={used_pearl=1..}] anchored eyes at @s positioned ^ ^ ^0.5 as @e[type=ender_pearl,nbt={Item:{tag:{infinite:true}}},limit=1,sort=nearest] run summon marker ~ ~ ~ {Tags:["check_me"]}
CUA: execute as @e[tag=check_me] at @s run ride @s mount @e[type=ender_pearl,limit=1,sort=nearest,nbt={Item:{tag:{infinite:true}}}]
CCA: scoreboard players operation @e[tag=check_me] id = @p[scores={used_pearl=1..}] id
CUA: execute as @e[tag=check_me] at @s unless entity @e[type=ender_pearl, distance=0..1, limit=1] run tag @s add landed
CCA: execute as @e[tag=landed] at @s as @a if score @s id = @e[tag=landed, limit=1] id run give @s ender_pearl{infinite:true}
CCA: kill @e[tag=landed]
CUA: scoreboard players reset @a used_pearl
Other Videos By Infernal Device
Other Statistics
Minecraft Statistics For Infernal Device
At present, Infernal Device has 182,428 views spread across 865 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.