Minecraft Longer Day AND OnePlayerSleep Command Setup
>> YOUR LINK HERE: ___ http://youtube.com/watch?v=MundQDDKFTI
Still works 1.15 • Using command blocks to make time move more slowly, but also allowing for a single person to sleep and advance the day whether on a server or solo. This setup will make your Minecraft day take 20 minutes vs the normal 10. • Time elongation based on Adahop’s design: http://bit.ly/31ZOBUU • One-Player-Sleep modified from u/Xenotracker http://bit.ly/2qdWQQc • Section A - Time Elongation • 1: /scoreboard players add #TIMER TIMER 1 • 2: execute if score #TIMER TIMER matches 2 run time add 1t • 3: execute if score #TIMER TIMER matches 2 run scoreboard players set #TIMER TIMER 0 • 4 - Chat: /scoreboard objectives add TIMER dummy • 5: /gamerule doDaylightCycle false • Section B - Back Six • CHAT • 1: /scoreboard objectives add sleep dummy • 2: /scoreboard objectives add KickBed trigger • BLOCKS • 1: execute as @a store result score @s sleep run data get entity @s SleepTimer • 2: execute as @a[scores={sleep=1}] run tellraw @a { text : , color : aqua , extra :[{ selector : @s },{ text : is now sleeping. , color : green , clickEvent :{ action : run_command , value : /trigger KickBed set 1 }, hoverEvent :{ action : show_text , value :{ text : , extra :[{ text : Click to Kick!!! , color : red }]}}}]} • 3: execute if entity @a[scores={sleep=1..}] run scoreboard players enable @a KickBed • 4: execute if entity @a[scores={sleep=100}] run time add 50t • 5: execute if entity @a[scores={sleep=100}] run weather rain 1 • 6: execute if entity @a[scores={KickBed=1..}] run tellraw @a { text : , extra :[{ selector : @p[scores={KickBed=1}] , color : aqua },{ text : doesn't want to skip the night! , color : dark_red }]} • Section C - Green Guys • Back: execute as @a[scores={sleep=1..}] at @s run tp ~ ~ ~ • Front: scoreboard players set @a KickBed 0 • Section D - Outliers • 1: execute if entity @a[scores={sleep=90}] run gamerule doDaylightCycle true • 2: execute if entity @a[scores={sleep=0}] run gamerule doDaylightCycle false • If you have any questions, don’t be afraid to ask them in the comments! • Note: Section B, BLOCKS command 4 has been altered since the video was created
#############################
