#[ Credits Display ]#

#: kill all credits displays
kill @e[tag=credits_display]

#: summon position marker
summon marker 11.00 8.6 -64.4 {Tags:["credits_display","position_marker"]}

#: summon credits text display
execute at @e[tag=position_marker] run summon item_display ~ ~3.1 ~ {Rotation:[180.0F,0.0F],Tags:["credits_display","logo"],transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0.5f,0f],scale:[1.3f,1.3f,1.3f]}}
execute as @e[tag=credits_display,tag=logo] run item replace entity @s container.0 from block 8 -1 -64 container.8

execute at @e[type=marker,tag=position_marker] positioned ~ ~1.54 ~-0.72 summon interaction run data merge entity @s {Tags:["credits_display","interact"],width:1.5f,height:0.21f,response:0b,Rotation:[0.0f,-90.0f]}
execute at @e[type=marker,tag=position_marker] positioned ~ ~0.59 ~-0.75 summon interaction run data merge entity @s {Tags:["credits_display","interact"],width:1.5f,height:0.21f,response:0b,Rotation:[0.0f,-90.0f]}


#execute at @e[tag=position_marker] run summon text_display ~ ~3 ~ {Rotation:[0.0F,0.0F],alignment:"center",Tags:["credits_display"],transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0.10f],scale:[1.4f,1.4f,1.4f]},brightness:{sky:15,block:15},text:'{"color":"white","text":"Credits","underlined":true}',background:0}



#: smartyalek :#
execute at @e[type=marker,tag=position_marker] run summon text_display ~ ~2.55 ~0.05 {Rotation:[0.0F,0.0F],alignment:"center",Tags:["credits_display"],transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[1f,1f,1f]},brightness:{sky:15,block:15},text:'[{"color":"white","text":"Created By","underlined":true,"bold":true},{"text":":","bold":false}]',background:0}


execute at @e[type=marker,tag=position_marker] run summon text_display ~ ~1.75 ~0.05 {Rotation:[0.0F,0.0F],alignment:"center",Tags:["credits_display"],transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[1f,1f,1f]},brightness:{sky:15,block:15},text:'{"color":"white","text":"SmartyAlek","underlined":false,"bold":false}',background:0}


execute at @e[type=marker,tag=position_marker] run summon item_display ~ ~2.48 ~ {Rotation:[180.0F,0.0F],Tags:["credits_display","smartyalek"],transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[0.8f,0.8f,0.8f]}}
execute as @e[tag=credits_display,tag=smartyalek] run item replace entity @s container.0 from block 8 -1 -64 container.0


execute at @e[type=marker,tag=position_marker] run summon item_display ~-0.6 ~1.7 ~ {Rotation:[180.0F,0.0F],Tags:["credits_display","smartyalek_youtube"],transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[0.3f,0.3f,0.3f]}}
execute as @e[tag=credits_display,tag=smartyalek_youtube] run item replace entity @s container.0 from block 8 -1 -64 container.2

execute at @e[type=marker,tag=position_marker] run summon text_display ~0.1 ~1.54 ~0.05 {Rotation:[0.0F,0.0F],alignment:"center",Tags:["credits_display","smartyalek_youtube"],transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[0.7f,0.7f,0.7f]},brightness:{sky:15,block:15},text:'{"color":"white","text":"@SmartyAlek","underlined":false}',background:0}

execute at @e[type=marker,tag=position_marker] positioned ~ ~1.54 ~-0.6 summon interaction run data merge entity @s {Tags:["credits_display","smartyalek_youtube","interact"],width:1.5f,height:0.2f,response:1b,Rotation:[0.0f,-90.0f]}

#: additional credits :#
execute at @e[type=marker,tag=position_marker] run summon text_display ~ ~1.10 ~0.05 {Rotation:[0.0F,0.0F],alignment:"center",Tags:["credits_display"],transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[0.7f,0.7f,0.7f]},brightness:{sky:15,block:15},text:'[{"color":"white","text":"Additional Credits","underlined":true,"bold":true},{"text":":","bold":false}]',background:0}
execute at @e[type=marker,tag=position_marker] run summon text_display ~ ~0.85 ~0.05 {Rotation:[0.0F,0.0F],alignment:"center",Tags:["credits_display"],transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[0.68f,0.68f,0.68f]},brightness:{sky:15,block:15},text:'{"color":"white","text":"TheWorfer27, Twelfth","underlined":false,"bold":false}',background:0}

execute at @e[type=marker,tag=position_marker] run summon item_display ~-0.61 ~0.78 ~ {Rotation:[180.0F,0.0F],Tags:["credits_display","mundimaps_discord"],transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[0.3f,0.3f,0.3f]}}
execute as @e[tag=credits_display,tag=mundimaps_discord] run item replace entity @s container.0 from block 8 -1 -64 container.3

execute at @e[type=marker,tag=position_marker] run summon text_display ~0.12 ~0.59 ~0.05 {Rotation:[0.0F,0.0F],alignment:"center",Tags:["credits_display","mundimaps_discord"],transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[0.7f,0.7f,0.7f]},brightness:{sky:15,block:15},text:'{"color":"white","text":"Mundi Maps","underlined":false,"bold":true}',background:0}

execute at @e[type=marker,tag=position_marker] positioned ~ ~0.59 ~-0.6 summon interaction run data merge entity @s {Tags:["credits_display","mundimaps_discord","interact"],width:1.5f,height:0.2f,response:1b,Rotation:[0.0f,-90.0f]}


#: kill position marker 
kill @e[tag=credits_display,tag=position_marker]