349: Did a player throw this item? Experiments. [Minecraft Map Making]
Ep349: Playing around with commands checking for items thrown by a player.
Version: 1.19
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" and "less than" with the appropriate angled bracket.
Commands used:
Setup:
IUN: scoreboard objectives add checked dummy
Any thrown Item Continuous:
RUA: execute as @e[type=item] if data entity @s Thrower run data merge entity @s {Glowing:1b}
Any thrown Item Once:
RUA: execute as @e[type=item] unless score @s checked matches 0.. if data entity @s Thrower store success score @s checked run say hi
On player:
RUA: execute as @e[type=item, nbt={OnGround:true, Item:{id:"minecraft:gold_block"}}] at @s if block ~ ~-0.1 ~ obsidian on origin if entity @s[type=player] run say I threw this!
On player Once:
RUA: execute as @e[type=item] unless score @s checked matches 0.. store success score @s checked at @s[nbt={OnGround:true, Item:{id:"minecraft:gold_block"}}] if block ~ ~-0.1 ~ obsidian on origin if entity @s[type=player] run say I threw this!
Other Videos By Infernal Device
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.