move 1ps to datapacks folder (woops)
This commit is contained in:
3
datapacks/1ps-1516729816-1/data/1ps/functions/internal_loop.mcfunction
Executable file
3
datapacks/1ps-1516729816-1/data/1ps/functions/internal_loop.mcfunction
Executable file
@@ -0,0 +1,3 @@
|
||||
time add 125
|
||||
execute as @a[nbt={SleepTimer:1s}] run tellraw @a [{"selector":"@s","color":"yellow"},{"text":" is now sleeping ","color":"yellow"}]
|
||||
execute if entity @a[nbt={SleepTimer:99s}] run weather clear 0
|
||||
1
datapacks/1ps-1516729816-1/data/1ps/functions/loop.mcfunction
Executable file
1
datapacks/1ps-1516729816-1/data/1ps/functions/loop.mcfunction
Executable file
@@ -0,0 +1 @@
|
||||
execute if entity @a[nbt={Sleeping:1b}] run function 1ps:internal_loop
|
||||
4
datapacks/1ps-1516729816-1/data/1ps/tags/functions/tick.json
Executable file
4
datapacks/1ps-1516729816-1/data/1ps/tags/functions/tick.json
Executable file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [ "1ps:loop" ]
|
||||
}
|
||||
4
datapacks/1ps-1516729816-1/data/minecraft/tags/functions/tick.json
Executable file
4
datapacks/1ps-1516729816-1/data/minecraft/tags/functions/tick.json
Executable file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [ "#1ps:tick" ]
|
||||
}
|
||||
6
datapacks/1ps-1516729816-1/pack.mcmeta
Executable file
6
datapacks/1ps-1516729816-1/pack.mcmeta
Executable file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"pack": {
|
||||
"pack_format": 3,
|
||||
"description": "Only 1 player has to sleep through the night"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user