execute as @e[type=item,nbt={Item:{id:"minecraft:copper_ingot",count:1}},tag=jjc_portalitem] at @s if entity @e[type=block_display,tag=jjc_portal,distance=..1] run tag @s remove jjc_portalitem
execute as @e[type=item,nbt={Item:{id:"minecraft:copper_ingot",count:1}},tag=jjc_portalitem,predicate=colosseum_of_fools:portal_x_yrjjc] at @s align xyz positioned ~0.5 ~ ~0.5 unless entity @e[type=block_display,tag=jjc_portal,distance=..1] run summon minecraft:block_display ~ ~ ~ {Tags:["jjc_portal","jjc","jjc_portal_yrjjc"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[0.5f,0f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]},Passengers:[{id:"block_display",Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[0.5f,1f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[0.5f,2f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[1.5f,0f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[1.5f,1f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[1.5f,2f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[-0.5f,0f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[-0.5f,1f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[-0.5f,2f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}}]}
execute as @e[type=item,nbt={Item:{id:"minecraft:copper_ingot",count:1}},tag=jjc_portalitem,predicate=colosseum_of_fools:portal_z_yrjjc] at @s align xyz positioned ~0.5 ~ ~0.5 unless entity @e[type=block_display,tag=jjc_portal,distance=..1] run summon minecraft:block_display ~ ~ ~ {Rotation:[-90f,0f],Tags:["jjc_portal","jjc","jjc_portal_yrjjc"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[0.5f,0f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]},Passengers:[{id:"block_display",Rotation:[-90f,0f],Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[0.5f,1f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Rotation:[-90f,0f],Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[0.5f,2f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Rotation:[-90f,0f],Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[1.5f,0f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Rotation:[-90f,0f],Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[1.5f,1f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Rotation:[-90f,0f],Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[1.5f,2f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Rotation:[-90f,0f],Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[-0.5f,0f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Rotation:[-90f,0f],Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[-0.5f,1f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Rotation:[-90f,0f],Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[-0.5f,2f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}}]}
execute as @e[type=item,nbt={Item:{id:"minecraft:copper_ingot",count:1}},tag=jjc_portalitem,predicate=colosseum_of_fools:portal_x_dyjjc] at @s align xyz positioned ~0.5 ~ ~0.5 unless entity @e[type=block_display,tag=jjc_portal,distance=..1] run summon minecraft:block_display ~ ~ ~ {Tags:["jjc_portal","jjc","jjc_portal_dyjjc"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[0.5f,0f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]},Passengers:[{id:"block_display",Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[0.5f,1f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[0.5f,2f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[1.5f,0f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[1.5f,1f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[1.5f,2f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[-0.5f,0f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[-0.5f,1f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[-0.5f,2f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}}]}
execute as @e[type=item,nbt={Item:{id:"minecraft:copper_ingot",count:1}},tag=jjc_portalitem,predicate=colosseum_of_fools:portal_z_dyjjc] at @s align xyz positioned ~0.5 ~ ~0.5 unless entity @e[type=block_display,tag=jjc_portal,distance=..1] run summon minecraft:block_display ~ ~ ~ {Rotation:[-90f,0f],Tags:["jjc_portal","jjc","jjc_portal_dyjjc"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[0.5f,0f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]},Passengers:[{id:"block_display",Rotation:[-90f,0f],Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[0.5f,1f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Rotation:[-90f,0f],Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[0.5f,2f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Rotation:[-90f,0f],Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[1.5f,0f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Rotation:[-90f,0f],Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[1.5f,1f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Rotation:[-90f,0f],Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[1.5f,2f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Rotation:[-90f,0f],Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[-0.5f,0f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Rotation:[-90f,0f],Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[-0.5f,1f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Rotation:[-90f,0f],Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[-0.5f,2f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}}]}
execute as @e[type=item,nbt={Item:{id:"minecraft:copper_ingot",count:1}},tag=jjc_portalitem,predicate=colosseum_of_fools:portal_x_zejjc] at @s align xyz positioned ~0.5 ~ ~0.5 unless entity @e[type=block_display,tag=jjc_portal,distance=..1] run summon minecraft:block_display ~ ~ ~ {Tags:["jjc_portal","jjc","jjc_portal_zejjc"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[0.5f,0f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]},Passengers:[{id:"block_display",Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[0.5f,1f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[0.5f,2f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[1.5f,0f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[1.5f,1f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[1.5f,2f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[-0.5f,0f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[-0.5f,1f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[-0.5f,2f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}}]}
execute as @e[type=item,nbt={Item:{id:"minecraft:copper_ingot",count:1}},tag=jjc_portalitem,predicate=colosseum_of_fools:portal_z_zejjc] at @s align xyz positioned ~0.5 ~ ~0.5 unless entity @e[type=block_display,tag=jjc_portal,distance=..1] run summon minecraft:block_display ~ ~ ~ {Rotation:[-90f,0f],Tags:["jjc_portal","jjc","jjc_portal_zejjc"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[0.5f,0f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]},Passengers:[{id:"block_display",Rotation:[-90f,0f],Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[0.5f,1f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Rotation:[-90f,0f],Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[0.5f,2f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Rotation:[-90f,0f],Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[1.5f,0f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Rotation:[-90f,0f],Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[1.5f,1f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Rotation:[-90f,0f],Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[1.5f,2f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Rotation:[-90f,0f],Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[-0.5f,0f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Rotation:[-90f,0f],Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[-0.5f,1f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"block_display",Rotation:[-90f,0f],Tags:["jjc","jjc_nov"],block_state:{Name:"minecraft:nether_portal"},brightness:{block:15,sky:15},transformation:{translation:[-0.5f,2f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}}]}
kill @e[type=item,nbt={Item:{id:"minecraft:copper_ingot",count:1}},tag=jjc_portalitem,predicate=colosseum_of_fools:portal_detect]