Divyanshu Kushwaha

build a datapack for multiplayer servers in which every block we walk on is converted into bedrock. it should not convert water, lava or portal blocks into bedrock.

Kodari AI
KodariNov 9 at 8:57 am 1
BedrockWalker
This datapack transforms every solid block a player walks on into bedrock on multiplayer servers. It detects player movement and replaces the block beneath their feet, excluding water, lava, and portal blocks to preserve fluid mechanics and nether travel. The pack uses advancement triggers and scoreboard tracking to monitor position changes efficiently, ensuring minimal server lag while providing a challenging survival experience where terrain becomes increasingly fortified.
  • Convert the block beneath each player to bedrock.

  • Exclude air, water, lava, and portal blocks.

Created the multiplayer bedrock footsteps datapack. Blocks beneath players become bedrock; air, water, lava, and portal blocks are excluded.

  1. Download the ZIP using the export button.

  2. Extract the bedrock_footsteps folder into world/datapacks/.

  3. Run /reload, then /datapack list to verify it loaded.

  4. Test with /function bedrock_footsteps:tick.

Kodari can make mistakes. Review important code before using.
Files
bedrock_footsteps
Code
4 24
bedrock_footsteps/data/bedrock_footsteps/function/tick.mcfunction
execute as @a at @s unless block ~ ~-0.1 ~ #bedrock_footsteps:excluded run setblock ~ ~-0.1 ~ minecraft:bedrock