276: Summon sheep with random colour and score in one command. [Minecraft Map Making]
Ep276: Using one command to summon a sheep with a random colour, and giving it a score to match that colour so it can be targeted easily later.
Version: 1.20.2
Suggestion: hernangonzalez7150
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 myColour dummy
Summon:
IUN: execute positioned ~ ~ ~ summon sheep store result score @s myColour store result entity @s Color byte 1 run random value 0..14
Kill:
IUN: kill @e[type=sheep, scores={myColour=0..}]
Other Videos By Infernal Device
Other Statistics
Minecraft Statistics For Infernal Device
At present, Infernal Device has 181,586 views spread across 859 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.