Описание
# DeepIn

_Sorry for not updating. I struggled a lot to update to Mojang mappings, and had some personal issues. DeepIn is now on 26.2.x. And updated version for 1.21.11 is also available. Now with folia and forge support._
## What is DeepIn?
DeepIn is a server-side mod that allows you to instamine deepslate and related blocks when using a Netherite pickaxe with Efficiency V and standing within a Haste II beacon area.
## Why use DeepIn?
Tired of how slow deepslate is to mine, even with Efficiency V and Haste II?
DeepIn enhances your mining experience by giving you just the right boost to make deepslate feel as fast as stone, without affecting game balance or requiring client-side mods.
## How to use
- Enchant your Netherite pickaxe with Efficiency V.
- Set up a beacon with Haste II in the area where you want to mine.
- Start mining! The mod will automatically boost your Haste effect to Haste VIII, allowing you to instamine deepslate blocks.
## Presets
- New instamine presets. They allow you to quickly and without touching the config file add instaminable blocks. Use the command `/deepin preset` to manage it.
### Syntax
```
/deepin preset list all presets (on/off)
/deepin preset list same as above
/deepin preset detailed status of a preset
/deepin preset on|off enable/disable
/deepin preset all on|off|reset apply to all presets
/deepin preset reset drop that preset's overrides
/deepin preset set hasteDuration / hasteAmplifier /
efficiencyRequirement / hasteRequirement
/deepin preset add add an id (kind: block|tool)
/deepin preset remove remove an id (kind: block|tool)
```
### Note
- If you update this plugin from a previous version it's recommended to remove the deepslate instamine config on "tools" on the config file
## Advanced
- **`/deepin reload`** reloads the config file.
- **LuckPerms support** (Optional) The mod will work as normal without it.
- `deepin.use` — allows using the instamine feature
- `deepin.reload` — allows `/deepin reload`
- `deepin.preset` — allows `/deepin preset`
- `deepin.bypass.tool` — instamine with any tool
- `deepin.bypass.enchants` — skip the efficiency requirement
- `deepin.bypass.beacon` — skip the beacon requirement
- `deepin.bypass` — bypasses all requirements
## `tuning` options (config, all defaults)
| Key | Default | What it does |
|---|---|---|
| `graceDurationTicks` | 120 (6s) | How long grace haste lasts after leaving a beacon/stopping mining |
| `renewSkipTicks` | 5 | How often the haste effect packet is refreshed while mining |
| `miningTargetTtlTicks` | 40 (2s) | How long a mining target stays "active" after your last hit |
| `beaconScanRange` | 50 | Radius (blocks) searched for beacons |
| `permissionNodePrefix` | `deepin` | Prefix for all permission nodes |
| `geometryCacheTtlTicks` | 4 | How often beacon geometry is recomputed |
| `geometryCacheEvictTicks` | 400 | Idle geometry cache eviction time |
| `searchCooldownTicks` | 40 (2s) | Cooldown between failed beacon searches |
| `cacheSweepIntervalTicks` | 6000 (5min) | Interval of the periodic cache cleanup |