> For the complete documentation index, see [llms.txt](https://daikirai.gitbook.io/scripting/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://daikirai.gitbook.io/scripting/player/autoblockin.md).

# AutoBlockin

Use it when you want cover while you approach or break a bed without placing each block by hand.

## Control the placement

`Delay` sets the time between placement attempts. Lower values place more often. A starting value of `0.5 ticks` keeps the delay short without making the placement instant.

Turn on `Only while middle clicking` if you want AutoBlockin to work only while you hold the middle mouse button. `Silent aim` uses the correct placement angle without moving your visible camera.

{% hint style="success" %}
**Legit setup**

For manual control, use `0.5 ticks` with `Only while middle clicking`, `Silent aim`, `Prioritize stronger blocks`, and `Skip near bed` enabled. This lets you decide when blocking starts while the module handles the placement angle and block choice.
{% endhint %}

## Choose the blocks and positions

`Prioritize stronger blocks` makes the module choose stronger blocks, such as obsidian or wood, before weaker blocks. `Skip near bed` leaves positions directly beside the target bed open. This can stop the block-in from obstructing the bed.

`Disable obsidian` removes obsidian from the blocks AutoBlockin can place. `Disable in creative` stops the module in Creative mode.

## Show placement feedback

`Show percentage` displays the block-in progress. `Silent swing` places blocks without showing the arm swing.

## Related modules

* [BedAura](/scripting/player/bedaura.md)
