

The charge is an amount of TNT used to propel the shot.If raiding, make sure (unless you are using a hybrid TNT cannon) that the shot does not land in water.The shot is the ammunition it can be a player, a mob, a piece of TNT, arrows, sand/ gravel or anvils.TNT cannons operate on the principle that when TNT explodes in water it will not destroy blocks, but will still launch entities, including TNT that was already ignited, which is usually done with redstone (the charge is usually ignited immediately, then after a delay the shot is released).As of 1.8, it is also possible to build a TNT cannon that works with pistons and slime blocks. Note: these (as the whole article) talk mostly about the classical TNT cannons that work by shooting TNT by using other TNT blocks as charge. 9.6.1 Select fire, select range TNT cannon tutorial.9.3.8 Human (or other entity) launching cannon.9.3.7 One-button defensively ranged cannon.9.3.3 "The Pulverizer" - An Ultra Rapid Automatic Slime Cannon.4 Limitations, and ways to possibly get around them.Private void shootNuke(Location location, BlockFace direction, NukeTimer nukeTimer) As for cannon speed, its currently 3 seconds in between shots. So I am considering looking into multithreading but that might not work at all and I am searching for a little bit of help in fixing this lag issue.

I know it shouldn't be THAT laggy, since I also work on the Factions realm for this server and it is able to handle 4-5 full cannons shooting at the same time with no TPS issues, that is on top of a full map of farms, bases, players, entities, etc. The only issue is if there is more than 1 session running it KILLS the TPS. The way I am spawning in TNT is one basic method that spawns TNT & sand at all the right locations and that runs on a loop. I have most of this building, but I am having one major problem. I am creating a plugin/game mode called PatchTesting, this basically takes the raiding part of Factions and allows people to have these "sessions" where they can have a server-side cannon (Spawning in entities of TNT in exact locations to mimic triangle physics), and then have the server raid their base, while they patch it and have monsters or other players fighting them.
