Skip to content

Commit

Permalink
+ Function to give letter banners with selectable colors
Browse files Browse the repository at this point in the history
  • Loading branch information
Finn committed Nov 23, 2024
1 parent eea6ba0 commit cb5af68
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions data/lt/function/utility/give_letter_banners.mcfunction
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#
# Takes background color as input {background_color:""}
# Takes background color as input {letter_color:""}

$give @s $(background_color)_banner[banner_patterns=[{pattern:stripe_right,color:$(letter_color)},{pattern:stripe_left,color:$(letter_color)},{pattern:stripe_middle,color:$(letter_color)},{pattern:stripe_top,color:$(letter_color)},{pattern:border,color:$(background_color)}]]
$give @s $(background_color)_banner[banner_patterns=[{pattern:stripe_right,color:$(letter_color)},{pattern:stripe_bottom,color:$(letter_color)},{pattern:stripe_top,color:$(letter_color)},{pattern:curly_border,color:$(background_color)},{pattern:stripe_left,color:$(letter_color)},{pattern:stripe_middle,color:$(letter_color)},{pattern:border,color:$(background_color)}]]
$give @s $(letter_color)_banner[banner_patterns=[{pattern:rhombus,color:$(background_color)},{pattern:stripe_right,color:$(letter_color)},{pattern:curly_border,color:$(background_color)},{pattern:half_vertical,color:$(letter_color)},{pattern:stripe_middle,color:$(letter_color)},{pattern:border,color:$(background_color)}]]
$give @s $(background_color)_banner[banner_patterns=[{pattern:stripe_top,color:$(letter_color)},{pattern:stripe_bottom,color:$(letter_color)},{pattern:stripe_right,color:$(letter_color)},{pattern:stripe_middle,color:$(background_color)},{pattern:stripe_left,color:$(letter_color)},{pattern:border,color:$(background_color)}]]
$give @s $(background_color)_banner[banner_patterns=[{pattern:stripe_right,color:$(letter_color)},{pattern:stripe_bottom,color:$(letter_color)},{pattern:stripe_top,color:$(letter_color)},{pattern:curly_border,color:$(background_color)},{pattern:stripe_left,color:$(letter_color)},{pattern:border,color:$(background_color)}]]
$give @s $(background_color)_banner[banner_patterns=[{pattern:stripe_left,color:$(letter_color)},{pattern:stripe_top,color:$(letter_color)},{pattern:stripe_middle,color:$(letter_color)},{pattern:stripe_bottom,color:$(letter_color)},{pattern:border,color:$(background_color)}]]
$give @s $(background_color)_banner[banner_patterns=[{pattern:stripe_middle,color:$(letter_color)},{pattern:stripe_right,color:$(background_color)},{pattern:stripe_top,color:$(letter_color)},{pattern:stripe_left,color:$(letter_color)},{pattern:border,color:$(background_color)}]]
$give @s $(background_color)_banner[banner_patterns=[{pattern:stripe_right,color:$(letter_color)},{pattern:half_horizontal,color:$(background_color)},{pattern:stripe_bottom,color:$(letter_color)},{pattern:stripe_left,color:$(letter_color)},{pattern:stripe_top,color:$(letter_color)},{pattern:border,color:$(background_color)}]]
$give @s $(letter_color)_banner[banner_patterns=[{pattern:stripe_top,color:$(background_color)},{pattern:stripe_bottom,color:$(background_color)},{pattern:stripe_left,color:$(letter_color)},{pattern:stripe_right,color:$(letter_color)},{pattern:border,color:$(background_color)}]]
$give @s $(background_color)_banner[banner_patterns=[{pattern:stripe_center,color:$(letter_color)},{pattern:stripe_top,color:$(letter_color)},{pattern:stripe_bottom,color:$(letter_color)},{pattern:border,color:$(background_color)}]]
$give @s $(background_color)_banner[banner_patterns=[{pattern:stripe_left,color:$(letter_color)},{pattern:half_horizontal,color:$(background_color)},{pattern:stripe_bottom,color:$(letter_color)},{pattern:stripe_right,color:$(letter_color)},{pattern:border,color:$(background_color)}]]
$give @s $(background_color)_banner[banner_patterns=[{pattern:stripe_downright,color:$(letter_color)},{pattern:half_horizontal,color:$(background_color)},{pattern:stripe_downleft,color:$(letter_color)},{pattern:stripe_left,color:$(letter_color)},{pattern:border,color:$(background_color)}]]
$give @s $(background_color)_banner[banner_patterns=[{pattern:stripe_bottom,color:$(letter_color)},{pattern:stripe_left,color:$(letter_color)},{pattern:border,color:$(background_color)}]]
$give @s $(background_color)_banner[banner_patterns=[{pattern:triangle_top,color:$(letter_color)},{pattern:triangles_top,color:$(background_color)},{pattern:stripe_left,color:$(letter_color)},{pattern:stripe_right,color:$(letter_color)},{pattern:border,color:$(background_color)}]]
$give @s $(background_color)_banner[banner_patterns=[{pattern:stripe_left,color:$(letter_color)},{pattern:triangle_top,color:$(background_color)},{pattern:stripe_downright,color:$(letter_color)},{pattern:stripe_right,color:$(letter_color)},{pattern:border,color:$(background_color)}]]
$give @s $(background_color)_banner[banner_patterns=[{pattern:stripe_left,color:$(letter_color)},{pattern:stripe_right,color:$(letter_color)},{pattern:stripe_bottom,color:$(letter_color)},{pattern:stripe_top,color:$(letter_color)},{pattern:border,color:$(background_color)}]]
$give @s $(background_color)_banner[banner_patterns=[{pattern:stripe_right,color:$(letter_color)},{pattern:half_horizontal_bottom,color:$(background_color)},{pattern:stripe_middle,color:$(letter_color)},{pattern:stripe_top,color:$(letter_color)},{pattern:stripe_left,color:$(letter_color)},{pattern:border,color:$(background_color)}]]
$give @s $(letter_color)_banner[banner_patterns=[{pattern:rhombus,color:$(background_color)},{pattern:stripe_right,color:$(letter_color)},{pattern:stripe_left,color:$(letter_color)},{pattern:square_bottom_right,color:$(letter_color)},{pattern:border,color:$(background_color)}]]
$give @s $(background_color)_banner[banner_patterns=[{pattern:half_horizontal,color:$(letter_color)},{pattern:stripe_center,color:$(background_color)},{pattern:stripe_top,color:$(letter_color)},{pattern:stripe_left,color:$(letter_color)},{pattern:stripe_downright,color:$(letter_color)},{pattern:border,color:$(background_color)}]]
$give @s $(letter_color)_banner[banner_patterns=[{pattern:rhombus,color:$(background_color)},{pattern:stripe_middle,color:$(background_color)},{pattern:stripe_downright,color:$(letter_color)},{pattern:border,color:$(background_color)}]]
$give @s $(background_color)_banner[banner_patterns=[{pattern:stripe_top,color:$(letter_color)},{pattern:stripe_center,color:$(letter_color)},{pattern:border,color:$(background_color)}]]
$give @s $(background_color)_banner[banner_patterns=[{pattern:stripe_bottom,color:$(letter_color)},{pattern:stripe_left,color:$(letter_color)},{pattern:stripe_right,color:$(letter_color)},{pattern:border,color:$(background_color)}]]
$give @s $(background_color)_banner[banner_patterns=[{pattern:stripe_downleft,color:$(letter_color)},{pattern:stripe_left,color:$(letter_color)},{pattern:triangle_bottom,color:$(background_color)},{pattern:stripe_downleft,color:$(letter_color)},{pattern:border,color:$(background_color)}]]
$give @s $(background_color)_banner[banner_patterns=[{pattern:triangle_bottom,color:$(letter_color)},{pattern:triangles_bottom,color:$(background_color)},{pattern:stripe_left,color:$(letter_color)},{pattern:stripe_right,color:$(letter_color)},{pattern:border,color:$(background_color)}]]
$give @s $(background_color)_banner[banner_patterns=[{pattern:cross,color:$(letter_color)},{pattern:border,color:$(background_color)}]]
$give @s $(background_color)_banner[banner_patterns=[{pattern:stripe_downright,color:$(letter_color)},{pattern:half_horizontal_bottom,color:$(background_color)},{pattern:stripe_downleft,color:$(letter_color)},{pattern:border,color:$(background_color)}]]
$give @s $(background_color)_banner[banner_patterns=[{pattern:stripe_top,color:$(letter_color)},{pattern:stripe_downleft,color:$(letter_color)},{pattern:stripe_bottom,color:$(letter_color)},{pattern:border,color:$(background_color)}]]

0 comments on commit cb5af68

Please sign in to comment.