summon marker ~ ~1 ~ {CustomName:'{"text":"reality_charge"}'}

execute if block ~ ~ ~ kubejs:reality_controller[facing=north] run summon marker ~ ~4.5 ~4 {Tags:["nether"],CustomName:'{"text":"reality_core"}'}
execute if block ~ ~ ~ kubejs:reality_controller[facing=east] run summon marker ~-4 ~4.5 ~ {Tags:["nether"],CustomName:'{"text":"reality_core"}'}
execute if block ~ ~ ~ kubejs:reality_controller[facing=south] run summon marker ~ ~4.5 ~-4 {Tags:["nether"],CustomName:'{"text":"reality_core"}'}
execute if block ~ ~ ~ kubejs:reality_controller[facing=west] run summon marker ~4 ~4.5 ~ {Tags:["nether"],CustomName:'{"text":"reality_core"}'}

execute at @e[type=marker,name=reality_core,sort=nearest,limit=1] positioned ~4 ~-4 ~4 run function backrooms:reality_check