• check_circle Functions
  • check_circle Predicates
  • 2,387 views, 1 today
  • 39 downloads, 0 today
  • 3
  • 2
  • 2
Igtarr's Avatar Igtarr
Level 36 : Artisan Engineer
7

Weather Cannons

Hail Cannons are devices which shoot shock waves into the air, with the idea being that they will prevent the formation of ice particles in the atmosphere. I have recreated this in Minecraft with my Weather Cannons Datapack, which will you allow you to alter the weather in vanilla, survival Minecraft!

With the Weather Cannon datapack, you can shoot splash potions into the sky to change the weather, so you will need to construct some kind of TNT cannon. After some experimentation on my own, I found that a decent one can be made fairly easily if you are familiar with how TNT cannons work in general. The higher the potion goes into the sky, the greater the % chance that it will be successful! Load the following potions into your cannon to receive their effects:

Speed Potion = Weather Clear
Regeneration Potion = Weather Rain
Strength Potion = Weather Thunderstorm

*Any duration or strength of the above potions will work

If you would like to track the flight of your weather potion capsule, simply hold a Lightning Rod in your hand. You will see a display above your hotbar which shows the y-value of the nearest potion.

Success Probability vs. Potion Y-Value
y = 400 (MINIMUM Y VALUE)% = 40  
y = 455  % = 50
y = 1180% = 90
y = 1580% = 95
y = 1656% = 100

The probability varies according to the following function:
% = [[(y-1192)^3]/10000000] + 90You can plot this formula yourself for more information on how probability varies with y-value. Make sure you do not extrapolate - the minimum y-value for the system to detect a weather potion is y=400!

Feel free to modify, reverse engineer, use in your projects, etc., but please do not redistribute without credit!
CompatibilityMinecraft 1.19
Tags

1 Update Logs

Update #1 : by Igtarr 02/03/2023 11:46:50 pmFeb 3rd, 2023

Removed debug message which was accidentally included in final package

Create an account or sign in to comment.

1
07/17/2023 5:39 am
Level 1 : New Explorer
BlastZenith
BlastZenith's Avatar
Does it work on 1.20? Very cool concept btw.
2
01/31/2023 1:56 am
Level 33 : Artisan Crafter
Jexadox
Jexadox's Avatar
This is awesome!
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome