
> ⚠️ **Supported Minecraft version**
> EternalCombat currently supports **Minecraft `1.21.5`** as the latest version.
> We will release a new version **once all required dependencies are updated**.
> This will likely happen within a few days, but **there is no official ETA**.
> ℹ️ [What is ETA?](https://en.wikipedia.org/wiki/Estimated_time_of_arrival)
> 🚨 **Required Plugin: [PacketEvents](https://www.spigotmc.org/resources/packetevents-api.80279/)**
> Starting with this version, EternalCombat **requires the [`PacketEvents`](https://modrinth.com/plugin/packetevents/versions?l=spigot) plugin** to run.
> If you do not install it, **the plugin will fail to start.**
>
> Thanks to this change, **you can now independently update PacketEvents** when a new version is released, without waiting for us to release a new EternalCombat update.
## ✨ Enhancements
* ✅ **[Lands](https://www.spigotmc.org/resources/lands.53313/) plugin support**
Full integration with the [Lands](https://www.spigotmc.org/resources/lands.53313/) plugin for region protection!
* 📦 **Updated all libraries**
Various internal libraries have been updated to their latest stable versions for better stability and compatibility.
## 🐛 Fixes
* 💀 **Fixed head drop logic**
Players now correctly drop their heads again.
* 🧊 **Fixed ender pearl cooldown**
Pearl delay is now consistently applied.
## 👨🏭 Developer API
To use the EternalCombat API, first add the EternalCode repository to your project.
You can find the latest version [here](https://github.com/EternalCodeTeam/EternalCombat/releases/latest).
### 1. Add Repository
**Gradle (Kotlin DSL):**
```kts
maven("https://repo.eternalcode.pl/releases")
```
**Maven:**
```xml
<repository>
<id>eternalcode-reposilite-releases</id>
<url>https://repo.eternalcode.pl/releases</url>
</repository>
```
### 2. Add Dependency
**Gradle:**
```kts
compileOnly("com.eternalcode:eternalcombat-api:2.1.1")
```
**Maven:**
```xml
<dependency>
<groupId>com.eternalcode</groupId>
<artifactId>eternalcombat-api</artifactId>
<version>2.1.1</version>
<scope>provided</scope>
</dependency>
```
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }