VOOZH about

URL: https://minecraft.wiki/w/Tutorial:Large_scale_TNT_duplication

โ‡ฑ Tutorial:Large scale TNT duplication โ€“ Minecraft Wiki


Tutorial:Large scale TNT duplication

From Minecraft Wiki
Jump to navigation Jump to search
This page uses a bug to make a contraption or demonstrate a game mechanic.
 
Bugs of this nature may be fixed at any time without warning, causing the contraption to stop working. Bug exploits may be disallowed on some multiplayer servers and lead to a ban if used.
Use at your own risk.
This tutorial page is a work in progress.
 
Please help expand and improve it. The talk page may contain suggestions.

TNT duplication is sometimes needed on a large scale, for machines like ender pearl cannons and long range TNT cannons. The goal of a large TNT duplication machine (commonly called a "TNT duping array") is to duplicate large amounts of TNT and transport it all to a single position before it explodes, so that it can be used by some other machine.

TNT duplication mechanics

[edit | edit source]

All of the following strategies for duping TNT are based on a line of TNT which is pushed into a coral fan. It is important that the coral fan's support block moves before any of the TNT is replaced by moving blocks, because that support block becoming a moving block is what causes the coral fan to break and send updates. We need it to send updates after the piston has made a list of blocks to push, but before any of the TNT blocks have been removed from the world. Because of these constraints, coral fans allow at most 10 TNT to be duped; we push 10 TNT, the coral fan, and its support block for a total of 12 blocks which is the push limit of the piston. In every case where coral works you can also use a powered observer, since powered observers send updates when they are replaced. Using a powered observer allows up to 11 TNT to be duped, but it has the downside of being slightly harder to wire because you need to get the update from the observer's powering side to the TNT, which usually requires some amount of rails or note blocks to chain the update. You also need to update the observer at the right time to make it be lit when the piston pushes, which adds more complexity. We will use corals for all the following examples, but keep in mind you can always use an observer for more TNT at the cost of more complexity.

Budding TNT using redstone dust redirection

[edit | edit source]
๐Ÿ‘ Image
Two common ways that redstone dust redirection is used to BUD TNT. Lightning rods are being used for redirection just to make it easier to see what's happening. On the left (pink), redstone dust is placed on a non-conductive block that is next to the TNT, and the dust is redirected into a conductive block above the TNT. On the right (lime), redstone dust is placed next to the TNT, and redirects directly into the TNT.

The most common and simple way to duplicate TNT at large scales is to do the following in order:

  • Begin with powered redstone dust that is not powering TNT.
  • Redirect the redstone dust so that it is now powering the TNT, but has not updated the TNT. The TNT is now "budded".
  • Push the line of TNT.
  • Redirect the redstone dust back into its original state before the TNT finishes moving, because otherwise it will be ignited when it arrives.

Budding redstone dust using moving observers

[edit | edit source]
๐Ÿ‘ Image
A common way to BUD redstone dust using a moving observer for TNT duping. When the top downwards-facing piston pushes the two observers down, they will both turn on, and then the bottom observer will cause the sticky piston to 0-tick. The bottom observer will be 0-ticked into the lit top observer, which causes it to arrive lit but not send updates, budding the redstone dust. Finally when the TNT is pushed, the coral breaking will update the budded redstone dust which powers the TNT.

Instead of budding the TNT, you can also BUD redstone dust which will power the TNT directly. One of the most common ways to do this is by 0-ticking a lit observer into another lit observer. When an observer is activated, it schedules a block tick at its current position to turn on. When it turns on, it schedules another block tick at its current position to turn off. Before that second scheduled tick has executed, you can 0-tick another powered observer into the same position, and it will not send updates because it does not change state. The pulse has to be 0 or 1 tick, since a 2-tick pulse would be too slow and the scheduled tick to turn off the observer will execute before the lit observer can arrive. Therefore, the full process is:

  • Push two observers to turn them both on.
  • 0-tick one observer into the other, hopefully from the signal of the observer which makes the wiring simpler.
  • Push the TNT while the observer is budding the redstone dust.
  • Nothing special needs to be done afterwards, since the observer's pulse is always over before the TNT can finish its movement.

Powering redstone dust directly from the moving blocks

[edit | edit source]
๐Ÿ‘ Image
A common way to power redstone dust directly from the piston push that dupes TNT. When the gray block becomes a moving block, the dust will be redirected to go up but will not actually power. To get it to power we use the coral fan breaking, which updates the (now budded) note block, which updates the budded rail, which updates the redstone dust.

Finally, we can attempt to get rid of budding completely and directly turn on a line of redstone dust from the piston push. This doesn't work intuitively, however: Moving blocks do not send block updates soon enough to dupe TNT, which means that even if we set up dust to be un-cut by a moving block, it will turn on too late. Therefore we still need coral to update the dust, which gets budded directly by the moving blocks since they only send shape updates but not block updates. Then, since the coral is too far from the newly budded dust to update it, at least 2 other blocks are needed to chain the update. However, although this sounds complicated, the wiring turns out to be very simple. This style of TNT duper is instant and clocks at maximum speed with minimal build effort, using only 2 pistons and some redstone dust, which makes it useful for when you need a lot of TNT but don't have many resources. The overall process looks like:

  • Push the TNT.
  • Un-cut redstone dust using a moving block at the end of the line of TNT.
  • The dust redirects when it gets un-cut, which BUDs surrounding blocks.
  • Use the coral breaking to update one of the blocks that the dust BUDs. Typically it's simplest to use a note block next to the dust with a sloped rail behind it, because the dust BUDs both blocks, and sloped rails send updates diagonally.
  • Chain that update all the way to the budded redstone dust.
  • The TNT turns on.
  • Remove power from the line of dust before the TNT arrives at the end of its movement, to avoid it all lighting.

TNT duplication layouts

[edit | edit source]

This section will cover the most common types of layouts for duplicating large amounts of TNT. They can be broadly categorized into two groups:

  • Flat dupers, those which store all the TNT on one layer. These tend to be very easy to build and the TNT is very easy to compress into one location.
  • Vertically stacked dupers, those which stack TNT vertically. These are harder to build and compress, but can produce orders of magnitude more TNT and are more space efficient.

Flat dupers with only slime bar compression are limited at 1672 TNT. Any more TNT than that requires additional complexity in the compression, like multiple layers of slime or a conveyor. Vertically stacked dupers, for comparison, are limited at 5852 TNT using only slime bars. That layout is 4 times less wide than the corresponding maxed-out flat duper, meaning that vertically stacked dupers can actually fit 23408 TNT in the same horizontal space. For this reason it is generally best to use a flat duper for small applications, with less than ~20k TNT, but above that it's usually better to switch to vertically stacked dupers.

Flat dupers

[edit | edit source]

2 wide tileable layouts

[edit | edit source]
๐Ÿ‘ Image
A basic 10 TNT coral fan-based duping layout based on budding the TNT by redirecting powered redstone dust, shown being built in 3 steps from left to right.
๐Ÿ‘ Image
An example of a working flat TNT duper based on the dust redirection layout with pistons.

One of the most common flat TNT duping layouts is based around budding TNT using redstone dust redirection. We alternate dust on both sides of the TNT, and BUD conductive blocks above the TNT. This allows the TNT itself to tile 2-wide, since we alternate TNT and wiring.

There are many ways to power the redirection sticky pistons. Most commonly they are powered by a line of redstone blocks that gets pushed, or by a line of redstone dust. The moving redstone block version is about twice as lag efficient on the server since it has less redstone dust power level changes, but it is also about 25% more laggy on the client from all the moving blocks.

3 wide tileable layouts

[edit | edit source]
๐Ÿ‘ Image
A basic 22 TNT observer-based duping layout based on budding redstone dust using moving observers. The yellow terracotta are the blocks that get BUD-powered by the observers.

4 wide tileable layouts

[edit | edit source]

Vertically stacked dupers

[edit | edit source]

2 wide tileable layouts

[edit | edit source]

3 wide tileable layouts

[edit | edit source]

4 wide tileable layouts

[edit | edit source]

TNT compression strategies

[edit | edit source]

Slime bars

[edit | edit source]

TNT-based compression

[edit | edit source]

Conveyors

[edit | edit source]

20 blocks per second

[edit | edit source]

30 blocks per second

[edit | edit source]

Instant conveyors

[edit | edit source]

Navigation

[edit | edit source]
Retrieved from "https://minecraft.wiki/w/Tutorial:Large_scale_TNT_duplication?oldid=3594711"

Navigation menu