• check_circle Advancements
  • check_circle Functions
  • check_circle Predicates
  • check_circle Structures
  • 33,408 views, 103 today
  • 6,699 downloads, 24 today
  • 101
  • 106
  • 64
2mal3 avatar 2mal3
Level 53 : Grandmaster Programmer
60
natural_disasters.pngNatural Disasters Minecraft Data Pack Natural Disasters Minecraft Data Pack

This datapack adds over 10 partly unique natural disasters to the game, which can occur randomly in the world. These natural disasters occur in the world with an interval of 1 to 4 Minecraft weeks, but they can also be started immediately with an easy to use in-game gui. It can be opened with the command: /function #2mal3:nadi/menuThis can also be used to perform various other actions and configure many parts of the datapack. In addition, there is also a wiki for all other questions, which is currently being worked on.

๐Ÿ“– Features:
  • 11 different and unique natural disasters
  • Easy in-game gui with many settings and options
  • Own wiki for help (Currently being reworked)
  • Good compatibility with other datapacks
  • Also works in multiplayer mode
  • Easy bug help
  • Own API (More about this in the wiki)

To generate volcanoes in the world, the datapack library Datapack Utils by ImCoolYeah105 is required, which must also be installed in the world.

๐Ÿ’ฅ Natural disasters:
  • Acid rain
  • Blizzard (snowstorm)
  • Doline
  • Drought
  • Firestorm
  • Hail
  • Hurricane
  • Meteorite impact
  • Sandstorm
  • Thunderstorm
  • Randomly generated volcanoes with eruptions



๐Ÿ“Š Bug reports:
If you find a bug in the datapack, it would be very helpful to report it to me. You can do this either on the Planet Minecraft website as a comment or on the GitHub website as an issue. To help me better, it would also be handy if you debug the datapack. You can do this by simply clicking on Debug datapack in the datapack menu and write the displayed message into the bug report.

๐Ÿ’พ Versions:
โœ…
1.16+
โœ…
Singleplayer
โœ…
Multiplayer
โœ…
Vanilla
โœ…
Fabric
โ”
Forge
โ”
Realms
โ”
Bukkit
โ”
Spigot
โ”
PaperSpigot
โšก Performance
During the development we tried to make the datapack as performant as possible.
If no natural disaster is active, the datapack consumes almost no resurses, regardless of the number of players. The natural disasters can, because of the nature, unfortunately lead to server and graphics lag. Nevertheless, the game should still be playable on single-player worlds and smaller servers, as long as you don't use completely outdated hardware.
โœ… Compatibility with other datapacks
The datapack should be compatible with other datapacks. However, the datapack is not compatible with the following thing:
  • Custom structure generation that is not based on misode's ChunkScan library.
๐Ÿงช Beta

The datapack is under continuous development, but it takes time before a new version is released. That's why there is this beta version, which contains the newest but still unfinished and maybe buggy function. So use it at your own risk.
Installation:
  • Go to this webiste
  • Click on Code and then on Download ZIP
  • Extract the folder in the .zip file from it
  • Continue with the folder like the normal datapack



๐Ÿ”„ Updating
Just replace the old datapack file with the new one and reload the world. The rest is done by the datapack.
โ™ป Uninstallation
  • Click in the datapack menu on Uninstall this datapack
  • Delete the datapack file from the datapack folder of the world
  • Reload the world
CompatibilityMinecraft 1.16
Tags

14 Update Logs

Update v2.0.0 : 03/15/2021 2:09:08 pmMar 15th

After a very long time finally an update. This one is mainly about improvements, adjustments and bug fixes, for which almost the entire datapack was reworked. More detailed information can be found below. In addition, the datapack menu has been greatly simplified and improved, so that the datapack is much easier to control and customize.

Added:
  • Completely new in game menu:
    - Simple option to stop natural disasters
    - Many more configuration options
    - Links to the website and wiki
    - Nicer
    - Faster
  • Datapck icon
  • Debug system
  • Drought:
    - A few smoke particles for a better ambience
    - During drought plants grow 3 times slower
  • Sandstorm: Pushes all players who are not protected aside
  • Hurricane:
    - Certain probability that there is an explosion nearby
    - Blocks thrown by the hurricane cause damage

Changed:
  • Default duration of natural disasters extended from 5 to 10 minutes
  • Time unit for the length of natural disasters changed to minutes
  • Improved detection in natural disasters whether a player is under the sky
  • Better compatibility with other datapacks
  • Better performance
  • Better detection of unsupported versions
  • Most natural disasters start only 1 minute after selection
  • Better code
  • Acid rain:
    - More blocks will be removed
    - Better particles
  • Blizzard: Better particles
  • Doline: Minimal less destroyed hole
  • Volcano: Is now generated less frequently
  • Drought: The drought now affects a much larger area around the player
  • Firestorm:
    - 4 times more fire
    - Better fire simulation method
  • Hail:
    - Hailstones do more damage
    - Hail now has a higher probability to hit you
  • Sandstorm: Better particles
  • Hurricane:
    - Probability and radius of falling blocks increased
    - The hurricane moves 3x faster
    - More random directions for thrown away blocks
    - Block converter updated

Bug fixes:
  • Many natural disasters affected players who were not in the overworld
  • Natural disasters could be triggered even if no one was in the world
  • Some natural disasters had an effect on spectators
  • The wind sounds during natural disasters sometimes behaved strangely
  • Generating high random numbers has led to lags
  • Hail: Hailstones have not done any damage
  • More, but I do not remember

Removed:
  • Disease
  • Old in game menu
  • Old and unnecessary code that was no longer used
LOAD MORE LOGS

Create an account or sign in to comment.

1
04/11/2021 6:19 pm
Level 17 : Journeyman Miner
Sharkwater
Sharkwater avatar
is it version 1.16.5?
1
04/12/2021 8:03 am
Level 53 : Grandmaster Programmer
2mal3
2mal3 avatar
Yes! The datapack works in every 1.16 version.
1
04/11/2021 6:34 pm
Level 17 : Journeyman Miner
Sharkwater
Sharkwater avatar
nvm its not :(
1
03/24/2021 3:08 pm
Level 11 : Journeyman Pokemon
Slinky921
Slinky921 avatar
can you make the download on mediafire please
1
03/24/2021 4:56 pm
Level 53 : Grandmaster Programmer
2mal3
2mal3 avatar
Sorry, but I thought about this a while ago and came to the conclusion that I won't do it. Firstly, the datapack is much easier to manage with GitHub and secondly, I don't think it makes much difference to the user in the end.

Why do you think I should do this?
1
03/18/2021 8:35 amhistory
Level 1 : New Miner
masterzaf
masterzaf avatar
suggestion make it in blizzard snow layers slowly form, the water will freezw and if you saty out for a long time withount letather armor you start to die..
1
03/18/2021 9:07 amhistory
Level 53 : Grandmaster Programmer
2mal3
2mal3 avatar
I'm really sorry, but could you write the text again in proper grammar? I understand almost nothing.
1
03/18/2021 10:16 am
Level 1 : New Miner
masterzaf
masterzaf avatar
I'll try (it is not my mother language) so when its Blizzard snow layers will cover the area
2
03/22/2021 10:35 am
Level 53 : Grandmaster Programmer
2mal3
2mal3 avatar
Sorry for the delay.
Covering the world with snow is already a part of the blizzard. However, freezing to death is a good idea. I will include it in the next updates.
1
03/12/2021 12:10 pm
Level 1 : New Crafter
HaPpY_BoB_2008
HaPpY_BoB_2008 avatar
Hey ugh, I download this datapack and installed is successfully however, the disaster menu will not come up when I type /function #nadi:menu: I know the datapack is working as the commands execute with a reply that isn't "Unknown or incomplete command, see below for error" Please help.
1
03/12/2021 3:51 pm
Level 53 : Grandmaster Programmer
2mal3
2mal3 avatar
Did you use exactly the command: /function #nadi:menu
1
02/24/2021 5:26 pm
Level 1 : New Miner
Bobbo2318943
Bobbo2318943 avatar
How do I adjust the destructiveness of a disaster? I want to make the hurricane destroy blocks in a much larger radius. How do I effectively do this?
1
02/25/2021 6:55 am
Level 53 : Grandmaster Programmer
2mal3
2mal3 avatar
It is a bit complicated, but should be doable.
First you have to get to the file break.mcfunction, which is located in the datapck under the file path data/nadi/functions/natural_disasters/hurricane.
There you can replace the 15 in the line: spreadplayers ~ ~ 0 15 false @e[type=minecraft:area_effect_cloud,tag=nadi.hurricane.break] by an any number, in whose radius blocks should be destroyed.

To destroy more blocks at once, you can duplicate the line: summon minecraft:area_effect_cloud ~ ~ {tags:["nadi.hurricane.break", "global.ignore"]} as often as you like, per command one more block will be destroyed.
1
02/25/2021 4:08 pm
Level 1 : New Miner
Bobbo2318943
Bobbo2318943 avatar
Ah, thank you. I was able to figure out the radius, but after that the damage seemed to be more spread out. I'll try the second command to fix that! Thanks again!
1
02/20/2021 10:27 pm
Level 1 : New Miner
User3314397G
User3314397G avatar
I'm looking to Disable the random disasters entirely so the only disasters that occur are when I summon them...

When I go into the loot tables and change the values to 0 it works for the first disaster, After that it's just insta disasters.
1
02/22/2021 10:51 am
Level 53 : Grandmaster Programmer
2mal3
2mal3 avatar
Unfortunately, there is currently no real way to stop the automatic launch of natural disasters.

The only possibility would be to set the random time so high that a natural disaster would never start, but this would always cause lags after the end of a natural disaster.
1
02/20/2021 6:58 pm
Level 1 : New Miner
corazz
corazz avatar
it isnt working
the sandstrom is still going and i still have blindness
1
02/22/2021 10:46 am
Level 53 : Grandmaster Programmer
2mal3
2mal3 avatar
Hmm, tha's strange.
I'll try to fix it in the next update, but for now you can use the command: /function nadi:natural_disasters/sandstorm/remove to stop the sandstorm (you can also replace "sandstorm" with another natural disaster name (See autocomplete) to stop this).
1
02/20/2021 6:53 pm
Level 1 : New Miner
corazz
corazz avatar
thx
1
02/19/2021 6:35 pm
Level 1 : New Miner
corazz
corazz avatar
the data pack is great but i just want to know how to stop the disaster
2
02/20/2021 7:00 am
Level 53 : Grandmaster Programmer
2mal3
2mal3 avatar
You can stop all current natural disasters with the command: /function nadi:main/uninstall/uninstall_disasters
1
02/15/2021 1:00 am
Level 1 : New Miner
User3435562G
User3435562G avatar
Is there any way to remove blindness on any of the natural disasters? Also when I spawn volcanoes in they just don't spawn. Otherwise great work on this pack its amazing.
1
02/15/2021 3:32 am
Level 53 : Grandmaster Programmer
2mal3
2mal3 avatar
Great that you like the datapack so much.

Unfortunately, you can't simply deactivate the blindness effect, since it is hardcoded into the datapack.

If you want me to help you with the volcanoes, it would be helpful if you could answer the questions under the bug reporting section on this website.
1
02/17/2021 11:43 am
Level 1 : New Miner
User3435562G
User3435562G avatar
Ok thanks! One last thing, is there any way to make a random natural disaster occur every 5/10/15 minutes or so?
1
02/18/2021 9:15 am
Level 53 : Grandmaster Programmer
2mal3
2mal3 avatar
It is possible, but currently it is a bit difficult.

First you have to open a file in the natural-disaster datapacks folder with the following file path: data/nadi/loot_tables/nadi/random_time(.json).
In this file you can specify the minimum and maximum time in double seconds between two natural disasters. Just replace the numbers there, for example in your case the minimum is 150 for 5 minutes and the maximum is 450 for 15 minutes.

I'm sorry it's so complicated, but I'm working on an update that should improve this.
1
02/18/2021 4:27 pm
Level 1 : New Miner
User3435562G
User3435562G avatar
It's completely fine, I'm sure I can figure it out. Thanks for the help!
1
02/12/2021 9:21 am
Level 1 : New Miner
MashusBraginus
MashusBraginus avatar
Couldn't get the disease starting. Also, I couldn't stop volcanos from spawning
1
02/12/2021 11:37 amhistory
Level 53 : Grandmaster Programmer
2mal3
2mal3 avatar
Can you please give me the answers to the questions that are under bug reporting on this page so that I can help you properly?
1
01/24/2021 12:47 am
Level 1 : New Miner
Profast
Profast avatar
.
1
01/21/2021 2:48 pm
Level 1 : New Miner
User3392210G
User3392210G avatar
how do i instantly start a disaster
1
01/23/2021 6:34 am
Level 53 : Grandmaster Programmer
2mal3
2mal3 avatar
Under the Commands section in the datapack description, there is a command to manually start natural disasters.
1
01/21/2021 1:59 pm
Level 1 : New Miner
User3392210G
User3392210G avatar
no distasters are happening for me
1
01/23/2021 6:30 am
Level 53 : Grandmaster Programmer
2mal3
2mal3 avatar
The natural disasters take a relatively long time to erupt, usually between 7 days and a month in Minecraft days.
1
01/21/2021 1:03 pm
Level 1 : New Miner
User3392210G
User3392210G avatar
can i make the disaster show up every 30 minutes there a command for that
1
01/23/2021 6:39 am
Level 53 : Grandmaster Programmer
2mal3
2mal3 avatar
To configure the time between natural disasters, you need to edit the random_time file in the datapack files under data / nadi / loot_tables / nadi.
There you can edit the minimum and maximum time between the natural disasters at the places described there.
I'm sorry that it's so complicated, but I'm already working on an improvement.
1
09/28/2020 10:47 pm
Level 1 : New Miner
H4rryL0ck8
H4rryL0ck8 avatar
Please make It available for 1.15.2 too this is such a cool mod after Ive seen this showcased by yorkmouse :)
1
10/01/2020 10:13 am
Level 53 : Grandmaster Programmer
2mal3
2mal3 avatar
There is an older version of the datapack for 1.15.2, but it has the same features and only a few bugs. It can be downloaded here.
If you are using the datapack you have to make sure that you use the 1.15.2 version of Datapack Utils.
1
10/23/2020 10:35 am
Level 1 : New Miner
DaNIELMX08
DaNIELMX08 avatar
Y la 1.60.50
1
09/23/2020 1:44 pm
Level 1 : New Miner
NeonLimez
NeonLimez avatar
A blizzard happened and the snowballs completely deleted all the chests that were outside, they just disappeared without dropping anything and all the beds were destroyed, fortunately I was able to get a backup for my server but it still sucked
2
09/24/2020 7:55 am
Level 53 : Grandmaster Programmer
2mal3
2mal3 avatar
I am sorry about that, but thanks for letting me know. I have fixed the bug in the new update so that everything works properly.
1
09/09/2020 5:02 pm
Level 1 : New Miner
Zacharie_Brando
Zacharie_Brando avatar
I am having a problem in my server, the huricanne and the acid rain keep like for an hour i should recoment an option to stop the disasters
1
09/10/2020 8:24 amhistory
Level 53 : Grandmaster Programmer
2mal3
2mal3 avatar
To stop any natural disaster you just have to type the command: /function nadi:main/uninstall/uninstall_disasters.I believe that this long time is due to wrong settings, so you should see what the settings for natural disasters are.
1
01/21/2021 4:35 pm
Level 1 : New Miner
User3392210G
User3392210G avatar
that doesnt seem to be stopping them
2
08/28/2020 6:28 pm
Level 1 : New Miner
Mega_Creeper6498
Mega_Creeper6498 avatar
diamonds for you!
1
08/18/2020 4:28 pm
Level 28 : Expert Architect
MineFriggs
MineFriggs avatar
Hi! I am currently working on such a flood as datapack, but I have no experience.

The scenario

There are plenty of flood scenarios arround, but I was looking for a very specific on.
    1. There must be a grace time in order to fill a ship on a mountain with animals from a nearby area or town.
    2. The rain starts (and it should not rain earlier)
    3. While it is raining, the water level rises
    4. The water level stops at the hight of the ship and floods all other areas related to the scenario
    5. The water level goes down
    6. Optional: the world can be reset (convienient for minigames on a server)

A possible solution

I tested many of the related maps and datapacks available on PMC, most of them faced some inconveniences.
The most importante were:
    1. Missing option for reset required to copy the world each time a new game should be started.
    2. The flood would remain at its highest level without going back to normal
    On PMC I found a map in MC 1.12.that did the job quite well. Unfortunatly can't I find the original site anymore. Please, let me know, if you can help me.

    The download link is: http://www.mediafire.com/file/sw4rz2r02kara07/Flood.rar/file

    Perhaps, you know, who this was.

    This map is quite small and uses a nice command block and redstone mechanism that is working.

    It does basically the following:
      1. Start rain
      2. Rise water level gradually but quick (I would prefer a little bit slower)
      3. Take the player out of the flooded area to reset
      4. Reset the game by filling the flooded area with air
      5. Clone and overwrite the flooded area with an exact copy of it built nearby

    Challenges and issues

    It was not possible to use the existing map for my project 1:1 for the following reasons:
      1. Cloning at a relative position becomes quite difficult to control with a larger map (change command to fixed location).
      2. Commands have changed from version 1.12 to 1.16 (no major issue, already solved).The area was too small for my minigame and my map was to big for the command ("Fails if the block volume of the source region is greater than 32768" see MC Commands/clone).The command block redstone mechanism would be very large if each water level and each clone copy-paste had to be done level by level.

    My proposal

    My solution would be to execute the same commands as functions within a datapack.
    My first trial can be downloaded here.
    The map I am testing it on is available here.

    Everything is still quite messy, because at this point I am stuck.

    Call for help

    I am quite new to commands and have never made a datapack (currently, I am learning this part).
    Therefore, my datapack is still very messy and seems not to be working out properly.
    Any suggestions and help would be very much welcome.

    Also a better approach to this project will be gladly welcomed. Anything that keeps the code cleaner and less complex would be preferred about my own approach.
    1
    08/21/2020 7:40 am
    Level 53 : Grandmaster Programmer
    2mal3
    2mal3 avatar
    I'm sorry, but I can't help you with that.
    1
    07/05/2020 7:59 pm
    Level 1 : New Explorer
    Axldoggo
    Axldoggo avatar
    you should add floods!
    1
    07/06/2020 6:52 amhistory
    Level 53 : Grandmaster Programmer
    2mal3
    2mal3 avatar
    I've already thought about it, but unfortunately it's impossible to do it well in Minecraft.
    I can't make the water rise only along seas, rivers, or lakes, it would happen everywhere, even in waterless valleys. Besides, you can't make it look good if the flood is over. The water would stay because you could only extinguish it under VERY VERY strong lags and at the edge of the flood an ugly waterfall would be created.
    Sorry.
    1
    06/30/2020 12:12 pm
    Level 1 : New Miner
    User3094221D
    User3094221D avatar
    How about drought, floods and acid rain?
    1
    06/30/2020 12:20 pm
    Level 53 : Grandmaster Programmer
    2mal3
    2mal3 avatar
    I have already added droughts and acid rain, more information can be found in the Wiki.
    I don't plan to add floods, because this is not very good to implement and would probably make too much of the world useless.
    Planet Minecraft

    Website

    © 2010 - 2021
    www.planetminecraft.com

    Welcome