execute if data storage manic:storage root.temp.ritual{error:"invalid"} run data modify storage nucleus:storage root.temp.actionbar set value {freeze:45,priority:1,json:'{"color":"red","translate":"ui.manic.ritual.reject.invalid"}'}
execute if data storage manic:storage root.temp.ritual{error:"placement"} run data modify storage nucleus:storage root.temp.actionbar set value {freeze:45,priority:1,json:'{"color":"red","translate":"ui.manic.ritual.reject.placement"}'}
execute if data storage manic:storage root.temp.ritual{error:"high_sanity"} run data modify storage nucleus:storage root.temp.actionbar set value {freeze:45,priority:1,json:'{"color":"red","translate":"ui.manic.ritual.reject.high_sanity"}'}
execute if data storage manic:storage root.temp.ritual{error:"insomniac_spawn"} run data modify storage nucleus:storage root.temp.actionbar set value {freeze:45,priority:1,json:'{"color":"red","translate":"ui.manic.ritual.reject.too_recent","with":[{"translate":"entity.manic.insomniac"},{"score":{"name":"#manic.spawning.insomniac","objective":"manic.dummy"}}]}'}
execute if data storage manic:storage root.temp.ritual{error:"piglin_monk_spawn"} run data modify storage nucleus:storage root.temp.actionbar set value {freeze:45,priority:1,json:'{"color":"red","translate":"ui.manic.ritual.reject.too_recent","with":[{"translate":"entity.manic.piglin_monk"},{"score":{"name":"#manic.spawning.piglin_monk","objective":"manic.dummy"}}]}'}
execute if data storage manic:storage root.temp.ritual{error:"overworld"} run data modify storage nucleus:storage root.temp.actionbar set value {freeze:45,priority:1,json:'{"color":"red","translate":"ui.manic.ritual.reject.dimension","with":[{"translate":"dimension.minecraft.overworld"}]}'}
execute if data storage manic:storage root.temp.ritual{error:"the_nether"} run data modify storage nucleus:storage root.temp.actionbar set value {freeze:45,priority:1,json:'{"color":"red","translate":"ui.manic.ritual.reject.dimension","with":[{"translate":"dimension.minecraft.the_nether"}]}'}
execute if data storage manic:storage root.temp.ritual{error:"blood_moon"} run data modify storage nucleus:storage root.temp.actionbar set value {freeze:45,priority:1,json:'{"color":"red","translate":"ui.manic.ritual.reject.blood_moon"}'}

function nucleus:entity/player/actionbar/message
