404: Edible item with random effects. [Minecraft Map Making]

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



Minecraft
Game:
Minecraft (2011)
Duration: 0:00
161 views
11


Membership:    / @infernaldevice  
Ep404: Eat the item, something random happens.

00:00 Intro
00:20 Setup
01:05 Give item
02:25 Controller
06:00 Fixing controller
07:05 Waffling

Version: 1.21

Idea by: Yushiko

Commands, builds, hacks 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 used_shard used:amethyst_shard
CUA: scoreboard objectives add random_number dummy

Give:
IUN: give @p amethyst_shard[item_name='{"text":"Magic Shard", "color":"green", "bold":true}', food={nutrition:1 ,saturation:1, can_always_eat:true, eat_seconds:0.1}]

Controller:
RUA: execute as @a[scores={used_shard=1..}] store result score @s random_number run random value 0..3
CUA: execute as @a[scores={used_shard=1.., random_number=0}] run attribute @s generic.scale base set 0.5
CUA: execute as @a[scores={used_shard=1.., random_number=1}] run attribute @s generic.scale base set 1
CUA: execute as @a[scores={used_shard=1.., random_number=2}] run effect give @s levitation 5 0 true
CUA: execute as @a[scores={used_shard=1.., random_number=3}] run effect give @s slowness 5 1 true
CUA: scoreboard players reset @a[scores={used_shard=1..}] used_shard







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.