Minecraft Data Packs / Item

Lightning In A Bottle - Prank your friends!

  • check_circle Functions
  • 5,403 views, 1 today
  • 262 downloads, 0 today
  • 22
  • 16
  • 13
Bertiecrafter's Avatar Bertiecrafter
Retired Moderator
Level 70 : Legendary Engineer
773
An easy to use datapack to scare or prank your friends. Simply drop 3 Fire Charges and a Glass Bottle on the ground to get yourself a Lightning Bolt Potion.


Drop the potion to make lightning strike!



All text in this datapack is using translation keys, so everything will show up in your language. Admins can give themselves a Lightning Bolt Potion with:
/function bertiecrafter:lightningbottle/give_item
Warning: My datapacks broadcast a message on /reload. So if you want to be able to surprise your friends, install the datapack when they're not on!



Install Instructions
This is a datapack, it can easily be used in any world or server without any difficulties.
Simply drop the downloaded zip file in the "datapacks" folder of your world save (<world>/datapacks).
Then open your world and do
/reload

In case the datapack doesn't automatically get enabled, run:
/datapack enable "file/[​datapack folder name].zip"

I encountered a bug! What do I do now?

I test all my creations, but bugs happen no matter how long you test something. Whenever someone experiences a bug, I do my best to fix the issue. You can help me by providing any useful information. You can never give me enough information, but please send it in a DM instead of placing it in the comments. You can still place a one-liner in the comments stating the issue to make the community aware, but that alone isn't enough to help me fix the issue.
  • Checklist: Are you using the right version? Did you do /reload after dropping the datapack in? After /reload, does the datapack show up green in /datapack list?
  • What is the issue? Does the datapack not seem to be working at all or is there a specific feature you are having issues with?
  • What happened? Please give me all the steps needed to reproduce the issue. The faster I can experience it, the faster I can solve it.
  • What did you expect to happen instead? This helps me understand your point of view and determine if the issue described is actually the issue I need to fix. The bug you are experiencing could just be a side effect of something else that doesn't behave as expected.

Lightning In A Bottle - Prank your friends! Minecraft Data Pack
Let me know what to create next in the comments below!
CompatibilityMinecraft 1.14
Tags

Create an account or sign in to comment.

1
07/08/2022 12:20 pm
Level 1 : New Explorer
Jub3s
Jub3s's Avatar
can you make this for 1.19?
1
07/22/2022 5:29 pm
Level 70 : Legendary Engineer
Bertiecrafter
Bertiecrafter's Avatar
Unfortunately it's too old to update, it would basically require a rewrite, so unfortunately there are no updates planned...
2
08/27/2020 2:41 pm
Level 8 : Apprentice Miner
miaugamers
miaugamers's Avatar
is enable for 1.16.1 it'ssssss verrrrrrrrrrrrrrrrrrrrrrryyyyyyyyyyyyyyyyyyyyyyyyyyyyyy 1000000 X veryyyyyyyyyyy collll this data pack
1
08/25/2020 10:36 pm
Level 8 : Apprentice Miner
miaugamers
miaugamers's Avatar
Very but is for 1.14 but is very cool
2
10/28/2019 1:57 pm
Level 33 : Artisan Pig
Charge_Channel
Charge_Channel's Avatar
This is so cool!
1
10/27/2019 11:00 am
Level 1 : New Miner
evanqp
evanqp's Avatar
does the potion still work if the data pack is uninstalled?
2
10/27/2019 11:26 amhistory
Level 70 : Legendary Engineer
Bertiecrafter
Bertiecrafter's Avatar
Getting instant damage because you try drinking it: Yes
Summoning lightning after dropping it: Nope
1
10/27/2019 3:20 pm
Level 1 : New Miner
evanqp
evanqp's Avatar
is there a way to disable crafting it and making it only obtainable by commands>
2
10/28/2019 1:39 am
Level 70 : Legendary Engineer
Bertiecrafter
Bertiecrafter's Avatar
You can remove the craft_item function in data/bertiecrafter/functions/lightningbottle inside the data pack. If you're advanced enough, you can also remove the line calling that function in the tick function file.
1
10/27/2019 4:50 amhistory
Level 70 : Legendary Engineer
Bertiecrafter
Bertiecrafter's Avatar
Thanks Romaine, evanqp, Charge_Channel, Awsomo1324, Energy Master, PkNess, Taku17, Diamond Distributor, Comaander, LateGuy, PixieMax, miaugamers, RedYoshi, roguelikepaladin, Vellaris, Drakio-X, LouiSwaggadocio, Ronald_mao and Arrows_Of_Doom2 for the diamonds!
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome