Explorar el Código

容器检查调整为一秒一次

LTCatt hace 6 años
padre
commit
3b700e0b84

+ 0 - 3
data/item/functions/tick2.mcfunction

@@ -12,6 +12,3 @@ execute if score $state mem matches 1.. as @a unless data entity @s Inventory[{S
 # 清除临时物品
 clear @a red_dye{LockTempItem:1b}
 kill @e[type=item,tag=LockTempItem,nbt={Item:{tag:{LockTempItem:1b}}}]
-
-# 检测容器
-function item:container/check/call

+ 3 - 0
data/item/functions/tick20.mcfunction

@@ -0,0 +1,3 @@
+
+# 检测容器
+function item:container/check/call

+ 1 - 0
data/ltw/functions/clock/tick20.mcfunction

@@ -2,6 +2,7 @@
 schedule function ltw:clock/tick20 20t replace
 
 # 调用其他模块
+function item:tick20
 execute if score $state mem matches 0 run function ltw:state/0/tick20
 execute if score $state mem matches 3 run function ltw:state/3/tick20
 execute if score $state mem matches 4 run function ltw:state/4/tick20

+ 0 - 1
data/ltw/functions/main/player_leave.mcfunction

@@ -10,7 +10,6 @@ execute if score $state mem matches 1.. if score $game_type mem matches 1 if sco
 execute if score $state mem matches 5 if score $mini_type mem matches 3 run function mini:hotpm/player_leave
 
 # FIXME : [010/HIM] 关闭原版进度,它会给玩家经验值什么的很烦
-# TODO : [010] 如果熔炉内有下界之星(魔晶石),则显示提示并自爆
 # TODO : [010/HIM] 为幻翼小游戏地图添加基础的照明,因为这个游戏里玩家莫得夜视
 # TODO : [LTCat] 制作幻翼小游戏的原型
 # TODO : [010/HIM] 在主阶段(state 2)玩家背包里每有一个下界之星(魔晶石),给予 -10% 减速