整理
This commit is contained in:
parent
8162a7031a
commit
47bd69d3a8
@ -7,7 +7,6 @@
|
|||||||
"player": [
|
"player": [
|
||||||
{
|
{
|
||||||
"condition": "minecraft:reference",
|
"condition": "minecraft:reference",
|
||||||
"entity": "this",
|
|
||||||
"name": "fzsd:used_tool"
|
"name": "fzsd:used_tool"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -4,4 +4,4 @@ execute if predicate fzsd:is_real_player run function fzsd:game_event/player/on_
|
|||||||
|
|
||||||
## 重置事件
|
## 重置事件
|
||||||
scoreboard players operation @s fzsd.event.aviating_distance %= 200 fzsd.variable.integer
|
scoreboard players operation @s fzsd.event.aviating_distance %= 200 fzsd.variable.integer
|
||||||
advancement revoke @s only fzsd:game_event/on_aviate_one_meter
|
advancement revoke @s from fzsd:game_event/on_aviate_one_meter
|
@ -4,4 +4,4 @@ execute if predicate fzsd:is_real_player run function fzsd:game_event/player/on_
|
|||||||
|
|
||||||
## 重置事件
|
## 重置事件
|
||||||
scoreboard players set @s fzsd.event.death_count 0
|
scoreboard players set @s fzsd.event.death_count 0
|
||||||
advancement revoke @s only fzsd:game_event/on_dead
|
advancement revoke @s from fzsd:game_event/on_dead
|
@ -4,4 +4,4 @@ execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellr
|
|||||||
function #fzsd:game_event/player/on_entered_nether_portal
|
function #fzsd:game_event/player/on_entered_nether_portal
|
||||||
|
|
||||||
## 重置事件进度
|
## 重置事件进度
|
||||||
advancement revoke @s only fzsd:game_event/on_entered_nether_portal
|
advancement revoke @s from fzsd:game_event/on_entered_nether_portal
|
@ -7,4 +7,4 @@ execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellr
|
|||||||
function #fzsd:game_event/player/on_fished
|
function #fzsd:game_event/player/on_fished
|
||||||
|
|
||||||
## 重置事件进度
|
## 重置事件进度
|
||||||
advancement revoke @s only fzsd:game_event/on_fished
|
advancement revoke @s from fzsd:game_event/on_fished
|
@ -10,4 +10,4 @@ scoreboard players remove @s fzsd.event.used_tool.dig_offset 1
|
|||||||
function #fzsd:game_event/player/on_hurt_entity_with_tools
|
function #fzsd:game_event/player/on_hurt_entity_with_tools
|
||||||
|
|
||||||
## 重置事件进度
|
## 重置事件进度
|
||||||
advancement revoke @s only fzsd:game_event/on_hurt_entity_with_tools
|
advancement revoke @s from fzsd:game_event/on_hurt_entity_with_tools
|
||||||
|
@ -7,4 +7,4 @@ execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellr
|
|||||||
function #fzsd:game_event/player/on_killed_mob_or_player
|
function #fzsd:game_event/player/on_killed_mob_or_player
|
||||||
|
|
||||||
## 重置事件进度
|
## 重置事件进度
|
||||||
advancement revoke @s only fzsd:game_event/on_killed_mob_or_player
|
advancement revoke @s from fzsd:game_event/on_killed_mob_or_player
|
@ -7,4 +7,4 @@ execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellr
|
|||||||
function #fzsd:game_event/player/on_piglin_trade
|
function #fzsd:game_event/player/on_piglin_trade
|
||||||
|
|
||||||
## 重置事件进度
|
## 重置事件进度
|
||||||
advancement revoke @s only fzsd:game_event/on_piglin_trade
|
advancement revoke @s from fzsd:game_event/on_piglin_trade
|
@ -7,4 +7,4 @@ execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellr
|
|||||||
function #fzsd:game_event/player/on_placed_block
|
function #fzsd:game_event/player/on_placed_block
|
||||||
|
|
||||||
## 重置事件进度
|
## 重置事件进度
|
||||||
advancement revoke @s only fzsd:game_event/on_placed_block
|
advancement revoke @s from fzsd:game_event/on_placed_block
|
@ -4,4 +4,4 @@ execute if predicate fzsd:is_real_player run function fzsd:game_event/player/on_
|
|||||||
|
|
||||||
## 重置事件
|
## 重置事件
|
||||||
scoreboard players operation @s fzsd.event.play_ticks %= 72000 fzsd.variable.integer
|
scoreboard players operation @s fzsd.event.play_ticks %= 72000 fzsd.variable.integer
|
||||||
advancement revoke @s only fzsd:game_event/on_play_one_hour
|
advancement revoke @s from fzsd:game_event/on_play_one_hour
|
@ -10,4 +10,4 @@ scoreboard players remove @s fzsd.event.used_tool.dig_offset 1
|
|||||||
function #fzsd:game_event/player/on_shears_used_on_entity
|
function #fzsd:game_event/player/on_shears_used_on_entity
|
||||||
|
|
||||||
## 重置事件进度
|
## 重置事件进度
|
||||||
advancement revoke @s only fzsd:game_event/on_shears_used_on_entity
|
advancement revoke @s from fzsd:game_event/on_shears_used_on_entity
|
@ -4,4 +4,4 @@ execute if predicate fzsd:is_real_player run function fzsd:game_event/player/on_
|
|||||||
|
|
||||||
## 重置事件
|
## 重置事件
|
||||||
scoreboard players operation @s fzsd.event.damage_taken %= 10 fzsd.variable.integer
|
scoreboard players operation @s fzsd.event.damage_taken %= 10 fzsd.variable.integer
|
||||||
advancement revoke @s only fzsd:game_event/on_took_damage
|
advancement revoke @s from fzsd:game_event/on_took_damage
|
@ -10,5 +10,5 @@ scoreboard players remove @s fzsd.event.used_tool.dig_offset 1
|
|||||||
function #fzsd:game_event/player/on_tools_used_on_block
|
function #fzsd:game_event/player/on_tools_used_on_block
|
||||||
|
|
||||||
## 重置事件进度
|
## 重置事件进度
|
||||||
advancement revoke @s only fzsd:game_event/on_tool_axes_used_on_block
|
advancement revoke @s from fzsd:game_event/on_tool_axes_used_on_block
|
||||||
advancement revoke @s only fzsd:game_event/on_tools_exclude_axes_used_on_block
|
advancement revoke @s from fzsd:game_event/on_tools_exclude_axes_used_on_block
|
@ -10,4 +10,4 @@ execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellr
|
|||||||
function #fzsd:game_event/player/on_unsneak
|
function #fzsd:game_event/player/on_unsneak
|
||||||
|
|
||||||
## 重置事件进度
|
## 重置事件进度
|
||||||
advancement revoke @s until fzsd:game_event/on_unsneak
|
advancement revoke @s through fzsd:game_event/on_unsneak
|
@ -6,4 +6,4 @@ execute if predicate fzsd:is_real_player run function fzsd:game_event/player/on_
|
|||||||
function #fzsd:game_event/player/on_used_tool/reset_used_tool
|
function #fzsd:game_event/player/on_used_tool/reset_used_tool
|
||||||
|
|
||||||
## 重置事件进度
|
## 重置事件进度
|
||||||
advancement revoke @s only fzsd:game_event/on_used_tool
|
advancement revoke @s from fzsd:game_event/on_used_tool
|
@ -7,4 +7,4 @@ execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellr
|
|||||||
function #fzsd:game_event/player/on_villager_trade
|
function #fzsd:game_event/player/on_villager_trade
|
||||||
|
|
||||||
## 重置事件进度
|
## 重置事件进度
|
||||||
advancement revoke @s only fzsd:game_event/on_villager_trade
|
advancement revoke @s from fzsd:game_event/on_villager_trade
|
@ -1 +1 @@
|
|||||||
tellraw @a [{"selector": "@s"}, [{"text": "说:我在", "color": "white"}, {"nbt": "fzsd.dimension.name", "interpret": true, "storage": "fzsd:here"}, [{"text": " [", "color": "green"}, {"nbt": "fzsd.x", "storage": "fzsd:here"}, {"text": ", "}, {"nbt": "fzsd.y", "storage": "fzsd:here"}, {"text": ", "}, {"nbt": "fzsd.z", "storage": "fzsd:here"}, {"text": "]"}], {"nbt": "fzsd.message.append", "interpret": true, "storage": "fzsd:here"}]]
|
tellraw @a [{"text": ""}, [{"selector": "@s"}, {"text": "说:我在", "color": "white"}, {"nbt": "fzsd.dimension.name", "interpret": true, "storage": "fzsd:here"}, [{"text": " [", "color": "green"}, {"nbt": "fzsd.x", "storage": "fzsd:here"}, {"text": ", "}, {"nbt": "fzsd.y", "storage": "fzsd:here"}, {"text": ", "}, {"nbt": "fzsd.z", "storage": "fzsd:here"}, {"text": "]"}], {"nbt": "fzsd.message.append", "interpret": true, "storage": "fzsd:here"}]]
|
@ -1,2 +1,2 @@
|
|||||||
execute if score @s fzsd.module.last_nether_portal.dimension matches -2147483648..2147483647 run tellraw @a [{"selector": "@s"}, [{"text": "说:我上次穿出的下界传送门位于", "color": "white"}, {"nbt": "fzsd.api.dimension.name", "interpret": true, "storage": "fzsd:global"}, [{"text": " [", "color": "green"}, {"score": {"name": "@s", "objective": "fzsd.module.last_nether_portal.x"}}, {"text": ", "}, {"score": {"name": "@s", "objective": "fzsd.module.last_nether_portal.z"}}, {"text": ", "}, {"score": {"name": "@s", "objective": "fzsd.module.last_nether_portal.z"}}, {"text": "]"}]]]
|
execute if score @s fzsd.module.last_nether_portal.dimension matches -2147483648..2147483647 run tellraw @a [{"text": ""}, [{"selector": "@s"}, {"text": "说:我上次穿出的下界传送门位于", "color": "white"}, {"nbt": "fzsd.api.dimension.name", "interpret": true, "storage": "fzsd:global"}, [{"text": " [", "color": "green"}, {"score": {"name": "@s", "objective": "fzsd.module.last_nether_portal.x"}}, {"text": ", "}, {"score": {"name": "@s", "objective": "fzsd.module.last_nether_portal.z"}}, {"text": ", "}, {"score": {"name": "@s", "objective": "fzsd.module.last_nether_portal.z"}}, {"text": "]"}]]]
|
||||||
execute unless score @s fzsd.module.last_nether_portal.dimension matches -2147483648..2147483647 run tellraw @s {"text": "你从未穿出过下界传送门!"}
|
execute unless score @s fzsd.module.last_nether_portal.dimension matches -2147483648..2147483647 run tellraw @s {"text": "你从未穿出过下界传送门!"}
|
@ -2,4 +2,4 @@
|
|||||||
data modify storage fzsd:install fzsd.global set value 0b
|
data modify storage fzsd:install fzsd.global set value 0b
|
||||||
|
|
||||||
## 日志
|
## 日志
|
||||||
execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"nbt": "fzsd.level.info", "interpret": true, "storage": "fzsd:logger"}, {"text": "卸载完成!"}]
|
tellraw @a [{"nbt": "fzsd.level.info", "interpret": true, "storage": "fzsd:logger"}, {"text": "卸载完成!"}]
|
Loading…
Reference in New Issue
Block a user