Natural Disasters ๐ช
A Fabric mod for Minecraft 26.2 that adds tornadoes, hurricanes, and earthquakes to your world. These devastating disasters wander (or shake) through your territory, fling entities into the air, and tear blocks apartโplus craftable Alerter blocks that warn you before each type of disaster strikes.
ืขืืจืืช โข English
Features
Disasters
| Disaster |
Trigger |
Radius |
Duration |
| Tornado |
Thunderstorm (15% chance) |
8 blocks |
30 sec |
| Hurricane |
Thunderstorm (15% chance) |
18 blocks |
60 sec |
| Earthquake |
Command only |
40 blocks |
20 sec |
Tornadoes and Hurricanes:
- Wander across the world during thunderstorms
- Fling players, mobs, and items into the air
- Tear blocks into flying
FallingBlockEntitys (hurricanes damage entities they hit)
- Emit cloud and smoke particles with a roaring thunder ambience
Earthquakes:
- Spawn at a fixed epicentre and shake the ground
- Bounce nearby entities into the air every half-second
- Crumble surface blocks, opening cracks and craters
- Triggered only via command (not from storms)
Alerter Blocks
Two craftable alerter blocks, each tuned to a different threat:
| Block |
Warns About |
Recipe |
| Tornado & Hurricane Alerter |
Tornadoes, Hurricanes |
Useless Alerter + Wind Charge |
| Earthquake Alerter |
Earthquakes |
Useless Alerter + Dirt |
Warning states (shared by both alerters):
- ๐ข Green (0): Safe โ no danger
- ๐ก Yellow (1): Caution โ disaster within 500 blocks
- ๐ด Red (2): Danger โ disaster within 100 blocks
When at red alert, the alerter emits rapid beep sounds for players within 24 blocks.
Commands
/naturaldisasters <tornado|hurricane|earthquake> [delaySeconds] โ Manually trigger a disaster at your position (gamemaster only)
Installation
Requirements
- Minecraft 26.2
- Fabric Loader 0.19.3+
- Fabric API 0.152.2+26.2
- Java 25+
Steps
- Download the latest JAR from releases
- Place
weather-mod-1.0.0.jar in your mods/ folder
- Launch Minecraft with Fabric
Crafting Recipes
1. Useless Alerter
A plain alerter block (aesthetic only). Required to craft any working alerter.
[I] [G] [I]
[I] [R] [I]
[I] [I] [I]
- I: Iron Ingot
- R: Redstone Lamp
- G: Glass
2. Tornado & Hurricane Alerter
Warns about approaching tornadoes and hurricanes.
[U] [W]
- U: Useless Alerter
- W: Wind Charge
3. Earthquake Alerter
Warns about approaching earthquakes.
[U] [D]
- U: Useless Alerter
- D: Dirt
Usage
Surviving a Disaster
- Craft an Alerter matching the threat you want to monitor
- Place the block on a wall where you can see it
- Watch for color changes:
- Yellow means a disaster is approaching within 500 blocks
- Red means imminent danger within 100 blocksโseek shelter!
- Take cover indoors or underground when the warning turns red
Manual Triggers
Use the command to spawn a disaster for testing or fun:
/naturaldisasters tornado
/naturaldisasters hurricane 60
/naturaldisasters earthquake 30
With a delay, alerters will warn before the disaster strikes.
Configuration
No in-game config file. To adjust disaster behavior, edit the source:
DisasterManager.java โ Spawn chance, delay timing, and alert scan radius
DisasterType.java โ Per-disaster radius, speed, damage, and duration values
Development
Building from Source
./gradlew build
Output: build/libs/weather-mod-1.0.0.jar
Project Structure
src/main/java/com/weather/ โ Main mod code
disaster/ โ Disaster logic and scheduling
block/ โ Alerter block implementations
command/ โ Command handling
registry/ โ Item and block registration
mixin/ โ Mixin configuration for integration
src/main/resources/ โ Assets, recipes, lang files
Language Support
The mod includes translations for:
- English (
en_us.json)
- Hebrew (
he_il.json)
To add more languages, create a new lang file in assets/weather-mod/lang/ and update fabric.mod.json.
Minecraft 26.2 Notes
This project uses Minecraft 26.2 with Mojang mappings. Some API calls differ from standard versions (see CLAUDE.md for details). Always verify with:
javap -classpath "$USERPROFILE/.gradle/caches/fabric-loom/26.2/minecraft-common.jar" <ClassName>
Technical Details
How It Works
- When a thunderstorm begins, the mod has a 15% chance to schedule a tornado or hurricane 2 minutes in the future
- When the timer expires, an
ActiveDisaster spawns and begins wandering
- Tornadoes/hurricanes scan for entities and blocks in their path, flinging and destroying them
- Earthquakes stay at their epicentre, bouncing nearby entities and crumbling surface blocks every few ticks
DisasterManager continuously scans for Alerter blocks around online players and updates their warning state based on disaster proximityโeach alerter type only reacts to the disaster type it warns about
- Players see the block color change and hear rapid beeps when danger is near
Server-Side Only
All disaster logic runs server-side. Clients receive:
- Entity motion packets (for flinging and bouncing)
- Block state updates (for alerter color changes)
- Particle effects and sound
ืขืืจืืช
Natural Disasters ๐ช
ืืื Fabric ืืืืืง Minecraft 26.2 ืฉืืืกืืฃ ืืืจื ืื, ืืืจืืงื ืื ืืจืขืืืืช ืืืื ืืขืืื ืฉืื. ืืกืื ืืช ืืืขืืื ืืื ืืฉืืืืื ืืฉืื (ืื ืืจืขืืืื ืืืชื), ืืืจืงืื ืืฉืืืืช ืืืืืืจ ืืชืืจืขืื ืืืืงืื โ ืืชืืกืคืช ืืืืงื ืืชืจืืข ืฉื ืืชื ืืืืฆืืจ ืืืืืืจืื ืืชืื ืืคื ื ืื ืกืื ืืกืื.
ืชืืื ืืช
ืืกืื ืืช:
| ืืกืื |
ืืจืืืจ |
ืจืืืืก |
ืืฉื |
| ืืืจื ืื |
ืกืขืจืช ืจืขื (ืกืืืื 15%) |
8 ืืืืงืื |
30 ืฉื ืืืช |
| ืืืจืืงื |
ืกืขืจืช ืจืขื (ืกืืืื 15%) |
18 ืืืืงืื |
60 ืฉื ืืืช |
| ืจืขืืืช ืืืื |
ืคืงืืื ืืืื |
40 ืืืืงืื |
20 ืฉื ืืืช |
ืืืจื ืื ืืืืจืืงื ืื:
- ืืฉืืืืื ืืขืืื ืืืืื ืกืขืจืืช ืจืขื
- ืืืจืงืื ืฉืืงื ืื, ืืฆืืจืื ืืืคืฆืื ืืืืืืจ
- ืชืืจืขืื ืืืืงืื ื-
FallingBlockEntity
- ืคืืืืื ืืืงืืงืื ืืงืืืืช ืจืขื
ืจืขืืืืช ืืืื:
- ื ืืฆืจืืช ืื ืงืืื ืงืืืขื ืืืจืขืืืืช ืืช ืืงืจืงืข
- ืืงืคืืฆืืช ืืฉืืืืช ืงืจืืืืช ืืืืืืจ ืื ืืฆื ืฉื ืืื
- ืืคืืจืจืืช ืืืืงื ืคื ื ืงืจืงืข ืืคืืชืืืช ืกืืงืื ืืืืชืฉืื
- ืืืคืขืืืช ืจืง ืืจื ืคืงืืื (ืื ืืกืขืจืืช)
ืืืืงื ืืชืจืืข:
| ืืืืง |
ืืืืืจ ืขื |
ืืชืืื |
| ืืชืจืืข ืืืจื ืื ืืืืจืืงื |
ืืืจื ืื, ืืืจืืงื ืื |
ืืชืจืืข ืืกืจ ืชืืขืืช + Wind Charge |
| ืืชืจืืข ืจืขืืืืช ืืืื |
ืจืขืืืืช ืืืื |
ืืชืจืืข ืืกืจ ืชืืขืืช + ืขืคืจ |
ืืฆืื ืืืืจื (ืืฉืืชืฃ ืืฉื ื ืืืชืจืืขืื):
- ๐ข ืืจืืง (0): ืืืื โ ืืื ืกืื ื
- ๐ก ืฆืืื (1): ืืืืจืืช โ ืืกืื ืืชืื 500 ืืืืงืื
- ๐ด ืืืื (2): ืกืื ื โ ืืกืื ืืชืื 100 ืืืืงืื
ืืืชืจืื ืืืืื, ืืืชืจืืข ืืืฆืื ืืืคืื ืืืืจืื ืืฉืืงื ืื ืืืืื ืฉื 24 ืืืืงืื.
ืคืงืืืืช
/naturaldisasters <tornado|hurricane|earthquake> [delaySeconds] โ ืืคืขื ืืกืื ืืืืคื ืืื ื (ืจืง gamemaster)
ืืชืงื ื
ืืจืืฉืืช:
- Minecraft 26.2
- Fabric Loader 0.19.3+
- Fabric API 0.152.2+26.2
- Java 25+
ืฆืขืืื:
- ืืืจื ืืช ื-JAR ืืืืจืื ื-releases
- ืื ื ืืช
weather-mod-1.0.0.jar ืืชืืงืืืช mods/
- ืืคืขื ืืช Minecraft ืขื Fabric
ืืชืื ื ืืืฆืืจ
1. ืืชืจืืข ืืกืจ ืชืืขืืช
[I] [G] [I]
[I] [R] [I]
[I] [I] [I]
- I = ืืจืื | R = ืื ืืจืช ืืื ืืืืื | G = ืืืืืืช
2. ืืชืจืืข ืืืจื ืื ืืืืจืืงื
[U] [W]
- U = ืืชืจืืข ืืกืจ ืชืืขืืช | W = Wind Charge
3. ืืชืจืืข ืจืขืืืืช ืืืื
[U] [D]
- U = ืืชืจืืข ืืกืจ ืชืืขืืช | D = ืขืคืจ
ืฉืืืืฉ
- ืืฆืืจ ืืชืจืืข ืืืชืืื ืืกืื ืืืืื ืฉืืชื ืจืืฆื ืื ืืจ
- ืื ื ืืช ืืืืืง ืขื ืงืืจ ืฉืชืืื ืืจืืืช
- ืฆืคื ืืฉืื ืืื ืฆืืข:
- ืฆืืื = ืืกืื ืืชืงืจื ืืชืื 500 ืืืืงืื
- ืืืื = ืกืื ื ืืืืืืช ืืชืื 100 ืืืืงืื โ ืืคืฉ ืืงืื!
- ืืืืจ ืืืืืื ืืื ืืื ืื ืชืืช ืืืืื ืืฉืืืืืจื ืืืคืืช ืืืืืื
ืขืืจื ืืืขืืืช
ืื ืืชื ื ืชืงื ืืืขืืืช:
- ืืื ืฉืืฉ ืื ืืช ืืืจืกื ืื ืืื ื ืฉื Minecraft, Fabric ื-Fabric API
- ืืืืง ืฉื-JAR ื ืืฆื ืืชืืงืืืช
mods/
- ืคืชื ืืช ื-logs ืฉื Minecraft ืืคืจืืื ื ืืกืคืื
Made with โค๏ธ for Fabric Modding