by legopitstop
What is Lightning Bolt Glass? Whenever lightning hits sand it turns into glass. This is possible in 1.16!
You can also add custom blocks! datapack comes preset with the default. You can change the default and the custom blocks. just clock the text to flip through each of the available blocks (more may be added)
<block that gets hit with lightning> = <what the block will turn into afterward>
/function lightning:customize
You can also easily toggle weather the custom or default are working: both set to true/working
/function lightning:settings
Supported blocks (both hit and after)
sand
red_sand
gravel
glass
white_stained_glass
orange_stained_glass
magenta_stained_glass
light_blue_stained_glass
yellow_stained_glass
lime_stained_glass
pink_stained_glass
gray_stained_glass
light_gray_stained_glass
cyan_stained_glass
purple_stained_glass
blue_stained_glass
brown_stained_glass
green_stained_glass
red_stained_glass
black_stained_glass
white_concrete_powder
orange_concrete_powder
magenta_concrete_powder
light_blue_concrete_powder
yellow_concrete_powder
lime_concrete_powder
pink_concrete_powder
gray_concrete_powder
light_gray_concrete_powder
cyan_concrete_powder
purple_concrete_powder
blue_concrete_powder
brown_concrete_powder
green_concrete_powder
red_concrete_powder
black_concrete_powder
Possibly add:
Add a radius to customization, it will replace blocks in a radius rather than one block
<-----None------> = <-----None------> [R] <- Set place radius