Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Next-gen zero-allocation packet framework for Paper 1.21+. High-performance Kotlin alternative to ProtocolLib.
๐ Slipstream Engine v2.0.0: The Type-Safe & Zero-Allocation Update
We are thrilled to announce Slipstream v2.0.0, our biggest architectural update yet. This release completely transforms how developers interact with NMS packets, introducing an elegant, 100% type-safe API with absolutely zero runtime overhead.
โจ Key Features & Major Changes
- ๐๏ธ Multi-Module Architecture & Code Generation
Slipstream now dynamically scans NMS classes during compilation to generate over 500+ highly optimized
@JvmInline value classwrappers. This isolates the core logic from Minecraft internals and guarantees compatibility. - ๐ก๏ธ The
wrapAs<T>()Revolution We replaced the globalAny.isPacket()extensions with a single, elegantwrapAs<T>()inline function. It uses Kotlin'sreifiedtypes to cast packets safely in one line:
Zero overhead, zero global namespace pollution.packet.wrapAs<WrapperServerboundMovePlayerPacket>()?.let { move -> println("Player moved to ${move.pos.x}") } - ๐ฆ Zero-Allocation Nested Structures
Our value-class wrappers now extend to internal NMS types! Methods returning
BlockPos,Vec3, orItemStacknow return generatedWrapperBlockPosandWrapperVec3instead of rawAny. No heap allocations, maximum speed. - ๐พ Java Records Support (1.20+)
Modern Minecraft packets are heavily based on Java Records. Slipstream now natively supports them. Instead of setters, immutable packets now receive a
.copy()method (just like Kotlin data classes) powered by cachedMethodHandles. - ๐ช Mutable Setters
For legacy/mutable packets, we automatically generate high-performance setters using
MethodHandles.lookup().unreflectSetter().
๐ Documentation Update
The entire project documentation has been rewritten from scratch. Check out the updated API Guide and Architecture Breakdown on our GitHub repository.
๐ ๏ธ For Plugin Developers (JitPack)
Using Slipstream as an API has never been easier. Thanks to the multi-module setup, you only need to depend on the core module; all generated wrappers are pulled automatically:
implementation("com.github.ClCody.Slipstream:slipstream-core:2.0.0")
Information
| Published on | June 4, 2026 |
|---|---|
| Downloads | 1 |
Platforms
Paper (1.21-1.21.11)