Minecraft Round Up - Let's mod a TNT Rocket Launcher

This week we are continuing our 'Redstone Contraption' series and are coding an EXPLOSIVE TNT Rocket Launcher!

Minecraft Round Up - Let's mod a TNT Rocket Launcher

Welcome to Minecraft Mod Club! This week we are continuing our 'Redstone Contraption' series and are coding an EXPLOSIVE TNT Rocket Launcher!

In this mod, we are using red stone dust as well as the help of our coding agent to create a TNT Rocket Launcher. Once the mod has been built, all the player needs to do is use the button the activate the piston which launches off our TNT block. Our agent then replaces the TNT block with another, so we are loaded and ready for the next round.

To build this mod, we create two functions; one for the base and one for the launcher. The base is made up of obsidian blocks along with a trail of redstone whilst the launcher spawns the piston as well the initial TNT block. On command 'T' we call those two functions and activate a coding block that places the agent next to the TNT. We then have an boolean which checks whether there if there is a TNT block next to the agent; if false then the agent will place a new TNT block there given you infinite ammo!   

This mod is great if you are playing Capture The Castle in your Minecraft World - or if you want a more creative (and destructive!) way to mine... 

Until next time, happy building everyone!

Categories

Chat to our mentors