ModsJava
PayloadLib
PayloadLib Easier approach for Paper servers to send & handle custom payloads, highly optimized and powerful. Please refer to our GitHub Repository for…
⬇ Download on ModrinthPayloadLib
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.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.18.2, 1.19.4, 1.20
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Verified by MCModsHub
- Ships as PayloadLib-0.0.3-SNAPSHOT.jar — drop this file into the mods folder
- Download size: 632 KB
- Download link checked 21 Aug 2026 — working
These come from our own check of the pack file, not from the source page.