Minecraft Data Packs / Game Mechanic

Lightning Bolt Glass [Datapack Edition]

  • check_circle Functions
  • 3,161 views, 1 today
  • 101 downloads, 0 today
  • 11
  • 5
  • 3
legopitstop's Avatar legopitstop
Level 76 : Legendary Programmer
267
Lightning Bolt Glass [​datapack]
by legopitstop

Lightning Bolt Glass [Datapack Edition] Minecraft Data Pack Lightning Bolt Glass [Datapack Edition] Minecraft Data Pack Lightning Bolt Glass [Datapack Edition] Minecraft Data Pack

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


Legopitstop's Common License



Buy Me a Coffee at ko-fi.com www.patreon.com
Creditlegopitstop
CompatibilityMinecraft 1.16
Tags

Create an account or sign in to comment.

1
06/26/2020 10:15 pmhistory
Level 20 : Expert System
UserDoesntExist
UserDoesntExist's Avatar
This is some rlcraft right here
3
06/25/2020 11:20 pm
Level 88 : Elite Deity
Eastonium
Eastonium's Avatar
Nice! I was actually considering making a very similar pack, but looks like you beat me to it, lol. Good work.
2
06/26/2020 3:42 pm
Level 76 : Legendary Programmer
legopitstop
legopitstop's Avatar
yea, as soon as I found out that you could execute at lightning bolts I started coding it. I had the idea for a while but wasn't possible but 1.16 now makes it possible. its pretty simple. you only need one command to do the executing and converting so I decided to make it customizable which made it somewhat more complex.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome