Skip to content
All scripts

Swap Block

BedrockScriptUtility

by butaixianran

Swap Block screenshot 1 of 1

About this script

After breaking a block, automatically replace it with the placeable block held in the player's mainhand, preserving orientation when possible. Useful for creative mode.

Read the author’s full description (33 words)

Written by butaixianran for the MCPEDL post, shown as published.

After breaking a block, automatically replace it with the placeable block held in the player's mainhand, preserving orientation when possible.

Very useful in creative mode, when you are replacing a lot of blocks. 

What’s new in the latest update

The author’s notes for the file uploaded .

* v1.0.1: when broken block is the same block type as the one in hand, won't swap them anymore. 

How to install

  1. Download the file below. On iOS or Android, open it from your Downloads with Minecraft; on Windows, double-click it.
  2. Minecraft imports the pack automatically. Enable it in your world’s settings under Behavior Packs or Resource Packs; an add-on usually needs both.
  3. Playing on a Realm or server? Everyone needs the same packs, and the host has to enable them.
  4. Starting a new world? Choose its seed first: the Seed Map shows villages, structures and biomes near spawn for any Bedrock seed.