diff --git a/datapack/data/fetchr/function/tick/tick.mcfunction b/datapack/data/fetchr/function/tick/tick.mcfunction index 0ef60a73..4f8770e8 100644 --- a/datapack/data/fetchr/function/tick/tick.mcfunction +++ b/datapack/data/fetchr/function/tick/tick.mcfunction @@ -31,6 +31,7 @@ execute if score $is_multiplayer fetchr.state matches 0 unless score $integrated execute unless score $integrated_server fetchr.state matches 1 run scoreboard players set $is_multiplayer fetchr.state 1 # Place the sign in resource pack check chamber +execute if entity @a[tag=fetchr.resourcepack_check, limit=1] run setblock 1 0 1 minecraft:sea_lantern execute if entity @a[tag=fetchr.resourcepack_check, limit=1] run setblock 1 2 1 minecraft:air execute if entity @a[tag=fetchr.resourcepack_check, limit=1] run setblock 1 2 1 minecraft:warped_wall_sign{front_text: {messages: ['{"translate": "fetchr.technical.resourcepack_version_{NEUN_SCRIPT:rp_version}", "fallback": "%2$s", "color": "#8eedeb", "with": [{"translate": "fetchr.resourcepack_check.sign.line1"}, {"translate": "fetchr.resourcepack_check.wrong_version.sign.line1", "fallback": "", "bold":true}], "clickEvent": {"action": "run_command", "value": "/trigger fetchr.resource_pack_check"}}', '{"translate": "fetchr.technical.resourcepack_version_{NEUN_SCRIPT:rp_version}", "fallback": "%2$s", "color": "#8eedeb", "with": [{"translate": "fetchr.resourcepack_check.sign.line2"}, {"translate": "fetchr.resourcepack_check.wrong_version.sign.line2", "fallback": "Download", "bold":true}]}', '{"translate": "fetchr.technical.resourcepack_version_{NEUN_SCRIPT:rp_version}", "fallback": "%2$s", "color": "#8eedeb", "with": [{"translate": "fetchr.resourcepack_check.sign.line3"}, {"translate": "fetchr.resourcepack_check.wrong_version.sign.line3", "fallback": "Resource Pack", "bold":true}]}', '{"translate": "fetchr.technical.resourcepack_version_{NEUN_SCRIPT:rp_version}", "fallback": "%2$s", "color": "#8eedeb", "with": [{"translate": "fetchr.resourcepack_check.sign.line4"}, {"translate": "fetchr.resourcepack_check.wrong_version.sign.line4", "fallback": "", "bold":true}]}']}} #NEUN_SCRIPT end