
Random Reward Generator - Create Your Own Minigame - Paper 1.17 - Minecraft Command Blocks - Ep. 5
Every daylight cycle we give all players a random reward out of 10 options,
How to set it up and some neat tips and tricks for rewards and titles in the actionbar.
Some footage seems a bit out of sync, having some difficulties with Blender video editing desyncing the audio from the video during rendering, apologies for that, I made multiple new renders to correct it.
#random #reward #minecraft
You will learn the following things:
➡️ Creating titles, subtitles and action bar titles
➡️ Using the daylight sensor
➡️ Setblock commands
➡️ Creating a command block clock
➡️ Branching random generated values
➡️ Give enchanted and custom items with display name and lore
➡️ Use multiple colors in titles
Commands used:
𝗗𝗮𝘆𝗹𝗶𝗴𝗵𝘁 𝘀𝗲𝗻𝘀𝗼𝗿 𝗼𝗽𝗲𝗿𝗮𝘁𝗶𝗼𝗻
📇 setblock ~ ~ ~ minecraft:redstone_block replace
📇 setblock ~ ~ ~ minecraft:stone replace
𝗖𝗿𝗲𝗮𝘁𝗲 𝘀𝗰𝗼𝗿𝗲𝗯𝗼𝗮𝗿𝗱 𝗼𝗯𝗷𝗲𝗰𝘁𝗶𝘃𝗲𝘀
📜 /scoreboard objectives add Randomizer dummy
📜 /scoreboard objectives add RandomizerDef dummy
𝗥𝗮𝗻𝗱𝗼𝗺𝗶𝘇𝗲𝗿 𝗼𝗽𝗲𝗿𝗮𝘁𝗶𝗼𝗻
📇 scoreboard players add gameEngine Randomizer 1
📇 scoreboard players set gameEngine RandomizerDef 12
📇 execute if score gameEngine Randomizer 〉= gameEngine RandomizerDef run scoreboard players set gameEngine Randomizer 1 (replace the angled brackets with a normal angle bracket, cant use those in youtube desc)
𝗜𝗳 𝘀𝘁𝗮𝘁𝗲𝗺𝗲𝗻𝘁 𝗿𝗮𝗻𝗱𝗼𝗺 𝗴𝗶𝗳𝘁𝘀
📇 execute if score gameEngine Randomizer matches 1 (replace 1 with 2 - 11 for the other branches)
𝗦𝗲𝘃𝗲𝗿𝗮𝗹 𝗲𝘅𝗮𝗺𝗽𝗹𝗲𝘀 𝗳𝗼𝗿 𝗿𝗮𝗻𝗱𝗼𝗺 𝗴𝗶𝗳𝘁𝘀
📇 give @a[distance=..800] minecraft:cookie{display:{Name:'{"text":"Sand Cookie","color":"yellow"}'}} 5
📇 title @a[distance=..800] actionbar {"text":"Did someone bake some cookies?","color":"white"}
📇 scoreboard players add @a[distance=..800] gold 50
𝗦𝗲𝘃𝗲𝗿𝗮𝗹 𝗲𝘅𝗮𝗺𝗽𝗹𝗲𝘀 𝗳𝗼𝗿 𝗮𝗰𝘁𝗶𝗼𝗻𝗯𝗮𝗿 𝘁𝗶𝘁𝗹𝗲𝘀
📇 give @a[distance=..800] minecraft:iron_pickaxe{Enchantments:[{id:unbreaking, lvl:3}],HideFlags:1, display:{Name:'{"text":"Sturdy Pick","color":"green","italic":FALSE}',Lore:['[{"text":"This looks rather durable","italic":FALSE}]']}} 1
📇 title @a[distance=..800] actionbar [{"text":"Jackpot!","color":"gold"},{"text":" All players recieved 50 gold!","color":"white"}]
Thank you so much for watching!
0:00 Intro
0:45 Daylight sensor triggers
1:35 Example title and subtitle
2:40 Creating command block clock
5:31 Set up Randomizer branches
6:00 Create rewards with unique Enchantments, Lore and Names
9:00 Create rewards with scoreboard objective Gold
9:40 Example title actionbar
10:38 Initial test and adjustments
14:08 Split up title text and color
3:53 Teleport everyone to spawn on stop command
5:01 Fix inactive teams dissapearing
8:00 Removing teams on stop command
9:20 Adding Placeholder player to teams
14:06 Disabling PVP and spawn exit
Subscribe! Subscribing is free and helps us grow
❤️ https://www.youtube.com/channel/UCxnPA3lQx8rBUzEpdIgzOaA?sub_confirmation=1
Join our discord:
💬 https://discord.gg/mA6mtMq
Join this channel to get access to perks:
💸 https://www.youtube.com/channel/UCxnPA3lQx8rBUzEpdIgzOaA/join
Other Videos By Forgotten Games
Other Statistics
Minecraft Statistics For Forgotten Games
Forgotten Games presently has 156,182 views for Minecraft across 41 videos, with His channel uploaded over 1 day worth of Minecraft videos. This makes up 5.16% of the content that Forgotten Games has uploaded to YouTube.