HomeJavaModsWalk The Line
Walk The Line
ModsJava

Walk The Line

by PolarbearBytes · on Modrinth

Which Minecraft do you have?

Every version of the game needs its own build. Pick yours, then download — the wrong build installs fine and then does nothing in the game. This mod is built for Fabric only.

⬇ Download for 26.1–26.1.1⬇ Download for 1.21.11⬇ Download for 1.21.9–1.21.10⬇ Download for 1.21.6–1.21.8⬇ Download for 1.21.5⬇ Download for 1.20.6
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
Walk The Line — screenshot 1Walk The Line — screenshot 2

Walk The Line

I Walk The Line! Can you beat minecraft when you are limited to only traveling on a single line?

Once the challenge is started the mod will lock the player to either the X or Z axis. A rotating color line is displayed to show the boundary that the player is restricted to. Color and other options for line are configurable from config screen.

Overworld: Finds the closest stronghold user's current location that the challenge is started. The player is then locked to moving along the axis coordinate that runs through the found stronghold's silverfish spawner and end portal frame

Nether: When entering or exiting the Nether player will be placed at the dimension's relative position, and locked to the same axis as the overworld.

End: The player is locked to 0 on the Z axis, making it intersect with the End Island Portal

Has advancments to help show progression, getting the Slay Dragon advancement frees the player from the line and will be able to move freely after.

OP Commands

  #Enable / disable mod
  /WalkTheLine active [true,false]
  
  #Controls how far side to side player will be able to move
  /walktheline config coordinateTolerance [min:0.5, max:1.5]

  #Controls if players will join the challenge automatically on join, or if they can join it manually by using the start command
  /walktheline config PlayerAutoJoinsChallenge [true, false]

Player Commands

  #When PlayerAutoJoinsChallenge is set to false this allows the player to start the challenge manually 
  /WalkTheLine start

Server / Integrated (single player) Configuration

config/walk-the-line-challenge.json

Parameter Type Description Default
coordinateTolerance Float Side to side distance from the line you can move before pushback is applied 0.5
teleportTolerance Integer Number of blocks away from the line before teleporting you back 2
playerStartsChallengeAutomatically Boolean Players automatically join challenge true
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more