Tornados in Minecraft

Published November 07, 2011
Advertisement
So this weekend (Still working on the power system by the way) -- I side-tracked a bit and started playing Minecraft some more. I like that game. Anyway, I figured it'd be a fun diversion to making a server mod with the "Bukkit" API

Since I just added disasters to the game I'm working on, I went ahead and added something similar. Here's an attempt at adding tornadoes to Minecraft:

gallery_83239_320_205051.png

It kind of looks like one ... It's really just a bunch of explosions that go off each second. There are also different sizes of tornado, damage, life time, etc.

I divided it up into three parts:

A Tornado class -- this is just a normal class that holds the information like location. It also has the code to spawn the explosions and update its remaining lifetime.
TornadoUpdater -- Tracks all of the tornadoes in the game and updates their states, removing them if they've "died."
TornadoMod -- serves as an entry point.

Right now it just spawns vi a command, but I Hope to get them spawning during thunder storms at some point...
1 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement
Advertisement