Activator Rail

An activator rail is a redstone-controlled track block that triggers specific behaviors in minecarts passing over it. When powered, it ejects passengers from standard minecarts, ignites TNT minecarts, locks hopper minecarts, and repeatedly triggers command block minecarts. When unpowered, it unlocks disabled hopper minecarts so they can collect items again.

Rails & MinecartsBeginnerPiston mechanics

How Activator Rails Work

An activator rail acts both as a track for minecarts and as a redstone mechanism. Its effects apply the instant any part of a minecart touches the rail's space.

When the activator rail is active (powered), it performs the following actions based on the minecart type:

  • Regular Minecarts: The minecart shakes and immediately ejects any riding player or mob. The passenger lands in an adjacent space determined by standard minecart dismount rules.
  • Hopper Minecarts: Disables (locks) the hopper minecart. A disabled hopper minecart stops picking up items in its path and remains locked even after leaving the rail, until it passes over an inactive activator rail or is broken and re-placed.
  • TNT Minecarts: Primes the TNT minecart. Once primed, it explodes after four seconds. The blast power is proportional to the minecart's speed as it crosses the rail.
  • Command Block Minecarts: Triggers the command block inside to run its command once every four game ticks for as long as the minecart remains on the powered rail.

When the activator rail is inactive (unpowered), it acts as a standard straight or sloped track for most carts, with one special interaction:

  • Hopper Minecarts: Enables (unlocks) a previously disabled hopper minecart so it can resume pulling in items.

Powering & Signal Propagation

You can activate an activator rail using any standard redstone power source:

  • An adjacent active power component, such as a redstone_torch, redstone_block, or daylight detector.
  • An adjacent strongly-powered or weakly-powered solid block.
  • A powered redstone_repeater or redstone_comparator facing directly into the rail.
  • Powered redstone_dust that points directly into the rail or is configured as a plus sign (dust pointing in another direction will not power it).

Once powered, an activator rail transmits that activation state to adjacent connected activator rails up to eight rails away from the initial powered rail. By placing a single power source at the center of a straight track, you can power up to 17 rails at once (one original in the middle and eight on either side). Power does not transfer to adjacent rails that are not connected to it.

Placement & Track Orientation

Activator rails require a supporting surface beneath them and cannot float in midair, even if placed via commands. If the block beneath an activator rail is broken, or if a piston pushes the rail into a space without a floor, the rail breaks and drops as an item.

Valid supporting surfaces include:

  • The top of any full solid opaque block (including full-block redstone components like droppers, dispensers, note blocks, command blocks, and redstone lamps).
  • The top of a hopper.
  • The top of an upside-down slab or upside-down stairs.
  • The top of transparent blocks like glass.

Activator rails can only run straight horizontally (north_south or east_west) or slant upward (ascending_north, ascending_south, ascending_east, ascending_west). If a minecart enters an activator rail from the side rather than the open ends, it turns east or south depending on the rail's orientation, or moves downward if the rail is slanted.

Like standard rails, activator rails carry a waterlogged block state and can be submerged without breaking.

Common Redstone Circuits

  • Automatic Mob & Player Unloaders: Place a powered activator rail at destination stations or mob farm drop-offs to automatically dismount villagers, animals, or players without breaking the minecart itself.
  • Selective Hopper Minecart Collection: In large farms, run a hopper minecart over an active activator rail to turn off its item suction while it travels through areas where you do not want it picking up stray drops, then pass it over an unpowered activator rail at the collection zone to re-enable it.
  • Timed TNT Minecart Traps & Cannons: Use an activator rail wired to a detector_rail or tripwire to prime a moving tnt_minecart on a fast track, taking advantage of the four-second fuse and speed-based explosion strength.

Tips & Common Mistakes

  • Activator Rail vs. Powered Rail: An activator rail does not propel minecarts. Moving minecarts actually lose a little velocity when crossing an activator rail, so mix in powered_rail blocks along long stretches to increase speed again.
  • Forgetting to Unlock Hopper Minecarts: A hopper minecart disabled by a powered activator rail stays disabled after leaving the rail. Always include an unpowered activator rail where you want item collection to start again.
  • Unconnected Rails: An activated activator rail only passes power to adjacent activator rails that are connected to it. Parallel tracks running side-by-side will not power each other.

Frequently asked questions

What is the difference between a powered rail and an activator rail?
A powered rail increases a minecart's velocity. An activator rail does not boost speed; instead, it ejects mobs and players, locks or unlocks hopper minecarts, ignites TNT minecarts, and triggers command block minecarts.
How many activator rails can one power source activate?
A single activation source can activate up to 17 connected activator rails: one original rail in the middle and eight connected activator rails on either side.
How do you re-enable a locked hopper minecart?
Run the disabled hopper minecart over an unpowered (inactive) activator rail, or break the hopper minecart and place it back down.
Why doesn't my TNT minecart explode immediately on an activator rail?
An active activator rail primes a TNT minecart to explode after four seconds rather than detonating it instantly. The explosion power is proportional to how fast the minecart was traveling over the rail.

Related components