Skip to content

Commit c519088

Browse files
ALB: 现在支持回退已修改的游戏规则
1 parent d73dc23 commit c519088

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
gamerule doDaylightCycle true
2+
gamerule keepInventory false
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
team remove dfl

Lucky-Block-Island/data/lucky_block_island/function/tick.mcfunction

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ execute as @a unless score @s no.friendly.fire.and.collision matches 1 run \
2222
execute as @a unless score @s clear.offhand matches 1 run \
2323
scoreboard players set @s clear.offhand 0
2424

25+
# 禁用功能
26+
execute unless entity @a[scores={minecraft.is.too.hard=1}] run \
27+
function lucky_block_island:disable/minecraft.is.too.hard
28+
execute unless entity @a[scores={no.friendly.fire.and.collision=1}] run \
29+
function lucky_block_island:disable/no.friendly.fire.and.collision
30+
2531
# minecraft is too hard
2632
execute as @a[scores={minecraft.is.too.hard=1}] run \
2733
function dfl:tick/mith

0 commit comments

Comments
 (0)