Skip to content

Commit

Permalink
qwq
Browse files Browse the repository at this point in the history
  • Loading branch information
Gu-ZT committed Mar 2, 2022
1 parent 93ca2c0 commit 41a0bb8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions data/anc/functions/config.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ scoreboard players set $ancExperienceRepair ancConfig 14
scoreboard players set $ancRookieMode ancConfig 1

# 是否启用空岛模式
scoreboard players set $ancSkylandMode ancConfig 0
scoreboard players set $ancSkylandMode ancConfig 1
# 当0 -64 0为虚空时自动启用空岛模式
execute if block 0 -64 0 air run scoreboard players set $ancSkylandMode ancConfig 1
# 是否启用单独岛屿
scoreboard players set $ancSingleLand ancConfig 0
scoreboard players set $ancSingleLand ancConfig 1

# 初始世界仇恨
scoreboard players set $ancHatred ancValue 0
Expand Down
2 changes: 2 additions & 0 deletions data/anc_is/functions/handle/join.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ execute if score $ancSingleLand ancConfig matches 0 run tag @s add non_is
execute if score $ancSingleLand ancConfig matches 0 run summon marker ~ ~ ~ {Tags:["isTemp"]}
execute if score $ancSingleLand ancConfig matches 0 run execute as @e[type=marker,tag=isTemp] at @s run function anc_is:land/marker

execute unless score $ancSingleLand ancConfig matches 0 if score @s ancUid matches 1 positioned 1000.5 64 0.5 run forceload add ~1 ~1 ~-1 ~-1
execute unless score $ancSingleLand ancConfig matches 0 if score @s ancUid matches 1 positioned 1000.5 64 0.5 run function anc_is:land/spawn_land
execute unless score $ancSingleLand ancConfig matches 0 if score @s ancUid matches 1 positioned 1000.5 64 0.5 run forceload remove ~1 ~1 ~-1 ~-1
execute unless score $ancSingleLand ancConfig matches 0 run tp @s 1000.5 64 0.5 ~ ~
execute unless score $ancSingleLand ancConfig matches 0 run spreadplayers 1000.5 0.5 0 3 false @s

Expand Down
6 changes: 3 additions & 3 deletions 一键打包.cmd
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
echo off
color 0a
title 自动打包
echo 打包中.....
title 自动打包
echo 打包中.....
pip install zipfile39
python .\Tools.py pack
echo 打包成功
echo 打包成功
pause

0 comments on commit 41a0bb8

Please sign in to comment.