Описание
# Liteminer Extra Shapes
**An addon for [Liteminer](https://modrinth.com/mod/liteminer ) that adds three new powerful mining patterns with full in-game configuration.**
> ⚠️ **Requires [Liteminer](https://modrinth.com/mod/liteminer ) by [iamkaf](https://modrinth.com/user/iamkaf )**
## 🚀 Supported Versions
* **1.21.11**
* **26.1+**
## ✨ New Patterns
### 🟦 Flat Layer
Mines a **horizontal circle** around the target block at the same Y level.
* Configurable radius (default: 10)
* **Same block only** — breaks connected blocks of the same type. Perfect for ore veins
* **All blocks** — breaks everything non-air in the radius. Perfect for clearing flat areas
* Uses circular BFS — always mines the closest blocks first
### 🟧 Wide Tunnel
Mines a **rectangular tunnel** forward in the direction you're facing.
* Configurable width, height and length (odd numbers only, centered on the player)
* Automatically **stops when a full cross-section is air** — no wasted block limit in open caves
* Great for branch mining, road building, and large excavations
### 🟣 Selection
Mark **two points** and mine the entire rectangular zone between them.
* Set points with the **R** key (rebindable) while looking at a block
* Ignores block limit — mines the full zone at once
* In-game GUI shows coordinates, zone size, and lets you reset the selection
## 🛡️ Floor Protection
Added a new **Floor Protection** feature to keep you safe while mining!
* **What it does:** When enabled, the mod will **never break the block directly under your feet**, even if it's part of the mining pattern.
* **Why use it:** Prevents you from accidentally falling into lava or deep pits while clearing large areas or digging tunnels.
* **How to toggle:** Open the main menu (**G**) and click the **[Protect Floor]** button.
## ⚙️ Configuration
Press **G** (rebindable) to open the in-game config menu where you can:
* Configure all three patterns
* Toggle **Floor Protection**
* Adjust the **block break limit** (also controllable via `,` and `.` keybinds)
All keybinds are fully rebindable in **Options → Controls**.
## 🌍 Languages
* 🇬🇧 English
* 🇷🇺 Russian
## 🙏 Credits
Big thanks to **[iamkaf](https://modrinth.com/user/iamkaf )** for creating [Liteminer](https://modrinth.com/mod/liteminer ) and its clean Walker API that made this addon possible.
---
# Liteminer Extra Shapes (RU)
**Аддон для [Liteminer](https://modrinth.com/mod/liteminer ), добавляющий три новых режима копания с полной настройкой в игре.**
> ⚠️ **Требуется [Liteminer](https://modrinth.com/mod/liteminer ) от [iamkaf](https://modrinth.com/user/iamkaf )**
## 🚀 Поддерживаемые версии
* **1.21.11**
* **26.1+**
## ✨ Новые паттерны
### 🟦 Плоский слой
Ломает **горизонтальный круг** вокруг целевого блока на том же уровне Y.
* Настраиваемый радиус (по умолчанию: 10)
* **Только тот же блок** — ломает связанные блоки того же типа. Идеально для рудных жил.
* **Все блоки** — ломает всё, кроме воздуха, в радиусе. Идеально для расчистки площадок.
* Использует круговой BFS — сначала ломает ближайшие блоки.
### 🟧 Широкий тоннель
Копает **прямоугольный тоннель** вперёд в направлении вашего взгляда.
* Настраиваемая ширина, высота и длина (нечётные значения, центрируется по игроку).
* Автоматически **останавливается, если всё сечение — воздух**, чтобы не тратить лимит блоков в пустых пещерах.
* Отлично подходит для создания шахт, дорог и масштабных раскопок.
### 🟣 Выделение
Отметьте **две точки** и сломайте всю прямоугольную зону между ними.
* Устанавливайте точки клавишей **R** (настраиваемо), глядя на блок.
* Игнорирует лимит блоков — ломает всю зону сразу.
* В меню отображаются координаты, размер зоны и кнопка сброса.
## 🛡️ Защита пола
Добавлена новая функция **Защита пола**, чтобы ваше копание было безопасным!
* **Что делает:** Если включено, мод **никогда не сломает блок прямо под вашими ногами**, даже если он попадает в зону действия паттерна.
* **Зачем это нужно:** Защищает от случайного падения в лаву или глубокие ямы при расчистке территорий или копании тоннелей.
* **Как включить:** Откройте главное меню (**G**) и нажмите кнопку **[Защита пола]**.
## ⚙️ Настройка
Нажмите **G** (настраиваемо), чтобы открыть меню конфигурации, где можно:
* Настроить все три паттерна.
* Включить/выключить **Защиту пола**.
* Изменить **лимит ломаемых блоков** (также доступно через клавиши `,` и `.` в игре).
Все клавиши можно переназначить в **Настройки → Управление**.
## 🌍 Языки
* 🇬🇧 English
* 🇷🇺 Russian
## 🙏 Благодарности
Огромное спасибо **[iamkaf](https://modrinth.com/user/iamkaf )** за создание [Liteminer](https://modrinth.com/mod/liteminer ) и его удобного Walker API, благодаря которому стал возможен этот аддон.