244: Set NBT to a score. [Minecraft Map Making]
Re-upload: Last video had no voice over. Oops! :)
Ep244: Setting NBT to a value stored in a scoreboard objective.
Requested by: PixelatedCommands
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 myScore dummy
Summon Cloud:
IUN: summon area_effect_cloud ~ ~ ~3 {Tags:["myCloud"], Duration:2000}
Change radius to score:
IUN: scoreboard players set #fakePlayer myScore 1
CUA: execute as @e[tag=myCloud,limit=1] store result entity @s Radius float 1 run scoreboard players get #fakePlayer myScore
Summon Zombie
IUN: summon zombie ~ ~ ~3 {Tags:["myZombie"], ArmorItems:[{},{},{},{id:"minecraft:stone_button", Count:1b}]}
Convert to drowned:
IUN: scoreboard players set #fakePlayer myScore 1
CUA: execute as @e[tag=myZombie,limit=1] store result entity @s DrownedConversionTime short 1 run scoreboard players get #fakePlayer myScore
Set on fire:
IUN: scoreboard players set #fakePlayer myScore 1000
CUA: execute as @e[tag=myZombie,limit=1] store result entity @s Fire short 1 run scoreboard players get #fakePlayer myScore
Change to baby:
IUN: scoreboard players set #fakePlayer myScore 1
CUA: execute as @e[tag=myZombie,limit=1] store result entity @s IsBaby byte 1 run scoreboard players get #fakePlayer myScore
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.