Description
## Enderpearl Backport
**Enderpearl Backport** brings modern Ender Pearl mechanics from **Minecraft 1.21.2+** to earlier versions.
The mod focuses on making Ender Pearls behave like in newer vanilla versions — especially in situations where older Minecraft versions fall short.
---
## Features
### Cross-Dimensional Teleportation
Ender Pearls can teleport players **between dimensions**, correctly handling portal transfers.
---
### Chunk Loading While in Flight
Chunks containing flying Ender Pearls are **temporarily force-loaded**, preventing pearls from freezing, despawning, or losing momentum during long-distance or cross-dimensional travel.
---
### Persistent Ender Pearls
If a player logs out while their Ender Pearl is in flight:
- the pearl **"logs out" with player**,
- its exact state (position, velocity, dimension) is saved,
- when the player rejoins, the pearl is **fully restored** and continues flying.
---
### Survives Server Restarts
Active Ender Pearls are saved to world data and are safely restored even after a **full server restart**.
---
## Loader Notes
### Fabric
✔ **Actively maintained**
✔ Uses vanilla `PersistentState` for world-safe data storage
✔ Fully supports modern Ender Pearl mechanics
✔ Versions: **Minecraft 1.20.x – 1.21.x**
### NeoForge
⚠ **Currently uses an older implementation**
⚠ Some newer improvements available on Fabric are **not yet present**
✔ Core features (persistence, teleportation) still work
NeoForge updates are planned, but Fabric currently offers the most complete experience.
---
## Data Storage
- **Fabric:** `world/data/enderpearl_backport.dat`
- **NeoForge:** `config/enderpearlbackport_data.json`