Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

一部神器の使用不可メッセージをlib:messegeへ #239

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# @within function asset:artifact/0233.reversal/trigger/2.check_condition

playsound minecraft:block.note_block.bass player @s ~ ~ ~ 2 0.7
tellraw @s {"text":"発動条件を満たしていません。","color":"red"}
function lib:message/artifact/condition_not_met
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

# 夜かどうかをチェックする
execute if predicate lib:is_day run tag @s remove CanUsed
execute if predicate lib:is_day run tellraw @s {"text":"発動条件を満たしていません。","color":"red"}
execute if predicate lib:is_day run function lib:message/artifact/condition_not_met

# CanUsedタグをチェックして3.main.mcfunctionを実行する
execute if entity @s[tag=CanUsed] run function asset:artifact/0730.lake_reflecting_starry_sky/trigger/3.main
execute if entity @s[tag=CanUsed] run function asset:artifact/0730.lake_reflecting_starry_sky/trigger/3.main
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# @within function asset:artifact/1047.life_steal_emblem/trigger/2.check_condition/check_health_per

playsound minecraft:block.note_block.bass player @s ~ ~ ~ 2 0.7
tellraw @s {"text":"発動条件を満たしていません。","color":"red"}
function lib:message/artifact/condition_not_met
Loading