为1.18删除了一些不支持的功能
This commit is contained in:
parent
c39ff19f1d
commit
a91675e75e
6
.vscode/settings.json
vendored
6
.vscode/settings.json
vendored
@ -17,7 +17,7 @@
|
|||||||
"storageText": "{\"nbt\": \"${1:NBT}\", \"interpret\": true, \"storage\": \"${2:A namespaced ID}\"}",
|
"storageText": "{\"nbt\": \"${1:NBT}\", \"interpret\": true, \"storage\": \"${2:A namespaced ID}\"}",
|
||||||
"ifInstalled": "execute if data storage fzsd:installed fzsd.module{${1:module_name}:1b} run ${tellraw}"
|
"ifInstalled": "execute if data storage fzsd:installed fzsd.module{${1:module_name}:1b} run ${tellraw}"
|
||||||
},
|
},
|
||||||
"datapack.env.cmdVersion": "1.19",
|
"datapack.env.cmdVersion": "1.18.2",
|
||||||
"datapack.env.jsonVersion": "1.19",
|
"datapack.env.jsonVersion": "1.18.2",
|
||||||
"datapack.env.dataVersion": "1.19"
|
"datapack.env.dataVersion": "1.18.2"
|
||||||
}
|
}
|
@ -1,7 +0,0 @@
|
|||||||
data modify storage fzsd:global fzsd.api.dimension.id set from entity @s LastDeathLocation.dimension
|
|
||||||
execute store result storage fzsd:last_death fzsd.x int 1 run data get entity @s LastDeathLocation.pos[0]
|
|
||||||
execute store result storage fzsd:last_death fzsd.y int 1 run data get entity @s LastDeathLocation.pos[1]
|
|
||||||
execute store result storage fzsd:last_death fzsd.z int 1 run data get entity @s LastDeathLocation.pos[2]
|
|
||||||
|
|
||||||
## 调试
|
|
||||||
execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "玩家"}, {"selector": "@s"}, {"text": "获取了死亡点"}]
|
|
@ -1,5 +0,0 @@
|
|||||||
## 标记为已安装
|
|
||||||
data modify storage fzsd:install fzsd.module.last_death set value 1b
|
|
||||||
|
|
||||||
## 日志
|
|
||||||
execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"nbt": "fzsd.level.info", "interpret": true, "storage": "fzsd:logger"}, {"text": "已安装组件:上一死亡点"}]
|
|
@ -1 +0,0 @@
|
|||||||
execute if data storage fzsd:install fzsd.module{last_death:1b} run tellraw @s [{"text": "获取上一死亡点:"},[{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "value": "发送给:自己"}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -2100"}},{"text": "私信", "color": "aqua"},{"text": "]"}]]
|
|
@ -1 +0,0 @@
|
|||||||
execute if score @s fzsd.module.interactor.trigger matches -2100 run function #fzsd:module/last_death/private_message
|
|
@ -1,2 +0,0 @@
|
|||||||
execute if data entity @s LastDeathLocation run tellraw @s [{"text": "你上次死亡于"}, {"nbt": "fzsd.api.dimension.name", "interpret": true, "storage": "fzsd:global"}, [{"text": " [", "color": "green"}, {"nbt": "fzsd.x", "storage": "fzsd:last_death"}, {"text": ", "}, {"nbt": "fzsd.y", "storage": "fzsd:last_death"}, {"text": ", "}, {"nbt": "fzsd.z", "storage": "fzsd:last_death"}, {"text": "]"}]]
|
|
||||||
execute unless data entity @s LastDeathLocation run tellraw @s {"text": "你从未死亡!"}
|
|
@ -1,7 +0,0 @@
|
|||||||
data remove storage fzsd:last_death fzsd
|
|
||||||
|
|
||||||
## 标记为已卸载
|
|
||||||
data modify storage fzsd:install fzsd.module.last_death 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": "已卸载组件:上一死亡点"}]
|
|
@ -5,7 +5,6 @@
|
|||||||
"fzsd:module/interactor/interactor/display",
|
"fzsd:module/interactor/interactor/display",
|
||||||
"#fzsd:module/scoreboard/interactor/display",
|
"#fzsd:module/scoreboard/interactor/display",
|
||||||
"#fzsd:module/here/interactor/display",
|
"#fzsd:module/here/interactor/display",
|
||||||
"#fzsd:module/last_death/interactor/display",
|
|
||||||
"#fzsd:module/last_nether_portal/interactor/display",
|
"#fzsd:module/last_nether_portal/interactor/display",
|
||||||
"#fzsd:module/last_spawn_point/interactor/display"
|
"#fzsd:module/last_spawn_point/interactor/display"
|
||||||
]
|
]
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
"fzsd:module/interactor/interactor/on_click",
|
"fzsd:module/interactor/interactor/on_click",
|
||||||
"#fzsd:module/scoreboard/interactor/on_click",
|
"#fzsd:module/scoreboard/interactor/on_click",
|
||||||
"#fzsd:module/here/interactor/on_click",
|
"#fzsd:module/here/interactor/on_click",
|
||||||
"#fzsd:module/last_death/interactor/on_click",
|
|
||||||
"#fzsd:module/last_nether_portal/interactor/on_click",
|
"#fzsd:module/last_nether_portal/interactor/on_click",
|
||||||
"#fzsd:module/last_spawn_point/interactor/on_click"
|
"#fzsd:module/last_spawn_point/interactor/on_click"
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user