Skip to content

Commit

Permalink
Update commands to 1.20.6
Browse files Browse the repository at this point in the history
  • Loading branch information
wifi-left committed May 1, 2024
1 parent 2f497d3 commit 0b75bee
Show file tree
Hide file tree
Showing 1,499 changed files with 8,733 additions and 2,668 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
/level.dat_old
/build
/session.lock
/map_resourcepack
/map_resourcepack
/new_datapacks
4 changes: 0 additions & 4 deletions datapacks/G_CAR/data/gcar/functions/action.mcfunction

This file was deleted.

31 changes: 0 additions & 31 deletions datapacks/G_CAR/data/gcar/functions/change_action.mcfunction

This file was deleted.

69 changes: 0 additions & 69 deletions datapacks/G_CAR/data/gcar/functions/gcar_go.mcfunction

This file was deleted.

1 change: 0 additions & 1 deletion datapacks/G_CAR/data/gcar/functions/kill_a_car.mcfunction

This file was deleted.

2 changes: 0 additions & 2 deletions datapacks/G_CAR/data/gcar/functions/loot_car.mcfunction

This file was deleted.

6 changes: 0 additions & 6 deletions datapacks/G_CAR/data/gcar/functions/main.mcfunction

This file was deleted.

3 changes: 0 additions & 3 deletions datapacks/G_CAR/data/gcar/functions/put_car.mcfunction

This file was deleted.

5 changes: 0 additions & 5 deletions datapacks/G_CAR/data/gcar/functions/setup.mcfunction

This file was deleted.

1 change: 0 additions & 1 deletion datapacks/G_CAR/data/gcar/functions/test.mcfunction

This file was deleted.

5 changes: 0 additions & 5 deletions datapacks/G_CAR/data/minecraft/tags/functions/load.json

This file was deleted.

5 changes: 0 additions & 5 deletions datapacks/G_CAR/data/minecraft/tags/functions/tick.json

This file was deleted.

6 changes: 0 additions & 6 deletions datapacks/G_CAR/pack.mcmeta

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
##
## Datapack Upgrader v1.0.0 by wifi_left
## If you encounter a problem, make an issue on https://github.com/wifi-left/Datapack-Upgrader
##
# say @a[tag=bw.play]
scoreboard players reset * bw.tmp.ir
scoreboard players reset * bw.tmp.gd
Expand All @@ -16,7 +20,7 @@ scoreboard players set bw.state state 6
tag @a remove bw.play
gamemode spectator @a[tag=bw.player]
clear @a[tag=bw.player]
effect clear @a[tag=bw.player]
effect clear @a[tag=bw.player]
schedule function bedwars/after/tp 5s
forceload remove -216 300 -393 121
kill @e[type=item]
Expand All @@ -30,4 +34,4 @@ kill @e[tag=bw.entity]

scoreboard players reset @e[type=sheep,tag=bw.tntsheep]
kill @e[type=sheep,tag=bw.tntsheep]
kill @e[type=marker,tag=tntsheep.spawn]
kill @e[type=marker,tag=tntsheep.spawn]
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
##
## Datapack Upgrader v1.0.0 by wifi_left
## If you encounter a problem, make an issue on https://github.com/wifi-left/Datapack-Upgrader
##
tellraw @a ["\n\n\n\n\u00a7f\u00a7l平局 > \u00a7b此轮游戏是平局\n"]
title @a[tag=bw.player] title ["\u00a7c\u00a7lGAME OVER"]
title @a[tag=bw.player] subtitle ["\u00a7e平局"]
function minecraft:bedwars/after/over
function minecraft:bedwars/after/over
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
##
## Datapack Upgrader v1.0.0 by wifi_left
## If you encounter a problem, make an issue on https://github.com/wifi-left/Datapack-Upgrader
##
# say @a[tag=bw.play]
schedule clear bedwars/resets/mogu
schedule clear bedwars/resets/unnamed
Expand All @@ -20,7 +24,7 @@ scoreboard players set bw.state state 6
tag @a remove bw.play
gamemode spectator @a[tag=bw.player]
clear @a[tag=bw.player]
effect clear @a[tag=bw.player]
effect clear @a[tag=bw.player]
function bedwars/after/tp
forceload remove -216 300 -393 121
kill @e[type=item]
kill @e[type=item]
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
##
## Datapack Upgrader v1.0.0 by wifi_left
## If you encounter a problem, make an issue on https://github.com/wifi-left/Datapack-Upgrader
##
scoreboard players set bw.state state 0
gamemode adventure @a[tag=bw.player]

Expand All @@ -14,4 +18,4 @@ scoreboard players set §eBedwars@MiniGame bw.info 1
bossbar set minigames:bedwars value 1
bossbar set minigames:bedwars max 1
bossbar set minigames:bedwars players
bossbar set minigames:bedwars visible false
bossbar set minigames:bedwars visible false
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
##
## Datapack Upgrader v1.0.0 by wifi_left
## If you encounter a problem, make an issue on https://github.com/wifi-left/Datapack-Upgrader
##
tag @a[tag=bw.play] add bwneeds
tag @a[tag=bwneeds,nbt={Inventory:[{id:"minecraft:wooden_sword"}]}] remove bwneeds
tag @a[tag=bwneeds,nbt={Inventory:[{id:"minecraft:stone_sword"}]}] remove bwneeds
Expand All @@ -6,5 +10,5 @@ tag @a[tag=bwneeds,nbt={Inventory:[{id:"minecraft:diamond_sword"}]}] remove bwne

function fix:bw/armor

execute as @a[tag=INV,tag=bw.play,gamemode=!spectator] run function minecraft:bedwars/during/player/removearmor
execute as @a[tag=!INV,tag=bw.play,gamemode=!spectator] run function minecraft:bedwars/during/player/getarmor
execute as @a[tag=bw.play,gamemode=!spectator] run function minecraft:bedwars/during/player/removearmor
execute as @a[tag=bw.play,gamemode=!spectator] run function minecraft:bedwars/during/player/getarmor
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
execute as @e[tag=bw.bed.beds] at @s run setblock ~ ~ ~ air
##
## Datapack Upgrader v1.0.0 by wifi_left
## If you encounter a problem, make an issue on https://github.com/wifi-left/Datapack-Upgrader
##
execute as @e[tag=bw.bed.beds] at @s run setblock ~ ~ ~ air
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
##
## Datapack Upgrader v1.0.0 by wifi_left
## If you encounter a problem, make an issue on https://github.com/wifi-left/Datapack-Upgrader
##
tag @r[team=bw.wait,tag=!GOABLE.SPEC] add bw.rd.sel
execute if score bw.team.random board matches 0..0 run team join bw.green @a[tag=bw.rd.sel]
execute if score bw.team.random board matches 1..1 run team join bw.yellow @a[tag=bw.rd.sel]
Expand All @@ -6,3 +10,4 @@ execute if score bw.team.random board matches 3..3 run team join bw.blue @a[tag=
tag @a[tag=bw.rd.sel] remove bw.rd.sel
scoreboard players add bw.team.random board 1
execute if score bw.team.random board matches 4.. run scoreboard players set bw.team.random board 0

Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
##
## Datapack Upgrader v1.0.0 by wifi_left
## If you encounter a problem, make an issue on https://github.com/wifi-left/Datapack-Upgrader
##
tag @r[team=bw.wait,tag=!GOABLE.SPEC] add bw.rd.sel
execute if score bw.team.random1 board matches 0..0 run team join bw.red @a[tag=bw.rd.sel]
execute if score bw.team.random1 board matches 1..1 run team join bw.blue @a[tag=bw.rd.sel]
tag @a[tag=bw.rd.sel] remove bw.rd.sel
scoreboard players add bw.team.random1 board 1
execute if score bw.team.random1 board matches 2.. run scoreboard players set bw.team.random1 board 0

Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
##
## Datapack Upgrader v1.0.0 by wifi_left
## If you encounter a problem, make an issue on https://github.com/wifi-left/Datapack-Upgrader
##
tellraw @a[team=bw.wait] ["",{"text":"▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬","color":"green"},{"text":"\n\n "},{"text":"起床战争","bold":true,"color":"yellow"},{"text":"\n\n 保护你的床并摧毁敌人的床。收集铁锭,金锭,绿宝石和钻石\n 来升级,使自身和队伍变得更强。\n\n"},{"text":"▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬\n\n\u00a7a您可以使用 \u00a7e/tm <信息> \u00a7a进行队伍内聊天。","color":"green"}]

scoreboard players add globle globle.game 1
Expand All @@ -10,3 +14,4 @@ schedule clear bedwars/resets/unnamed
schedule clear bedwars/resets/glassworld
schedule clear bedwars/resets/special1
function minecraft:bedwars/reset

Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
##
## Datapack Upgrader v1.0.0 by wifi_left
## If you encounter a problem, make an issue on https://github.com/wifi-left/Datapack-Upgrader
##
playsound ui.button.click player @s
scoreboard players set wait.bw.player tick 0
execute as @a[team=bw.wait,gamemode=adventure] run scoreboard players add wait.bw.player tick 1
execute unless score bw.state state matches ..-1 unless score bw.state state matches 1.. if score wait.bw.player tick matches ..1 run title @a[team=bw.wait] subtitle ["\u00a7cWait for more players !"]
execute unless score bw.state state matches ..-1 unless score bw.state state matches 1.. if score wait.bw.player tick matches ..1 run title @a[team=bw.wait] title ["\u00a7fBedwars"]
execute unless score bw.state state matches ..-1 unless score bw.state state matches 1.. if score wait.bw.player tick matches 2.. run function minecraft:bedwars/before/start
execute unless score bw.state state matches ..-1 unless score bw.state state matches 1.. if score wait.bw.player tick matches 2.. run function minecraft:bedwars/before/start
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
##
## Datapack Upgrader v1.0.0 by wifi_left
## If you encounter a problem, make an issue on https://github.com/wifi-left/Datapack-Upgrader
##
execute store result score getx board run data get block ~ ~ ~ x
execute store result score gety board run data get block ~ ~ ~ y
execute store result score getz board run data get block ~ ~ ~ z
tellraw @a [{"score":{"name": "getx","objective": "board"},"color": "red"}," ",{"score":{"name": "gety","objective": "board"},"color": "red"}," ",{"score":{"name": "getz","objective": "board"},"color": "red"}]
tellraw @a [{"score":{"name": "getx","objective": "board"},"color": "red"}," ",{"score":{"name": "gety","objective": "board"},"color": "red"}," ",{"score":{"name": "getz","objective": "board"},"color": "red"}]
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
##
## Datapack Upgrader v1.0.0 by wifi_left
## If you encounter a problem, make an issue on https://github.com/wifi-left/Datapack-Upgrader
##
scoreboard players set bd.blue state 0
execute as @a[scores={pickblue=1..},team=bw.blue] run tellraw @s ["\u00a7c你不能破坏自己的床!"]
execute as @a[scores={pickblue=1..},team=bw.blue] run function minecraft:bedwars/resets/beds/blue
Expand Down Expand Up @@ -30,3 +34,4 @@ execute unless entity @a[scores={pickblue=1..},team=bw.blue] run title @a[team=b
# execute unless entity @a[scores={pickblue=1..},team=bw.blue] run scoreboard players display name blue bw.info "§9蓝§8 §r蓝队:§a§l"
execute unless entity @a[scores={pickblue=1..},team=bw.blue] run function minecraft:bedwars/during/updateinfo/blue
scoreboard players reset * pickblue

Loading

0 comments on commit 0b75bee

Please sign in to comment.