PayloadLib
Easier approach for Paper servers to send & handle custom payloads, highly optimized and powerful.
- Загрузки
- 75
- Подписчики
- 1
- Обновлён
- 2 июня 2026 г.
- Лицензия
- MIT
Опубликован 12 июля 2025 г.
PayloadLib
Easier approach for Paper servers to send & handle custom payloads, highly optimized and powerful.
Please refer to our GitHub Repository for more information.
Importing
To access the snapshot version of PayloadLib, please add this in your build.gradle:
repositories {
maven {
name = 'Central Portal Snapshots'
url = 'https://central.sonatype.com/repository/maven-snapshots/'
}
}
dependencies {
implementation 'top.nlrdev:payloadlib:0.0.2-SNAPSHOT'
// Optional dependency, providing ByteBuf
implementation 'io.netty:netty-buffer:4.2.14.Final'
}
Embedding this plugin within other plugin JARs is not recommended, as it can lead to various issues.
Supported Data Types
Primitive
| Primitive | Packaged | Array | Unsigned Implementation |
|---|---|---|---|
| boolean | Boolean | Unsupported | None |
| byte | Byte | byte[] | None |
| short | Short | Unsupported | top.nlrdev.payloadlib.types.UnsignedShort |
| char | Character | Unsupported | None |
| int | Integer | Unsupported | None |
| long | Long | Unsupported | None |
| float | Float | Unsupported | None |
| double | Double | Unsupported | None |
Non-Primitive
| Type | PayloadLib |
|---|---|
| String | Unchanged |
| UUID | Unchanged |
org.joml.Vector3f |
Unchanged |
org.joml.Quaternionf |
Unchanged |
| Minecraft (Official) | Minecraft (Yarn) | PayloadLib |
|---|---|---|
net.minecraft.resources.ResourceLocation |
net.minecraft.util.Identifier |
top.nlrdev.payloadlib.types.Identifier |
ByteBufCodecs#VAR_INT |
PacketCodecs#VAR_INT |
top.nlrdev.payloadlib.types.VarInt |
ByteBufCodecs#VAR_LONG |
PacketCodecs#VAR_LONG |
top.nlrdev.payloadlib.types.VarLong |
net.minecraft.world.phys.Vec3 |
net.minecraft.util.math.Vec3d |
org.joml.Vector3d |
net.minecraft.core.BlockPos |
net.minecraft.util.math.BlockPos |
top.nlrdev.payloadlib.types.BlockPos |
License
This mod is licensed under MIT License.
Ченджлог
0.0.2-SNAPSHOT+hotfix.1Бета26.1, 26.1.1, 26.1.2 · 2 июня 2026 г.
A critical bug has been fixed in this release (refer to #1), updating is recommended.
- Fixed potential concurrency issue
The jar file still uses
0.0.2-SNAPSHOTas version to keep consistency with maven repository.
0.0.2-SNAPSHOTБета26.1, 26.1.1, 26.1.2 · 29 мая 2026 г.
Huge improvements, bug fixes and broader version support have arrived in this version!
Extra changes:
- Embedded JOML for 1.18.2 compatibility
0.0.1-SNAPSHOTБета1.21.4, 1.21.5, 1.21.7 · 12 июля 2025 г.
Here comes the first release!
Please notice that this version it not yet stable, and issues may raise.
Комментарии
Загружаем…