> ## Documentation Index
> Fetch the complete documentation index at: https://pumpkings.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# TNT Run: Floor Collapse, Abilities, and Sudden Death

> TNT Run's collapsing floor mechanics, the Jump Feather ability, randomized floor boosters, and the Sudden Death world border that activates at 8 players.

TNT Run challenges players to keep moving across a multi-layered floor made of Sand, Red Sand, Gravel, and TNT blocks. Every block you step on disappears a fraction of a second after you leave it — stand still or lose your footing and you fall to elimination. The last player standing on the floor wins the match.

## How a Round Works

After `/tnt iniciar <template>` clones the arena and teleports everyone in, a **10-second preparation countdown** begins. Players cannot be eliminated during this phase — the block-removal system is paused and an action bar counts down the seconds. When the timer hits zero, the floor starts collapsing.

### Block Removal

The plugin tracks the four corners of each player's bounding box every 2 ticks (approximately 10 times per second). Any Sand, Red Sand, Gravel, or TNT block directly beneath those corners is scheduled for removal after **6 ticks** (\~0.3 seconds). This short delay gives you just enough time to step off before the block disappears. If a TNT block is removed and there is another TNT block directly below it, that lower block is also removed in the same operation.

### Elimination

You are eliminated when your Y position drops to within 2 blocks of the world's minimum height. The plugin checks all alive players every second, so there is a brief grace period between falling through the last layer and being officially eliminated.

## The Jump Feather

At the start of the active phase, every player receives a **Jump Feather** (a Feather item with 3 uses and a 5-second cooldown per use). Right-clicking it launches you upward, giving you a burst of vertical momentum to escape a collapsing section of the floor and land on a still-intact layer above or beside you.

<Note>
  The Jump Feather has 3 charges shown as item count. Once all 3 are used, the item disappears from your inventory. Use them carefully — they do not replenish during the match.
</Note>

## Floor Boosters

During the active game phase, floating item displays appear randomly across the arena floor. Walk into one to collect it instantly — the collection radius is 1.5 blocks. Boosters follow the same gravity logic as the floor blocks and fall if the block beneath them is removed.

| Booster         | Effect                          | Duration       |
| --------------- | ------------------------------- | -------------- |
| Speed I         | Speed I potion                  | 10 seconds     |
| Speed II        | Speed II potion                 | 6 seconds      |
| Speed III       | Speed III potion                | 3.5 seconds    |
| Jump Boost I    | Jump Boost I potion             | 10 seconds     |
| Jump Boost II   | Jump Boost II potion            | 6 seconds      |
| Jump Boost III  | Jump Boost III potion           | 3.5 seconds    |
| Mix             | Speed II + Jump Boost II        | 5 seconds each |
| Salvation Pearl | Adds an Ender Pearl escape item | Instant pickup |

<Tip>
  Higher-tier Speed and Jump boosters are stronger but shorter-lived. Grab a Speed III when you need to clear a large gap quickly, but use it before it runs out.
</Tip>

## Sudden Death

When the alive player count drops to **8 or fewer**, Sudden Death activates:

1. An announcement is broadcast to all alive players and spectators.
2. The world border activates at **80 blocks** centered on the first arena spawn point.
3. The border shrinks by **15 blocks every 30 seconds**, down to a minimum of 10 blocks.
4. Players receive action bar warnings for the final 10 seconds before each border reduction.

<Warning>
  The border does not appear until Sudden Death triggers. Once it activates, it cannot be paused or reversed.
</Warning>

## Arena Setup

<Steps>
  <Step title="Create the arena template">
    Register the Slime world as a run arena. The `name` must match the `.slime` file on disk.

    ```bash theme={null}
    /tnt arena create <name> run
    ```
  </Step>

  <Step title="Add spawn points">
    Stand at each desired starting position and add it. Add multiple spawns so players start spread across the floor.

    ```bash theme={null}
    /tnt arena addspawn <name>
    ```
  </Step>

  <Step title="Start the game">
    Clone the world and begin the match.

    ```bash theme={null}
    /tnt iniciar <name>
    ```
  </Step>
</Steps>
